mobx-keystone 1.7.1 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/mobx-keystone.esm.js +66 -26
- package/dist/mobx-keystone.esm.mjs +66 -26
- package/dist/mobx-keystone.umd.js +71 -31
- package/dist/types/utils/setIfDifferent.d.ts +1 -1
- package/package.json +12 -12
- package/src/model/newModel.ts +174 -151
- package/src/modelShared/sharedInternalModel.ts +363 -363
- package/src/patch/emitPatch.ts +68 -29
- package/src/snapshot/applySnapshot.ts +153 -153
- package/src/utils/setIfDifferent.ts +12 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 1.8.0
|
|
4
|
+
|
|
5
|
+
- `onGlobalPatches` will now get called for new models whenever the initial snapshot values where overridden by defaults or missing IDs.
|
|
6
|
+
|
|
3
7
|
## 1.7.1
|
|
4
8
|
|
|
5
9
|
- Performance improvements when using the "new" non-experimental standard decorators: do not use class proxies.
|