Skip to content

4.0.0

Compare
Choose a tag to compare
@bohoffi bohoffi released this 24 Oct 12:29
· 97 commits to develop since this release

Features

  • subscibe directly to LocalStorageService to obtain StorageEvent 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 to DefaultSerializer) (57f00ca)
  • use DefaultSerializer by default (3e77633)

BREAKING CHANGES

  • library now utilizes SCAM (6ee4690)
    • removed NgxLocalStorageModule
    • added NgxLocalstorageDirectiveModule
    • Configuration has to be provided by InjectionToken
  • update configuration and decorator options (0d36315)
    • removed storage: Storage
    • added storageType: 'localStorage' | 'sessionStorage'
  • removed StorageEventService (9125a8b)
    • Storage events can now bo obtained by subscribing to LocalStorageService directily via subscribe
  • update properties in LocalStorageDirective(c3b7d48)
    • remove ls prefix
  • drop decorator support in favor of directive (2681110)

Full Changelog: 3.5.0...4.0.0