ngx-localstorage

An Angular wrapper for localstorage/sessionstorage access.

APACHE-2.0 License

Downloads
9.8K
Stars
36

Bot releases are hidden (Show)

ngx-localstorage - 6.0.0 Latest Release

Published by bohoffi 7 months ago

🚀 Features

  • add support for formControl (68406fc)
  • expose library version token (8040c85)

BREAKING CHANGES

❤️ Thank You

  • bohoffi @bohoffi
ngx-localstorage - 5.1.0

Published by bohoffi 12 months ago

Features

ngx-localstorage - 5.0.0

Published by bohoffi over 1 year ago

Features

  • add Angular Standalone API support (5860a59)
    • add helper function for providers (c06532c)
    • add features for provider function (cb67459)

BREAKING CHANGES

  • remove PromisableService (1217023)
  • remove deprecated overloads (7b9b733)

Full Changelog: https://github.com/bohoffi/ngx-localstorage/compare/4.0.0...5.0.0

ngx-localstorage - 4.0.0

Published by bohoffi almost 2 years ago

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: https://github.com/bohoffi/ngx-localstorage/compare/3.5.0...4.0.0

ngx-localstorage - 3.5.0

Published by bohoffi almost 2 years ago

Features

  • Update to Ivy compatibility

Full Changelog: https://github.com/bohoffi/ngx-localstorage/compare/3.4.0...3.5.0

ngx-localstorage - 3.4.0

Published by bohoffi over 3 years ago

Features

ngx-localstorage - 3.3.1

Published by bohoffi over 3 years ago

Bug fixes

  • StorageService
    • incorrect remove call in set with nullish value (#40)
ngx-localstorage - 3.3.0

Published by bohoffi over 3 years ago

Features

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

Published by bohoffi almost 4 years ago

Bug fixes

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

Published by bohoffi about 4 years ago

Features

  • Framework
    • Updates compatibility to Angular v10.x
ngx-localstorage - 3.1.0

Published by bohoffi about 4 years ago

Features

  • Framework
    • Updates compatibility to Angular v9.x
ngx-localstorage - 3.0.0

Published by bohoffi about 4 years ago

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)
ngx-localstorage - 2.4.1

Published by bohoffi about 4 years ago

Bug fixes

  • Service
    • Service use configured prefix if set (#21)
ngx-localstorage - 2.4.0

Published by bohoffi about 4 years ago

Features

  • Configuration
    • Allow usage without key prefix

Changes

  • Angular
    • Added back schematics support
ngx-localstorage - 2.3.0

Published by bohoffi about 4 years ago

Changes

  • Angular
    • Removed schematics support
    • updated compatibility to Angular >=4.0.0
ngx-localstorage - 2.2.1

Published by bohoffi about 6 years ago

ngx-localstorage - 2.1.0

Published by bohoffi about 6 years ago