@ngx-pwa/local-storage
Advanced tools
Changelog
6.0.0 (2018-07-26)
New JSON Schema validation options supported (see #18 for the full list).
localStorageProviders({ prefix: 'myapp' })
to avoid collision in multiple apps on same subdomain
A migration guide is available to ease the update. It is just a couple of refactorings. (If you want to contribute, it could be automated.)
AsyncLocalStorage
removed, renamed to LocalStorage
.AsyncLocalDatabase
removed, renamed to LocalDatabase
.ALSGetItemOptions
removed, renamed to LSGetItemOptions
.LocalStorageModule
LocalStorageModule
no longer needed and so removed. You must delete the import in your AppModule
.
type
.JSONSchemaType
has been removed. It should very unlikely concern you, it was an internal type.Changelog
6.0.0-rc.2 (2018-07-23)
Changelog
6.0.0-rc.1 (2018-07-11)
localStorageProviders({ prefix: 'myapp' })
feature was adding the prefix twice.prefix
option above,
your app will restart from empty data.
If you want to keep your previous data, double the prefix, for example: localStorageProviders({ prefix: 'myapp_myapp' })