v6.0.0-pre.2
版本发布时间: 2024-03-11 03:59:57
mobxjs/mobx-state-tree最新发布版本:v7.0.0-pre.2(2024-08-02 01:56:53)
Breaking Changes
- Bump typescript from 3.9.10 to 5.3.3 by @thegedge in https://github.com/mobxjs/mobx-state-tree/pull/2146
- Eliminate
NonEmptyObject
by @thegedge in https://github.com/mobxjs/mobx-state-tree/pull/2152 - Improved typing for union types by @thegedge in https://github.com/mobxjs/mobx-state-tree/pull/2151
- fix #1530 array clear replace should produce one patch by @BrianHung in https://github.com/mobxjs/mobx-state-tree/pull/2073
- Feat/has env and getenv changes by @t49tran in https://github.com/mobxjs/mobx-state-tree/pull/2163
Features
- We added a new feature,
hasEnv
, to support https://github.com/mobxjs/mobx-state-tree/pull/2163
Fixes
- Union types will now be fixed, but this also may break TypeScript for some users
- Array operations produce condensed patches when we can, but this may break for some users who relied on the patch generation as it was
Tests
No new test-only contributions
Docs
- Docs/update docs homepage by @coolsoftwaretyler in https://github.com/mobxjs/mobx-state-tree/pull/2141
- docs: fix typos in docs update by @coolsoftwaretyler in https://github.com/mobxjs/mobx-state-tree/pull/2142
- Docs: add comparison between React Context/Reducer by @coolsoftwaretyler in https://github.com/mobxjs/mobx-state-tree/pull/2158
Community/Developer changes
- Bump typescript from 3.9.10 to 5.3.3 by @thegedge in https://github.com/mobxjs/mobx-state-tree/pull/2146
- Chore/use bun as a package manager and script runner by @coolsoftwaretyler in https://github.com/mobxjs/mobx-state-tree/pull/2148
What's Changed
New Contributors
- @thegedge made their first contribution in https://github.com/mobxjs/mobx-state-tree/pull/2146
Full Changelog: https://github.com/mobxjs/mobx-state-tree/compare/v5.4.1...v6.0.0-pre.2