Skip to content

Releases: tamb/substate

v9.0.0-alpha.2

18 Feb 03:38
5686e34
Compare
Choose a tag to compare
Uses new deep clone library (#69)

v9.0.0 - Just Better

18 Feb 19:11
Compare
Choose a tag to compare
  • Use a more popular deep clone library for better stability
  • Use a newer version of object-bystring with a more modern implementation
  • Full Typescript support
  • Adds removeAll and removeAllOf methods to handle attached listeners
  • Better documentation
  • More tests
  • update class name to be Capitalized substate is now Substate

Dependency Bump

22 Jun 20:15
Compare
Choose a tag to compare

Simply bumping dependency versions

Readme and Package Update

22 Sep 00:57
Compare
Choose a tag to compare

Clarified a few things in readme and updated the package to remove dev dependencies.

Bug fix and tests

03 Sep 00:35
Compare
Choose a tag to compare

emit now passes an empty object as data by default.

Change that State

28 Sep 02:15
Compare
Choose a tag to compare

You can now emit('CHANGE_STATE', {requestedState: 2}) and change your state. This allows you to undo and redo!

8 is great

27 Sep 22:59
Compare
Choose a tag to compare

Version 7 was a bust. I wrote some unit tests which were poor and missed a huge bug. So I had to revert from my plans and push out a fixed version asap.

Sorry to anyone who got screwed with v7

Middleware

19 Sep 22:46
Compare
Choose a tag to compare

We now have middleware for updating the state. You can add an optional function to the config for beforeUpdate and afterUpdate to have access the the entire store/substate instance. This is great for making saves to local state, stopping state updates if you need to, etc.

Super small now!

19 Sep 22:44
Compare
Choose a tag to compare

I switched to a much smaller deep cloning dependency and now the project is half the size!