Releases: mobxjs/mobx-state-tree
v5.4.0-pre.1
This is a pre-release version that introduces some new quality-of-life improvements to existing APIs, and possible performance improvements. Please give it a try and let us know what you think!
Breaking Changes
- No breaking changes
Features
- feat: add t export, update documentation by @coolsoftwaretyler in #2117
- feat: pass the node to postProcess snapshot transformers by @airhorns in #2116
Fixes
- perf: make model creation faster by @coolsoftwaretyler in #2113
Docs
- chore: bump docs and build for v5.3.0 by @coolsoftwaretyler in #2108
- chore: 5.4.0-pre.1 release chores by @coolsoftwaretyler in #2118
New Contributors
Full Changelog: v5.3.0...v5.4.0-pre.1
v5.3.1-alpha.1
What's Changed
- chore: bump docs and build for v5.3.0 by @coolsoftwaretyler in #2108
- perf: make model creation faster by @coolsoftwaretyler in #2113
Full Changelog: v5.3.0...v5.3.1-alpha.1
We cut this release with a small change set because we wanted to get real-world testing on the changes in #2113. If you want to help MST get faster out of the box, please try v5.3.1-alpha.1 and report any improvements in speed, regression in speed, or regressions in functionality you experience.
v5.3.0
Breaking Changes
- No breaking changes
Features
- Add number types to map model methods by @a-hassanzadeh-h in #2079
Fixes
- perf: use push instead of unshift by @BrianHung in #2082
- use mobx type for map initial data by @BrianHung in #2072
- perf: use map instead of weak map by @BrianHung in #2084
- return undefined in resolveNodeByPathParts when failIfResolveFails = false by @BrianHung in #2071
Docs
- Add union tips by @chakrihacker in #2078
- Clarify wording and fix old link in philosophy.md by @StefanWallin in #2093
- Fix wording and discuss a bad link in philosophy.md by @StefanWallin in #2094
Development/community
- chore: add community docs by @coolsoftwaretyler in #2090
- chore: remove immer open collective link by @coolsoftwaretyler in #2086
- Chore/remove mst middlewares package by @coolsoftwaretyler in #2091
New Contributors
- @StefanWallin made their first contribution in #2093
- @a-hassanzadeh-h made their first contribution in #2079
Full Changelog: 5.2.0...v5.3.0
v5.3.0-alpha.1
This alpha release was built and shipped from the branch in #2099. We did that to make sure none of the configuration changes broke our deployment processes, but also shipped some changes.
Once we get a few weeks of usage data and verify things are good, we can ship a full 5.3.0
. I'm feeling optimistic about doing that shortly.
Breaking Changes
- No breaking changes
Features
- Add number types to map model methods by @a-hassanzadeh-h in #2079
Fixes
- perf: use push instead of unshift by @BrianHung in #2082
- use mobx type for map initial data by @BrianHung in #2072
- perf: use map instead of weak map by @BrianHung in #2084
- return undefined in resolveNodeByPathParts when failIfResolveFails = false by @BrianHung in #2071
Docs
- Add union tips by @chakrihacker in #2078
- Clarify wording and fix old link in philosophy.md by @StefanWallin in #2093
- Fix wording and discuss a bad link in philosophy.md by @StefanWallin in #2094
Development/community
- chore: add community docs by @coolsoftwaretyler in #2090
- chore: remove immer open collective link by @coolsoftwaretyler in #2086
- Chore/remove mst middlewares package by @coolsoftwaretyler in #2091
New Contributors
- @StefanWallin made their first contribution in #2093
- @a-hassanzadeh-h made their first contribution in #2079
Full Changelog: 5.2.0...v5.3.0-alpha.1
5.2.0
Stable release for 5.2.0. We ran two alpha release candidates before shipping this:
https://github.com/mobxjs/mobx-state-tree/releases/tag/v5.2.0-alpha.1
https://github.com/mobxjs/mobx-state-tree/releases/tag/v5.2.0-alpha.2
Breaking changes
- No breaking changes
Features
- Add flag to determine if an action is a flow based action by @Slooowpoke in #1856
- give complex types debug names by @BrianHung in #2049
- Add lazy type for lazy importing of models by @clgeoio in #1722
- Add two new primitives for MST by @chakrihacker in #2052
Fixes
- fix: throw error when creating a model with faulty name and valid pro… by @nithinssabu in #2048
- fix splitCache, extra nodes were being removed by @scytacki in #2054
- call lifecycle hooks after children are created by @scytacki in #1952
- Allow readonly string arrays in types.enumeration by @jamonholmgren in #2059
- fix: add checks while creating model by @chakrihacker in #2057
- fix: revert parent context features by @coolsoftwaretyler in #2074
Docs
- docs: update references to example repos that will move external by @coolsoftwaretyler in #2042
- docs: remove extra reference of packages/mst-example-bookshop by @JuanJo4 in #2047
- Docs: fix some grammar and typos by @kylemeenehan in #2070
Tests
- Test/add more test coverage for types model by @coolsoftwaretyler in #2044
- Test/add property parsing tests by @coolsoftwaretyler in #2051
- Add a test for debug name by @BrianHung in #2069
Development/community
- chore: update GitHub issue templates to focus on bugs by @coolsoftwaretyler in #2017
- chore: remove examples from repository by @coolsoftwaretyler in #2043
- chore: add pull request template by @coolsoftwaretyler in #2066
New Contributors
- @coolsoftwaretyler made their first contribution in #2017
- @Slooowpoke made their first contribution in #1856
- @JuanJo4 made their first contribution in #2047
- @nithinssabu made their first contribution in #2048
- @BrianHung made their first contribution in #2049
- @scytacki made their first contribution in #2054
- @clgeoio made their first contribution in #1722
- @chakrihacker made their first contribution in #2052
- @kylemeenehan made their first contribution in #2070
Full Changelog: v5.1.8...5.2.0
Version 5.2.0-alpha.2
A follow up to https://github.com/mobxjs/mobx-state-tree/releases/tag/v5.2.0-alpha.1 and second release candidate for 5.2.0
.
Breaking changes
- No breaking changes
Features
- Add flag to determine if an action is a flow based action by @Slooowpoke in #1856
- give complex types debug names by @BrianHung in #2049
- Add lazy type for lazy importing of models by @clgeoio in #1722
- Add two new primitives for MST by @chakrihacker in #2052
Fixes
- fix: throw error when creating a model with faulty name and valid pro… by @nithinssabu in #2048
- fix splitCache, extra nodes were being removed by @scytacki in #2054
- call lifecycle hooks after children are created by @scytacki in #1952
- Allow readonly string arrays in types.enumeration by @jamonholmgren in #2059
- fix: add checks while creating model by @chakrihacker in #2057
- fix: revert parent context features by @coolsoftwaretyler in #2074
Docs
- docs: update references to example repos that will move external by @coolsoftwaretyler in #2042
- docs: remove extra reference of packages/mst-example-bookshop by @JuanJo4 in #2047
- Docs: fix some grammar and typos by @kylemeenehan in #2070
Tests
- Test/add more test coverage for types model by @coolsoftwaretyler in #2044
- Test/add property parsing tests by @coolsoftwaretyler in #2051
- Add a test for debug name by @BrianHung in #2069
Development/community
- chore: update GitHub issue templates to focus on bugs by @coolsoftwaretyler in #2017
- chore: remove examples from repository by @coolsoftwaretyler in #2043
- chore: add pull request template by @coolsoftwaretyler in #2066
New Contributors
- @coolsoftwaretyler made their first contribution in #2017
- @Slooowpoke made their first contribution in #1856
- @JuanJo4 made their first contribution in #2047
- @nithinssabu made their first contribution in #2048
- @BrianHung made their first contribution in #2049
- @scytacki made their first contribution in #2054
- @clgeoio made their first contribution in #1722
- @chakrihacker made their first contribution in #2052
- @kylemeenehan made their first contribution in #2070
Full Changelog: v5.1.8...v5.2.0-alpha.2
Version 5.2.0-alpha.1
Hey folks!
This is my first ever release as a MobX-State-Tree maintainer, so I'm planning on releasing alpha first, just to make sure things are looking good. Here's what changed!
Breaking changes
- No breaking changes
Features
- Add flag to determine if an action is a flow based action by @Slooowpoke in #1856
- give complex types debug names by @BrianHung in #2049
- pass parent to default value function in t.optional by @BrianHung in #2050
Fixes
- fix: throw error when creating a model with faulty name and valid pro… by @nithinssabu in #2048
- fix splitCache, extra nodes were being removed by @scytacki in #2054
- call lifecycle hooks after children are created by @scytacki in #1952. Note: this should be only a fix, but it does technically alter some order-of-operations. We don't believe this to be a semantically breaking change, but we would love early feedback on the alpha build if folks have any problems with it.
- Add lazy type for lazy importing of models by @clgeoio in #1722
- Add two new primitives for MST by @chakrihacker in #2052
Docs
- docs: update references to example repos that will move external by @coolsoftwaretyler in #2042
- chore: remove examples from repository by @coolsoftwaretyler in #2043
- docs: remove extra reference of packages/mst-example-bookshop by @JuanJo4 in #2047
Tests
- Test/add more test coverage for types model by @coolsoftwaretyler in #2044
Development/community only
- chore: update GitHub issue templates to focus on bugs by @coolsoftwaretyler in #2017
New Contributors
- @coolsoftwaretyler made their first contribution in #2017
- @Slooowpoke made their first contribution in #1856
- @JuanJo4 made their first contribution in #2047
- @nithinssabu made their first contribution in #2048
- @BrianHung made their first contribution in #2049
- @scytacki made their first contribution in #2054
- @clgeoio made their first contribution in #1722
- @chakrihacker made their first contribution in #2052
Full Changelog: v5.1.8...v5.2.0-alpha.1
Version 5.1.8
Version 5.1.7
This is a minor release removing the deprecation notice from preProcessSnapshot and postProcessSnapshot. Thanks to @jamonholmgren for #1986.
Please report any issues!
Version 5.1.6
This is a minor release fixing the types to allow readonly arrays. Thanks to @adamkovalsky for #1936. Fixes #1676.
Please report any issues!