v6.0.0-pre.3
版本发布时间: 2024-04-17 22:49:13
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
- Fix: do not mutate properties object by model constructor: by @dangreen in https://github.com/mobxjs/mobx-state-tree/pull/2176
- Fix
getMembers
duplicating actions into views by @evinosheaforward in https://github.com/mobxjs/mobx-state-tree/pull/2174
Tests
- Test: convert to bun:test for tests, remove codecov by @coolsoftwaretyler in https://github.com/mobxjs/mobx-state-tree/pull/2149
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
- Docs: add recipe for
mst-form-type
by @sherlockwang in https://github.com/mobxjs/mobx-state-tree/pull/2168 - Docs: fix broken link by @kylemeenehan in https://github.com/mobxjs/mobx-state-tree/pull/2165
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
Full Changelog: https://github.com/mobxjs/mobx-state-tree/compare/v5.4.1...v6.0.0-pre.3