@ngx-pwa/local-storage
Advanced tools
Changelog
13.0.6 (2022-12-16)
peerDependencies
restricted to Angular 13 and 14. Version 15 has been released for Angular 15.
Changelog
13.0.2 (2021-11-23)
Fix schematic for "ng add" for Angular 13.
Changelog
13.0.0 (2021-11-04)
Supports and requires Angular 13.
For some reasons, Angular 13 supports both RxJS >= 6.5.3 or >= 7.4. It can be difficult for library authors to support multiple versions at the same time.
So while for now the library still allows RxJS 6 in its peerDependencies
as CI tests seem to be fine, be aware we do not guarantee RxJS 6 support. v13 of the library is built with RxJS 7, and you should upgrade your app to RxJS >= 7.4 too.
Angular 13 dropped Internet Explorer support, and so this library too.
Changelog
12.1.0 (2021-08-05)
Allow RxJS 7 in peerDependencies, to align with Angular 12.2.
Note that Angular and this library are still built with RxJS 6, so while the tests with RxJS 7 seem to pass, be cautious if you want to upgrade RxJS right now without waiting for Angular 13.
While it may still work, Angular 9 LTS has ended, so it is not officially supported anymore.
Changelog
12.0.0 (2021-05-13)
ng update @ngx-pwa/local-storage
A full migration guide to version 12 is available.
If you did not update to version 9 yet, be sure to follow the migration guide, as otherwise you could lose all previously stored data.
Supports and requires Angular 12.
Incorrect typings that were deprecated in v11 for .get()
and .watch()
are now removed:
this.storage.get<User>('user')
(add a JSON schema or remove the cast)this.storage.get('user', { type: 'object' })
(cast is required in addition to the JSON schema for non-primitive types)this.storage.get<number>('name', { type: 'string' })
(and all other primitive mismatches)See the migration guide for v11 for detailed instructions.
Angular 2-8 internal engine was named ViewEngine. It was replaced automatically by a new engine called Ivy in Angular 9.
While Angular 9-11 still allowed to manually switch back to ViewEngine, Angular 12 has removed ViewEngine support. So now libraries are compiled directly for Ivy.
Angular 12 deprecates IE 11 support. Meaning it is still supported, but it will be removed in version 13.