Skip to content

chore(deps): bump @ngx-translate/core from 17.0.0 to 18.0.0#2425

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/ngx-translate/core-18.0.0
Open

chore(deps): bump @ngx-translate/core from 17.0.0 to 18.0.0#2425
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/ngx-translate/core-18.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 15, 2026

Copy link
Copy Markdown
Contributor

Bumps @ngx-translate/core from 17.0.0 to 18.0.0.

Release notes

Sourced from @​ngx-translate/core's releases.

v18.0.0

@ngx-translate/core@18.0.0 and @ngx-translate/http-loader@18.0.0 are now stable on npm (latest).

v18 is the major API-cleanup release: standalone providers everywhere, signal-based internals, the defaultfallback 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.

Highlights

  • Standalone-first setup. TranslateModule is gone — use provideTranslateService() / provideChildTranslateService() (works in standalone and NgModule apps).
  • New *translateBlock="let t" structural directive for cleaner template translations.
  • New isLoading: Signal<boolean> — true while any use() load is in flight; read it for language-switching spinners.
  • Isolated subtrees are now truly isolated — own events, lookups, and language state.
  • Angular 18–22 supported (16 and 17 dropped); built and tested against Angular 18/19/20/21/22.

Breaking changes — required edits

TranslateModule removed. Replace TranslateModule.forRoot({...}) / forChild({...}) with provideTranslateService({...}) / provideChildTranslateService({...}). The pipe, directive, and service are standalone.

Deprecated default* symbols removed — rename:

Removed Replacement
defaultLang fallbackLang
setDefaultLang() setFallbackLang()
getDefaultLang() getFallbackLang()
onDefaultLangChange onFallbackLangChange
DefaultLangChangeEvent FallbackLangChangeEvent
langs getLangs()
setValue() (util) insertValue()

Also removed: useDefaultLang and defaultLanguage config fields (along with TranslateModule).

Deprecated (still works, warns once): using element text content as a key (<span translate>Hello</span>). Use [translate]="'KEY'", the translate pipe, or *translateBlock. It will be removed next major.

Potentially breaking — low impact (behavior changes)

  • A failed use() no longer mutates state. On loader failure, currentLang() / lastUseLanguage stay at the prior value instead of switching to the failed language. Use isLoading() or the returned Observable's error channel to drive switching UI.
  • Isolated subtrees no longer see ancestor translationChange$ events, nor borrow keys from outer scopes. Isolation now means own events + own lookups + own language state. If you wanted shared translations with subtree-scoped state, use provideChildTranslateService({ extend: true }).
  • instant() "unloaded language" warning is deduplicated per isolated subtree (was once per service instance).
  • ITranslateService gains isLoading: Signal<boolean>. If you mock it via implements/extends ITranslateService, add isLoading = signal(false).asReadonly(). See the "Mocking TranslateService" recipe in the README.
  • Loader errors are now logged instead of silently swallowed.

Migration

Full step-by-step guide: https://ngx-translate.org → Getting Started → Migration Guide.


Angular compatibility: 18, 19, 20, 21, 22 · TypeScript: 6.0 · RxJS: ≥7

v18.0.0-rc.1

... (truncated)

Commits
  • d42c871 chore: bump version to 18.0.0
  • 28a9649 fix(core): child get() awaits in-flight load; reactivity + test hardening
  • 2542123 ci: drop Node 20 from Angular 22 matrix, point compat 21 at a21
  • 8dc4423 chore(core): extend compat matrix to Angular 22, add a21, drop a16
  • f34c2ad chore(core): upgrade workspace to Angular 22 + TypeScript 6.0
  • 3b40d61 chore: bump version to 18.0.0-rc.3
  • 351a147 docs: prettier-reformat providers-and-scoping proposal
  • b5075d0 style: prettier reformat across http-loader, test-app, and lockfile
  • cd64249 feat(core): isLoading hierarchy, use() rollback, getRoot/getParent API
  • d3b8e39 test: silence intentional console.warn noise in passing tests
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file npm npm package updates (e.g. dependabot) labels Jun 15, 2026
@dependabot dependabot Bot requested a review from a team as a code owner June 15, 2026 18:32
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file npm npm package updates (e.g. dependabot) labels Jun 15, 2026
@github-actions github-actions Bot enabled auto-merge June 15, 2026 18:32
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/ngx-translate/core-18.0.0 branch 2 times, most recently from b70e96d to 2806e36 Compare June 15, 2026 18:57
Bumps [@ngx-translate/core](https://github.com/ngx-translate/core) from 17.0.0 to 18.0.0.
- [Release notes](https://github.com/ngx-translate/core/releases)
- [Commits](ngx-translate/core@v17.0.0...v18.0.0)

---
updated-dependencies:
- dependency-name: "@ngx-translate/core"
  dependency-version: 18.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/ngx-translate/core-18.0.0 branch from 2806e36 to 49d077b Compare June 15, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file npm npm package updates (e.g. dependabot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants