Skip to content

V21 - #23

Merged
oleg-wx merged 29 commits into
masterfrom
v21
Oct 19, 2026
Merged

V21#23
oleg-wx merged 29 commits into
masterfrom
v21

Conversation

@oleg-wx

@oleg-wx oleg-wx commented Oct 19, 2026

Copy link
Copy Markdown
Owner

No description provided.

oleg-wx and others added 29 commits July 31, 2026 13:08
- Move TranslateProxy, schema API and per-proxy loader to the new
  simply-translate-angular-proxy library (projects/proxy)
- Bump simply-translate-angular to 1.0.0 and require simply-translate 1.0.0
- Fix deep import of simply-translate internals blocked by its v1 exports map
- Move release notes from READMEs into per-package CHANGELOG.md files
- Fix and update the translate, proxy and root READMEs
- Add per-package build/test/publish scripts
- Add Test and Publish GitHub workflows (npm trusted publishing, tag
  <package name>@<version> selects the package)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
master's tree equals e500e61, which this branch already contains, so
this branch's content is kept as is.
- Add provideTranslate() with withConfig/withDictionaries/withLoader/
  withMiddleware/withOnReady features, provideTranslateChild(),
  withTranslateChild() and translateChildResolver; pipes and directive
  are standalone and exported as TRANSLATE_IMPORTS
- Deprecate TranslateModule.forRoot()/forChild(); both now delegate to
  the new providers
- Loaders may return an Observable, Promise or plain object; only the
  first result is used and an empty loader contributes {} instead of
  failing startup or navigation
- Child scopes load dictionaries per language, reload when the language
  changes and retry a failed load on the next navigation
- Root guard is dev-only and not applied to forRoot(), so importing
  forRoot() in a lazy module keeps working
- Fix forChild({ extend }) receiving { lang, fallbackLang } instead of
  the TranslateService
- Fix scoped TranslateService throwing when no dictionary exists for
  the current language
- Keep TranslateChildConfig.loadDictionaries' 0.21 public signature
@oleg-wx
oleg-wx merged commit 11cc224 into master Oct 19, 2026
1 of 3 checks passed
@oleg-wx
oleg-wx deleted the v21 branch October 19, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant