@ngx-pwa/local-storage
Advanced tools
Changelog
7.2.0 (2018-11-27)
Map
-like API:
.keys()
method.has(key)
method.size
propertyIn v7.2, has()
and keys()
were not supported in Internet Explorer. Update to v7.4.
Do not use: it is deprecated in v8.
See documentation.
One of the features released in 7.1 caused an unforeseen critical regression. As it concerned only a minor feature introduced in 7.1, released only 4 days ago (so probably no one is using it yet), decision has been made to do an exceptional breaking change of this just released minor feature, before it was too late.
keys()
is now returning Observable<string[]>
(returning directly an array with all keys)
instead of Observable<string>
(it was iterating over the keys).Documentation has been updated accordingly.
Changelog
7.1.0 (2018-11-23) & 7.1.1 (2018-11-26)
These releases have been deprecated due to a critical regression.
Changelog
7.1.0 (2018-11-23) & 7.1.1 (2018-11-26)
These releases have been deprecated due to a critical regression.
Changelog
7.0.0 (2018-10-19)
JSONSchemaConst
JSONSchemaEnum
JSONSchemaString
JSONSchemaNumeric
(deprecated in v8)JSONSchemaBoolean
JSONSchemaArray
JSONSchemaObject
See the full validation guide for more info.
A migration guide to version 7 is available.
Be sure to read it before upgrading, as v7 introduces an important major change.
Validation of data is now required when using getItem()
:
getItem<string>('test', { schema: { type: 'string' } })
: no change
getItem<string>('test')
: now returns the new TypeScript 3 unknown
type instead of any
, requiring from you to check the data manually
Migration is not urgent: while you manage this breaking change, you can just upgrade to v6.2.0, which is compatible with Angular 7.
Changelog
6.2.0 (2018-10-19)
peerDependencies