overmindjs Changelog
See all updates

OvermindJS Updates

V25

Aug 6th, 2020

New async JSON messaging with devtools and support for React concurrent mode

NEW

  • The statemachines API has changed
  • Support strict and concurrent mode in React

IMPROVED

  • Communication with devtools in now through the "non-blocking-json" package. There are more improvements coming here
  • Improve async flush by checking parent execution
  • Statemachines now shows warning when trying to transition to invalid state, in dev
  • Statemachines now has a simplified API to become more usable

FIXED

  • Fixed issue with merge config
  • Fix issue with React Native not having access to location
  • Fix crash in proxy-state-tree related to undefined values
  • Fix catching errors in dev, preventing errors from coming through
  • Fix issue in devtools with statemachine as root, it broke state updates
  • Next.JS now properly serializes mutations

REMOVED

  • The experimental revertable is removed due to stringify issues and also not turning out as expected

v24

Jun 8th, 2020

Breaking release which moves statecharts to own package, powers up statemachines and makes derived its own thing

NEW

IMPROVED

  • Statemachines has an improved, though breaking, API. Documentation
  • You can now open the application from within the devtools
  • Devtools allows writing plain JS to update state/payload to actions

REMOVED

  • Statecharts is moved to its own package to encourage contributions. Documentation
  • Derive type is removed

v23.1

May 14th, 2020

After a long period of very little open source due to Corona and moving to a new apartment, we are finally back on track. There is a long list of stuff to do, but will release as we go.

NEW

IMPROVED

FIXED

  • Typing of overmind-graphql Query
  • overmind-angular should now work with Angular 9
  • Devtools now properly allows you to select nested state to change it
  • Issues with serializing classes

REMOVED

  • overmind-angular is removed from monorepo and moved to own repo as it requires some complex build stuff

v23

Mar 1st, 2020

This version is only breaking because we are now properly emitting mutation events when the mutation is actually occurred. This should not affect your app. Remember when upgrading that all packages needs to install @latest.

NEW

IMPROVED

  • The state documentation has been rewritten to more clearly differentiate what is the state tree and what are values in that state tree. docs
  • Effects proxying for devtools should now handle any definition of an effect

FIXED

  • The devtools now properly reconnects after hibernation
  • When you merge state with getters works as intended
  • The Date instance is now considered a literal value, meaning it is not wrapped in a proxy
  • Statmachine reset works as intended
  • Fixed issue with destructuring on Safari
  • Fixed issue with merging state containing getters
  • Derived should now update properly in the devtools

REMOVED

  • Old Graphql config factory API

v22.0.1 - v22.0.2

Feb 7th, 2020

FIXED

  • Statemachines now handles mutations and exit correctly
  • The Derived type is now compatible with undefined and method definitions
  • Devtools client now has a heartbeat mechanism which should fix issue where it stops working after some time

SECURITY

  • Updated Devtools client to Electron 8