Skip to content

Releases: mobxjs/mobx-state-tree

Version 5.0.1

31 Jan 23:15
Compare
Choose a tag to compare

This release fixes #1653 (PR #1656). MobX 6.1.0 introduced a new issue and this addresses that. Thanks to @urugator!

There should be no breaking changes.

This new approach, replacing makeObservable with manually created actions and computed views, also seems to have improved instance instantiation speed (MyModel.create()) by about 20% in @jamonholmgren's benchmarks.

Please report any new bugs and we will address as soon as possible. We wanted to get this fix into the hands of users ASAP as previously doing yarn add mobx mobx-state-tree means you would end up with brokenness.

Version 5.0.0

08 Jan 20:16
Compare
Choose a tag to compare

What's New

Version 5.0.0 includes bugfixes that may in rare cases cause breaking changes if relying on undocumented behavior. Most apps should be able to upgrade without problems. Please file an issue if you upgrade and it causes any new bugs.

Bugfixes

isPlainObject() supports objects from another window (#1584 by @ConneXNL)
• Models from snapshot processors can now be added to maps (#1581 by @kidroca)
applyPatch can now replace root of store if path is empty (#1522 by @epodgaetskiy)

Version 4.0.3

08 Jan 19:44
Compare
Choose a tag to compare

Bug Fixes

• Add missing type definitions for onInvalidated in safeReference -- #1610 by @getkey

v4.0.2

17 Nov 03:47
Compare
Choose a tag to compare

Version 4

(This version is tagged 4.0.2, but is the first release in the v4 major version.)

BREAKING CHANGE

MobX 6 is now supported! This version of MobX replaces MobX 4 and MobX 5, and works in environments that support Proxy as well as those that don't. In the past, MobX 4 was for environments without Proxy, and MobX 5 was for those which supported Proxy. MobX 6 works in both.

Note that MobX-State-Tree v4 will only work with MobX 6, so if you need to stay on MobX 4 or 5, you'll need to also stay on MST 3.

New Maintainer

@jamonholmgren is now taking over as lead maintainer. Stay tuned for more announcements and an updated roadmap.

v3.17.3

17 Nov 03:20
Compare
Choose a tag to compare
v3.17.3

0.6.3

06 Jun 08:10
Compare
Choose a tag to compare
released 0.6.3

0.2.1

05 Apr 15:08
Compare
Choose a tag to compare
bump: 0.2.1