ngx-webstorage-service
Advanced tools
Changelog
4.0.0 (2019-02-21)
SESSION_STORAGE
and LOCAL_STORAGE
self providing in the root injector (8786c26)SESSION_STORAGE
and LOCAL_STORAGE
injection tokens are no longer part of the StorageServiceModule
(now deprecated). Instead they are now self providing in the root injector, which makes them true singleton services. Before multiple instances of these services could exist when lazy loaded routes were used. In practice, however, this change probably doesn't require any modifications to your codebase.@angular/core
has been updated to >=7.0.0
<a name="3.1.3"></a>
Changelog
3.0.0 (2018-04-30)
standard-version
(6a0142a)StorageService.get(key)
will now return undefined
instead of null
when no entry exists for the specified key.StorageService
interface now expects a type parameter T
, which represents the type of values that can be stored and retrieved.
By default the storage services use the JSON transcoder, which supports any type of value (as long as it can be JSON encoded).
Therefore the type parameter T
of StorageService
defaults to any
, so the introduction of this parameter should not break existing code.bundles/ngx-webstorage-service.js
-> esm2015/ngx-webstorage-service.js
bundles/ngx-webstorage-service.es5.js
-> esm5/ngx-webstorage-service.js
bundles/ngx-webstorage-service.umd.js
-> (location is unchanged)<a name="2.0.0"></a>
Changelog
2.0.0 (2017-12-03)
angular-webstorage-service
to ngx-webstorage-service
(2f72618)'angular-webstorage-service'
to 'ngx-webstorage-service'
.bundles/angular-webstorage-service.js
-> bundles/ngx-webstorage-service.js
bundles/angular-webstorage-service.es5.js
-> bundles/ngx-webstorage-service.es5.js
bundles/angular-webstorage-service.umd.js
-> bundles/ngx-webstorage-service.umd.js
<a name="1.0.2"></a>