Skip to content

Releases: MetaMask/obs-store

9.1.0

28 Oct 10:00
f493a0c
Compare
Choose a tag to compare

Changed

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

9.0.0

22 Nov 12:56
cda9667
Compare
Choose a tag to compare

Changed

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

8.1.1

24 Jul 22:58
2f08e6a
Compare
Choose a tag to compare

Changed

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

8.1.0

05 Apr 18:05
ef0b4ff
Compare
Choose a tag to compare

Added

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

8.0.0

03 Apr 15:54
119a9a3
Compare
Choose a tag to compare

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.

7.0.0

03 Aug 21:56
ed8092d
Compare
Choose a tag to compare

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

06 Feb 07:33
fb82c22
Compare
Choose a tag to compare

Fixed

  • Fix ObservableStore constructor and updateState types (#38)

6.0.1

05 Feb 19:15
f1608db
Compare
Choose a tag to compare

Fixed

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

6.0.0

05 Feb 18:58
2e09bb4
Compare
Choose a tag to compare

Changed

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

Removed

  • (BREAKING) Remove LocalStorageStore (#34)

5.0.0

16 Dec 17:08
a481405
Compare
Choose a tag to compare

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.