Skip to content

Releases: developit/unistore

3.5.2

18 Jun 00:21
Compare
Choose a tag to compare
  • Removes deprecated hook warnings in React 16 (#172, thanks @Akiyamka)

3.5.1

05 Nov 16:40
Compare
Choose a tag to compare

3.5.0

17 Oct 20:53
Compare
Choose a tag to compare

This release contains some TypeScript definition and dependency updates that let Unistore work with a wider variety of projects.

  • Update to the official Preact X release version (#176, thanks @shoojx!)
  • [ts] Change JSX typings to support both Preact 10+ and Preact 8.5+ (#158, thanks @pmkroeker!)
  • [ts] Add intersection type for props (#164, thanks @metonym!)
  • [ts] Add React.FC support to the React types (#174, thanks @eduardoborges!)

3.4.1

10 Mar 20:46
Compare
Choose a tag to compare
  • ⚛️ Add support for Preact X! Huge thanks to @38elements and @kidqueb.

    💁‍♀️ backwards compatible, so the preact bindings work with any version.

3.3.2

10 Mar 20:44
Compare
Choose a tag to compare
  • Make peerDependencies optional (essentially removed) to avoid npm showing warnings to users installing unistore who aren't using React or Preact. Thanks @Timer!

3.3.0

07 Mar 19:48
Compare
Choose a tag to compare
  • Typings: allow async actions in types (thanks @SolarLiner!) and fix missing devtools.d.ts
  • Mark react & preact peerDependencies as optional to avoid npm warnings

3.2.1

04 Jan 23:07
Compare
Choose a tag to compare
  • Fix missing devtools.d.ts typings in published module
  • Allow any arguments to BoundAction (#129, thanks @reallyely)

3.2.0

04 Jan 22:53
Compare
Choose a tag to compare
  • Update connect() to react correctly to prop changes (#120, thanks @lwakefield!)
    • applies to both react and preact integrations
    • mapStateToProps() will be called when a component is re-rendered.
  • [TS] Switch React typings from React.Component to React.ComponentClass (#119, thanks @joseluisq!)

3.1.1

04 Jan 22:50
Compare
Choose a tag to compare
  • [TS] Fix types for Preact 8
  • [TS] Allow component State generic

3.1.0

20 Sep 15:03
Compare
Choose a tag to compare