Skip to content

Latest commit

 

History

History
149 lines (98 loc) · 4.33 KB

CHANGELOG.md

File metadata and controls

149 lines (98 loc) · 4.33 KB

3.3.1 (2021-05-07)

Bug fixes

  • StorageService
    • incorrect remove call in set with nullish value (#40)

3.3.0 (2021-02-26)

Features

  • Service
    • Adds the possibility to use sessionstorage instead of localstorage (thanks to @vladimirstempel)
      • default storage will stay localstorage
      • set via module configuration

3.2.1 (2020-11-06)

Bug fixes

  • Module
    • add support for submodules and lazy-loaded submodules (#32)

3.2.0 (2020-10-06)

Features

  • Framework
    • Updates compatibility to Angular v10.x

3.1.0 (2020-03-15)

Features

  • Framework
    • Updates compatibility to Angular v9.x

3.0.0 (2020-03-08)

Features

  • Service
    • the service is now fed by a default (de)serializer using JSON.stringify()/JSON.parse()

Breaking changes

  • Service
    • the service is now using a default (de)serialization mechanism (mentioned above) (#24) (fd5feca)
    • depending on your prior usage it may break your code
    • it's possible to either inject an app wide (de)serializer or use one per storage call (see README)

2.4.1 (2020-02-29)

Bug fixes

  • Service
    • Service use configured prefix if set (#21)

2.4.0 (2019-08-19)

Features

  • Configuration
    • Allow usage without key prefix

Changes

  • Angular
    • Added back schematics support

2.3.0 (2018-12-18)

Changes

  • Angular
    • Removed schematics support
    • updated compatibility to Angular >=4.0.0

2.2.1 (2018-08-13)

Features

  • Angular
    • Added schematics support (#11)

2.1.0 (2018-08-12)

Bug fixes

  • Angular 6 compatibility
    • fixed build errors (#12)

Features

  • Angular
    • Updated to Angular 6

2.0.1 (2018-02-22)

Bug fixes

  • AoT (production) builds
    • fixed "Encountered undefined provider!" error

2.0.2 (2018-02-21)

Features

  • Reactivity
    • the Decorator and the directive are now reactive
    • if you have storage changes in other tabs these changes are reflected to all instances
  • StorageEventService
    • allows to hook onto the events from storage Observable<StorageEvent>
  • Decorator
    • ngxLocalStorage received a new property nullTransformer?: () => any which is used to transform null values (e.g. when value is removed from storage)
  • Directive
    • lsFalsyTransformer received a new property lsFalsyTransformer?: () => any which is used to transform falsy values (e.g. 'false' is bound to a checkbox input)

Bug fixes

  • Angular 6 compatibility
    • fixed warnings on AoT builds

1.2.0 (2017-05-22)

Breaking changes

  • LocalStorageService
    • new default usage: removed the prior Promise-based usage in favour of direct calls
    • Promised-based usage is still possible by using service.asPromisable()

Features

  • Decorator:
    • ngxLocalStorage: loads stored value on startup and stores value on property change