@rentman/rm-core 2.2.0 → 2.3.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 +9 -0
- package/dist/rm-core.js +56 -15
- package/dist/rm-core.min.js +1 -1
- package/dist/src/classes/cache/transaction/TransactionCache.d.ts +6 -4
- package/dist/src/classes/cache/transaction/TransactionEventHandler.d.ts +6 -1
- package/dist/src/classes/cache/transaction/TransactionValidator.d.ts +2 -2
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
#Changelog
|
|
2
2
|
Contains new features, breaking changes and their reasoning
|
|
3
3
|
|
|
4
|
+
## 2.3.0
|
|
5
|
+
- Add callbacks when errors are set/cleared to `TransactionEventHandler`
|
|
6
|
+
- Added the possibility to differentiate between errors to display below a field and on the save button in `TransactionValidator`
|
|
7
|
+
- Changed the format of the error translations from `string` to `() => string` in `TransactionValidator`
|
|
8
|
+
> Now the translation function will only be called when the error is actually set, not when it's cleared
|
|
9
|
+
|
|
10
|
+
## 2.2.1
|
|
11
|
+
- Fixed a bug where resolving derived values for new items (in `TransactionCache.applyChangesDelta`) would sometimes error
|
|
12
|
+
|
|
4
13
|
## 2.2.0
|
|
5
14
|
- `ChangesDelta.setItem(s)Created` will now accept incomplete input values
|
|
6
15
|
> It will now fetch a template for you and process the items, so you no longer need to do that yourself
|