@rentman/rm-core 8.0.2 → 8.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.
Files changed (31) hide show
  1. package/changelog.md +13 -0
  2. package/dist/rm-core.js +6409 -6003
  3. package/dist/rm-core.min.js +2 -2
  4. package/dist/types/classes/ApiFormatter.d.ts +3 -3
  5. package/dist/types/classes/ChangesDelta.d.ts +8 -2
  6. package/dist/types/classes/ChangesDeltaBase.d.ts +35 -7
  7. package/dist/types/classes/ChangesProcessor.d.ts +3 -5
  8. package/dist/types/classes/CollectionMatcherBase.d.ts +2 -2
  9. package/dist/types/classes/ConversionMapService.d.ts +1 -1
  10. package/dist/types/classes/CreatedChangesDelta.d.ts +2 -1
  11. package/dist/types/classes/InternalChangesDelta.d.ts +12 -1
  12. package/dist/types/classes/ItemCreateService.d.ts +1 -1
  13. package/dist/types/classes/ParentChangesDelta.d.ts +47 -0
  14. package/dist/types/classes/QueryParserIdUpdater.d.ts +9 -9
  15. package/dist/types/classes/TemplateCache.d.ts +11 -8
  16. package/dist/types/classes/cache/AbstractCache.d.ts +16 -7
  17. package/dist/types/classes/cache/ItemHandlerBase.d.ts +4 -6
  18. package/dist/types/classes/cache/server/ServerCache.d.ts +19 -8
  19. package/dist/types/classes/cache/server/ServerItemHandler.d.ts +2 -2
  20. package/dist/types/classes/cache/transaction/TransactionCache.d.ts +14 -13
  21. package/dist/types/classes/cache/transaction/TransactionCachedQueryHandler.d.ts +2 -1
  22. package/dist/types/classes/cache/transaction/TransactionCollectionHandler.d.ts +1 -0
  23. package/dist/types/classes/cache/transaction/TransactionItemHandler.d.ts +6 -7
  24. package/dist/types/factories/ChangesDeltaFactory.d.ts +8 -6
  25. package/dist/types/factories/ChangesProcessorFactory.d.ts +2 -5
  26. package/dist/types/factories/RequestColumnExpansionFactory.d.ts +4 -1
  27. package/dist/types/factories/TemplateFactory.d.ts +2 -2
  28. package/dist/types/interfaces/TransactionItemHandlerDependencyInterface.d.ts +2 -1
  29. package/dist/types/models/Template.d.ts +3 -2
  30. package/dist/types/types/ItemTypesCollection.d.ts +1 -1
  31. package/package.json +1 -1
package/changelog.md CHANGED
@@ -1,6 +1,19 @@
1
1
  #Changelog
2
2
  Contains new features, breaking changes and their reasoning
3
3
 
4
+ ## 8.1.0
5
+ - Add `cloneCreatedChanges` function to `ChangesDeltaFactory`. This function clone the `created` component of a changes
6
+ delta into a destination changes delta.
7
+ - Add `TransactionOptions`, implement `transparent` transaction option
8
+ - Allow core-mapped TS types instead of backend-mapped TS types in `ApiFormatter.compareFields`
9
+ - Fixed a bug where empty update requests where sometimes done
10
+ - Fixed a bug where derived values of items returned in a Template request weren't properly resolved
11
+
12
+ ## 8.0.3
13
+ - Changed the flow of a create request so that it includes all the required columns for all transactions and also processes additionally returned (derived) items
14
+ - Fixed a bug where fields referencing local items would already be updated in the `previous` before the `onChange` callbacks were called
15
+ - Moved logic of updating IDs in cached queries/collections to TransactionCachedQueryHandler and TransactionCollectionHandler
16
+
4
17
  ## 8.0.2
5
18
  - Fixed a bug where deleted entries on a child transaction where not handled properly
6
19
  - Fixed a bug where saving a child transaction, and then undoing those changes and saving again would not update the parent transaction