Releases: bohoffi/ngx-localstorage
Releases · bohoffi/ngx-localstorage
6.0.0
5.1.0
5.0.0
4.0.0
Features
- subscibe directly to
LocalStorageService
to obtainStorageEvent
stream (9125a8b) - library errors will be emitted through service stream (c34359b)
- abort initialization when storage is not available (13d68ee)
- expose
STORAGE_SUPPORT
token (4f2659d)- check storage availability before actually using the library
- add
serializer
to decorator options (defaults toDefaultSerializer
) (57f00ca) - use
DefaultSerializer
by default (3e77633)
BREAKING CHANGES
- library now utilizes SCAM (6ee4690)
- removed
NgxLocalStorageModule
- added
NgxLocalstorageDirectiveModule
- Configuration has to be provided by InjectionToken
- removed
- update configuration and decorator options (0d36315)
- removed
storage: Storage
- added
storageType: 'localStorage' | 'sessionStorage'
- removed
- removed
StorageEventService
(9125a8b)- Storage events can now bo obtained by subscribing to
LocalStorageService
directily viasubscribe
- Storage events can now bo obtained by subscribing to
- update properties in
LocalStorageDirective
(c3b7d48)- remove
ls
prefix
- remove
- drop decorator support in favor of directive (2681110)
Full Changelog: 3.5.0...4.0.0
3.5.0
3.4.0
3.3.1
3.3.0
Features
- Service
- Adds the possibility to use sessionstorage instead of localstorage (thanks to @vladimirstempel)
- default storage will stay localstorage
- set via module configuration
- Adds the possibility to use sessionstorage instead of localstorage (thanks to @vladimirstempel)