Skip to content

Latest commit

 

History

History
135 lines (73 loc) · 2.92 KB

CHANGELOG.md

File metadata and controls

135 lines (73 loc) · 2.92 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.

[4.0.1] - 2024-07-16

Fixed

  • Expose test utility correctly

[4.0.0] - 2024-05-30

Changed

  • Dropped support for Node < 18
  • Using act from @testing-library/react in test util to avoid warnings being printed

[3.0.1] - 2022-10-15

Fixed

  • SSR was not working properly, because of missing mandatory getServerSnapshot implementation.

Changed

  • Dropped Node12 support. At least Node14 required now.

[3.0.0] - 2022-06-07

Added

Changed

  • Not compatible anymore to earlier versions of React than 18, because it makes use of the new hook useSyncExternalStore and relies on automatic batching.

[2.2.2] - 2022-02-15

Fixed

  • Generating type interface instead of shipping real types to prevent TS errors for consumers.

[2.2.1] - 2021-11-01

Fixed

  • Include React 17 as valid peer dependency.

[2.2.0] - 2021-07-06

Changed

  • Optional state does not need to be initialized with explicit undefined value anymore. The store updates allow now also to set data that does not belong into the store. Using strict TS checks, should avoid this to happen, so it's not enforced by the given code anymore.

[2.1.1] - 2021-06-30

Fix

  • NextJS stopped working because setting "type": "module" in own package.json was overriding the default of the package importer. Hence, the package could only be used as ESM.

[2.1.0] - 2021-05-02

Added

  • Store.listen allows adding (and removing) listeners on the store outside react components.

[2.0.0] - 2021-03-21

Added

Changed

[1.2.0] - 2021-03-17

Added

[1.1.1] - 2021-03-14

Changed

  • Node version >= 12 requirement. Possibly still works with older Node versions.

[1.1.0] - 2020-09-03

Added

  • Conditional store updates.

[1.0.4] - 2020-09-03

Added

  • Improve IDE auto-import by moving index file into root directory.

[1.0.3] - 2020-08-28

Added

  • Fix rarely omitted re-rendering

[1.0.2] - 2020-08-17

Added

  • Fix error on update with external deps

[1.0.1] - 2020-04-08

Added

  • Export some utility types
  • Lower peer deps requirements

[1.0.0] - 2020-02-06

Added

  • Publish first stable version