Skip to content

Latest commit

 

History

History
73 lines (58 loc) · 3.43 KB

CHANGELOG.md

File metadata and controls

73 lines (58 loc) · 3.43 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Changed

  • Support overriding default Stream options in ObservableStoreStream constructor, storeTransformStream, and storeAsStream (#110)

Changed

  • BREAKING: Bump minimum Node.js version to 14 (#92)
  • BREAKING: Use readable-stream@^3.6.2 for streams (#96)

Changed

  • Bump @metamask/safe-event-emitter from 2.0.0 to 3.0.0 (#85)

Added

  • Loosen ComposedStore type so that it can be used to compose stores that hold primitives instead of objects (#81)

Changed

  • BREAKING: Allow falsy initial state (#74)
    • This fixes an accidental breaking change introduced in v6.0.2. If you're updating from a version earlier than v6.0.2, this is non-breaking.
    • This is only breaking if you are relying on falsy initial state being replaced with an empty object.

Changed

  • BREAKING: Increase minimum Node.js version to v12 (#40)
  • Include inline sources in source maps (#46)
  • Remove readable-stream dependency (#45)

6.0.2 - 2020-02-05

Fixed

  • Fix ObservableStore constructor and updateState types (#38)

6.0.1 - 2020-02-05

Fixed

  • Remove unused files by fixing build script (#36)

6.0.0 - 2020-02-05

Changed

  • Genericize state in all classes / exports (#33)

Removed

  • (BREAKING) Remove LocalStorageStore (#34)

5.0.0 - 2020-12-16

Added

  • TypeScript types (#27)

Changed

  • (BREAKING) Rename package to @metamask/obs-store (#30)
  • (BREAKING) Overhaul exports (#29)
    • All exports are now named, and exposed at the main entry point.
    • Some export names have changed, but they should still be recognizable.