Releases: ngx-translate/core
Releases · ngx-translate/core
v16.0.3
Documentation and Guides
Features
- core: Support for Standalone components in Angular:
TranslatePipe
,TranslateDirective
, are now stand alone- Introduced
provideTranslateService()
to initialise ngx-translate
- core: Parameters and return values now have explicit types instead of
any
. Due to TypeScript
limitations,any
is still partially required in recursive type definitions. - core: Introduced
_(id)
to tag translations for automated extraction from source code. - core/http-loader: Resolved ESLint warnings, improved overall code quality.
- core/http-loader: Enhanced documentation available at ngx-translate.org.
- core/http-loader: Set MIT License for npm modules.
- core/http-loader: Implemented GitHub Actions for continuous integration.
Fixes
- core: The
use()
function now reliably sets the last requested language. - core: Improved the
get()
,stream()
, getStreamOnTranslationChange methods to recursively process and interpolate results.
Deprecations
- core:
getTranslation()
is now deprecated
v15.0.0
15.0.0 (2023-05-09)
Features
- core/http-loader: add support for Angular v16
- core/http-loader: the code for both core & http-loader is now managed with Bit
BREAKING CHANGES
- core/http-loader: ngx-translate is now built for Angular 16, if you use Angular 15 or below please refer to the compatibility table to know which version you can install.
v14.0.0
14.0.0 (2021-11-08)
Features
- core/http-loader: add support for Angular v13 and RxJS 7 (3a4c7ee), closes #1345
- http-loader: the code for http-loader has been moved to this repository
BREAKING CHANGES
- core/http-loader: ngx-translate is now built for Angular 13, if you use Angular 12 or below please refer to the compatibility table to know which version you can install.
The library is now distributed only for ivy as the view engine is no longer supported by Angular.
v13.0.0
13.0.0 (2020-06-26)
Features
BREAKING CHANGES
- core: ngx-translate is now built for Angular 10, if you use Angular 9 or below please refer to the compatibility table to know which version you can install
v12.1.2
v12.1.1
v12.1.0
12.1.0 (2020-02-12)
Bug Fixes
- build: disable ivy during lib compilation for v8 compatibility (7241c86)
- directive: avoid recursive errors when using keys with whitespaces (24b7b2b), closes #998 #1153 #1163
- directive: untranslated keys return the last cumputed value (#1167) (34e8add), closes #1164
- module: add
TranslateModule
type toModuleWithProviders
(60d256e)
Features
v12.0.0
12.0.0 (2020-02-05)
Bug Fixes
- directive: trim white spaces to find matching keys (35427b0), closes #998
- pipe: handle non string input (#893) (9ff74dc)
- service: check whether browserLang is undefined (#1007) (3e0aebb)
- service: make initial translation streaming lazy (#960) (1c78cf3), closes #815
Features
- core: add option for lazy loaded modules to extend translations (6b675d6), closes #425
- core: upgrade dependencies for Angular v8+ (#1094) (9a721f5)
- service: add
getStreamOnTranslationChange
method (ef48ea8) - service: allow empty default language string (#972) (94bdc0d), closes #971
BREAKING CHANGES
- core: Angular v8+ is now required
v11.0.1
v11.0.0
11.0.0 (2018-10-24)
Features
- ngx-translate: upgrade to Angular 7 (1e943d2)
BREAKING CHANGES
- ngx-translate: ngx-translate is now built for Angular 7, if you use Angular 6 or below please refer to the compatibility table to know which version you can install