mobx-keystone 0.67.2 → 0.67.5
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 +12 -0
- package/dist/mobx-keystone.es.js +28 -32
- package/dist/mobx-keystone.es.mjs +28 -32
- package/dist/mobx-keystone.umd.js +28 -32
- package/dist/model/BaseModel.d.ts +1 -5
- package/dist/model/Model.d.ts +5 -5
- package/package.json +11 -11
- package/src/dataModel/BaseDataModel.ts +1 -1
- package/src/model/BaseModel.ts +7 -7
- package/src/model/Model.ts +26 -16
- package/src/modelShared/Model.ts +367 -367
- package/src/snapshot/internal.ts +9 -3
- package/src/tweaker/core.ts +1 -1
- package/src/tweaker/tweakArray.ts +401 -401
- package/src/tweaker/tweakModel.ts +1 -1
- package/src/tweaker/tweakPlainObject.ts +283 -283
- package/src/types/TypeChecker.ts +39 -12
- package/src/types/arrayBased/array.ts +106 -106
- package/src/types/objectBased/ref.ts +1 -1
- package/src/types/tProp.ts +149 -149
- package/src/utils/chainFns.ts +2 -2
- package/src/utils/index.ts +413 -413
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 0.67.5
|
|
4
|
+
|
|
5
|
+
- Fixed a bug so `$modelType` should no longer be needed when it is defined with `tProp`.
|
|
6
|
+
|
|
7
|
+
## 0.67.4
|
|
8
|
+
|
|
9
|
+
- Fixed an issue introduced in 0.67.0 related to the use of tProp and getting stale snapshots.
|
|
10
|
+
|
|
11
|
+
## 0.67.3
|
|
12
|
+
|
|
13
|
+
- Fixed an issue related wrong validation of tProps of nullable/undefinable arrays.
|
|
14
|
+
|
|
3
15
|
## 0.67.2
|
|
4
16
|
|
|
5
17
|
- Small optimization to some of the walk tree methods.
|