@rentman/rm-core 2.0.18 → 2.1.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 +11 -0
- package/dist/rm-core.js +288 -19
- package/dist/rm-core.min.js +1 -1
- package/dist/src/classes/Util.d.ts +2 -0
- package/dist/src/classes/cache/AbstractCache.d.ts +2 -1
- package/dist/src/classes/cache/server/ServerCollectionHandler.d.ts +2 -1
- package/dist/src/classes/cache/transaction/TransactionCache.d.ts +50 -2
- package/dist/src/classes/cache/transaction/TransactionCollectionHandler.d.ts +3 -2
- package/dist/src/classes/cache/transaction/TransactionItemHandler.d.ts +3 -1
- package/dist/src/classes/cache/transaction/TransactionValidator.d.ts +28 -0
- package/dist/src/classes/index.d.ts +1 -0
- package/dist/src/factories/TransactionCacheFactory.d.ts +2 -1
- package/dist/src/models/ItemEntryOptions.d.ts +1 -2
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
#Changelog
|
|
2
2
|
Contains new features, breaking changes and their reasoning
|
|
3
3
|
|
|
4
|
+
## 2.1.0
|
|
5
|
+
- Refactor `TransactionCache.getItemsByQuery` to check cached entries (just like a collection)
|
|
6
|
+
- Add `TransactionValidator`, allow passing of a `TransactionValidatorFactory` to a transaction
|
|
7
|
+
> You can use these validators to set errors using `setItemError` and `setGlobalError`
|
|
8
|
+
- Fixed a bug where `TransactionItemHandler.cloneItemEntry` could only clone entry with changes on the target transaction.
|
|
9
|
+
> It will not look for changes recursively on the transaction change
|
|
10
|
+
|
|
11
|
+
## 2.0.19
|
|
12
|
+
- Ensure all requestColumns for newly created ItemEntries from a template are available
|
|
13
|
+
- Ensure derived values for newly created ItemEntries from a template are available
|
|
14
|
+
|
|
4
15
|
## 2.0.18
|
|
5
16
|
- Include read-only columns when detecting changes in TransactionItemHandler.processItemEntryChanges
|
|
6
17
|
> Read-only columns shouldn't count as changes on the tab, but they should be taking into account when deciding whether or not to call `onChange`
|