dependabot[bot] opened a new pull request, #131:
URL: https://github.com/apache/fineract-backoffice-ui/pull/131

   Bumps [@ngx-translate/http-loader](https://github.com/ngx-translate/core) 
from 17.0.0 to 18.0.0.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/ngx-translate/core/releases";>@​ngx-translate/http-loader's
 releases</a>.</em></p>
   <blockquote>
   <h2>v18.0.0</h2>
   <p><code>@ngx-translate/[email protected]</code> and 
<code>@ngx-translate/[email protected]</code> are now stable on npm 
(<code>latest</code>).</p>
   <p>v18 is the <strong>major API-cleanup release</strong>: standalone 
providers everywhere, signal-based internals, the <code>default</code> → 
<code>fallback</code> rename finalized, and the deprecated surface removed. It 
also resolves three long-standing semantic gotchas and baselines the workspace 
on Angular 22 / TypeScript 6.0.</p>
   <h2>Highlights</h2>
   <ul>
   <li><strong>Standalone-first setup.</strong> <code>TranslateModule</code> is 
gone — use <code>provideTranslateService()</code> / 
<code>provideChildTranslateService()</code> (works in standalone <em>and</em> 
NgModule apps).</li>
   <li><strong>New <code>*translateBlock=&quot;let t&quot;</code> structural 
directive</strong> for cleaner template translations.</li>
   <li><strong>New <code>isLoading: Signal&lt;boolean&gt;</code></strong> — 
true while any <code>use()</code> load is in flight; read it for 
language-switching spinners.</li>
   <li><strong>Isolated subtrees are now truly isolated</strong> — own events, 
lookups, and language state.</li>
   <li><strong>Angular 18–22 supported</strong> (16 and 17 dropped); built and 
tested against Angular 18/19/20/21/22.</li>
   </ul>
   <h2>Breaking changes — required edits</h2>
   <p><strong><code>TranslateModule</code> removed.</strong> Replace 
<code>TranslateModule.forRoot({...})</code> / <code>forChild({...})</code> with 
<code>provideTranslateService({...})</code> / 
<code>provideChildTranslateService({...})</code>. The pipe, directive, and 
service are standalone.</p>
   <p><strong>Deprecated <code>default*</code> symbols removed — 
rename:</strong></p>
   <table>
   <thead>
   <tr>
   <th>Removed</th>
   <th>Replacement</th>
   </tr>
   </thead>
   <tbody>
   <tr>
   <td><code>defaultLang</code></td>
   <td><code>fallbackLang</code></td>
   </tr>
   <tr>
   <td><code>setDefaultLang()</code></td>
   <td><code>setFallbackLang()</code></td>
   </tr>
   <tr>
   <td><code>getDefaultLang()</code></td>
   <td><code>getFallbackLang()</code></td>
   </tr>
   <tr>
   <td><code>onDefaultLangChange</code></td>
   <td><code>onFallbackLangChange</code></td>
   </tr>
   <tr>
   <td><code>DefaultLangChangeEvent</code></td>
   <td><code>FallbackLangChangeEvent</code></td>
   </tr>
   <tr>
   <td><code>langs</code></td>
   <td><code>getLangs()</code></td>
   </tr>
   <tr>
   <td><code>setValue()</code> (util)</td>
   <td><code>insertValue()</code></td>
   </tr>
   </tbody>
   </table>
   <p>Also removed: <code>useDefaultLang</code> and 
<code>defaultLanguage</code> config fields (along with 
<code>TranslateModule</code>).</p>
   <p><strong>Deprecated (still works, warns once):</strong> using element text 
content as a key (<code>&lt;span translate&gt;Hello&lt;/span&gt;</code>). Use 
<code>[translate]=&quot;'KEY'&quot;</code>, the <code>translate</code> pipe, or 
<code>*translateBlock</code>. It will be removed next major.</p>
   <h2>Potentially breaking — low impact (behavior changes)</h2>
   <ul>
   <li><strong>A failed <code>use()</code> no longer mutates state.</strong> On 
loader failure, <code>currentLang()</code> / <code>lastUseLanguage</code> stay 
at the prior value instead of switching to the failed language. Use 
<code>isLoading()</code> or the returned Observable's error channel to drive 
switching UI.</li>
   <li><strong>Isolated subtrees no longer see ancestor 
<code>translationChange$</code> events, nor borrow keys from outer 
scopes.</strong> Isolation now means own events + own lookups + own language 
state. If you wanted shared translations with subtree-scoped state, use 
<code>provideChildTranslateService({ extend: true })</code>.</li>
   <li><strong><code>instant()</code> &quot;unloaded language&quot; warning is 
deduplicated per isolated subtree</strong> (was once per service instance).</li>
   <li><strong><code>ITranslateService</code> gains <code>isLoading: 
Signal&lt;boolean&gt;</code>.</strong> If you mock it via 
<code>implements</code>/<code>extends ITranslateService</code>, add 
<code>isLoading = signal(false).asReadonly()</code>. See the &quot;Mocking 
TranslateService&quot; recipe in the README.</li>
   <li>Loader errors are now <strong>logged</strong> instead of silently 
swallowed.</li>
   </ul>
   <h2>Migration</h2>
   <p>Full step-by-step guide: <strong><a 
href="https://ngx-translate.org";>https://ngx-translate.org</a></strong> → 
Getting Started → <a 
href="https://ngx-translate.org/getting-started/migration-guide/#_top";>Migration
 Guide</a>.</p>
   <hr />
   <p><strong>Angular compatibility:</strong> 18, 19, 20, 21, 22 · 
<strong>TypeScript:</strong> 6.0 · <strong>RxJS:</strong> ≥7</p>
   <h2>v18.0.0-rc.1</h2>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/ngx-translate/core/commit/d42c87169c4285acbc67b0f98a93874b6c9b36bd";><code>d42c871</code></a>
 chore: bump version to 18.0.0</li>
   <li><a 
href="https://github.com/ngx-translate/core/commit/28a9649d126b8be9dfe910bf24dbce248e075627";><code>28a9649</code></a>
 fix(core): child get() awaits in-flight load; reactivity + test hardening</li>
   <li><a 
href="https://github.com/ngx-translate/core/commit/254212379b37ec3f25f9d6ce5d4935bf6006a577";><code>2542123</code></a>
 ci: drop Node 20 from Angular 22 matrix, point compat 21 at a21</li>
   <li><a 
href="https://github.com/ngx-translate/core/commit/8dc4423cab3c59b60c8b726316a959657b33a960";><code>8dc4423</code></a>
 chore(core): extend compat matrix to Angular 22, add a21, drop a16</li>
   <li><a 
href="https://github.com/ngx-translate/core/commit/f34c2addc2f9633619c849424362bb19245c2bca";><code>f34c2ad</code></a>
 chore(core): upgrade workspace to Angular 22 + TypeScript 6.0</li>
   <li><a 
href="https://github.com/ngx-translate/core/commit/3b40d61f44067ae46a49f0782f4650e13ede970f";><code>3b40d61</code></a>
 chore: bump version to 18.0.0-rc.3</li>
   <li><a 
href="https://github.com/ngx-translate/core/commit/351a147445baa8270bd863b8979a64a39f447860";><code>351a147</code></a>
 docs: prettier-reformat providers-and-scoping proposal</li>
   <li><a 
href="https://github.com/ngx-translate/core/commit/b5075d09e83d42363a2ad1c6b649ac5133e3b7cb";><code>b5075d0</code></a>
 style: prettier reformat across http-loader, test-app, and lockfile</li>
   <li><a 
href="https://github.com/ngx-translate/core/commit/cd642499273e0fa2e95c4956a161bee1f927c013";><code>cd64249</code></a>
 feat(core): isLoading hierarchy, use() rollback, getRoot/getParent API</li>
   <li><a 
href="https://github.com/ngx-translate/core/commit/d3b8e39ada7ff11d4cb6daef279fdb355d79f922";><code>d3b8e39</code></a>
 test: silence intentional console.warn noise in passing tests</li>
   <li>Additional commits viewable in <a 
href="https://github.com/ngx-translate/core/compare/v17.0.0...v18.0.0";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@ngx-translate/http-loader&package-manager=npm_and_yarn&previous-version=17.0.0&new-version=18.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot show <dependency name> ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to