@rentman/rm-core 11.0.4 → 12.0.1
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 +19 -0
- package/dist/rm-core.js +2119 -1960
- package/dist/rm-core.min.js +1 -1
- package/dist/types/src/FieldLookupProxy.d.ts +4 -0
- package/dist/types/src/classes/ApiFormatter.d.ts +1 -4
- package/dist/types/src/classes/BusinessLogicManager/BusinessLogicRule.d.ts +8 -9
- package/dist/types/src/classes/BusinessLogicManager/Customfield/CustomFieldTypeBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Documents/DocumentTemplateBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Exemplaar/ExemplaarAanschafdatumBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Factuur/FactuurBetalingsconditieBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Factuur/FactuurDatumBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Factuur/FactuurNumberseriesBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Functie/FunctieNaaminternBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Functie/FunctieTwowayBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Materiaal/MateriaalTypeBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Materiaal/MateriaalVerhuurBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Materiaal/SurfaceArticleSizeBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/OfferteContract/OfferteContractDatumBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/PlanningPersoneelTransport/PlanningPersoneelTransportBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Project/ProjectClientNoteBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Reparatie/ReparatieExemplaarBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Rol/RolDocumentAccessBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Rol/RolEditOwnDataBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Rol/RolFileAccessBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Rol/RolPersoneelsplannerToegangBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Rol/RolProjectenBewerkenBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/BusinessLogicManager/Rol/RolProjectenToegangBusinessLogicRule.d.ts +1 -2
- package/dist/types/src/classes/CacheSyncer.d.ts +3 -2
- package/dist/types/src/classes/ChangesDelta.d.ts +3 -3
- package/dist/types/src/classes/ChangesDeltaBase.d.ts +22 -15
- package/dist/types/src/classes/ColumnUtil.d.ts +14 -14
- package/dist/types/src/classes/InternalChangesDelta.d.ts +5 -5
- package/dist/types/src/classes/QueryMatcher.d.ts +8 -7
- package/dist/types/src/classes/RequestBuffer.d.ts +2 -2
- package/dist/types/src/classes/RequestBufferManager.d.ts +2 -2
- package/dist/types/src/classes/RequestColumnExpansion.d.ts +6 -8
- package/dist/types/src/classes/RequestColumnsOperationsCache.d.ts +46 -0
- package/dist/types/src/classes/TemplateCache.d.ts +2 -2
- package/dist/types/src/classes/cache/AbstractCache.d.ts +2 -3
- package/dist/types/src/classes/cache/CachedQueryHandlerBase.d.ts +18 -17
- package/dist/types/src/classes/cache/ItemHandlerBase.d.ts +15 -10
- package/dist/types/src/classes/cache/server/ServerCache.d.ts +2 -3
- package/dist/types/src/classes/cache/server/ServerCachedQueryHandler.d.ts +10 -9
- package/dist/types/src/classes/cache/server/ServerItemHandler.d.ts +3 -7
- package/dist/types/src/classes/cache/transaction/TransactionCache.d.ts +3 -11
- package/dist/types/src/classes/cache/transaction/TransactionCachedQueryHandler.d.ts +17 -6
- package/dist/types/src/classes/cache/transaction/TransactionItemHandler.d.ts +5 -15
- package/dist/types/src/classes/cache/transaction/TransactionValidator.d.ts +2 -2
- package/dist/types/src/core.d.ts +2 -2
- package/dist/types/src/factories/CacheSyncerFactory.d.ts +5 -1
- package/dist/types/src/factories/QueryMatcherFactory.d.ts +4 -3
- package/dist/types/src/factories/RequestColumnExpansionFactory.d.ts +1 -3
- package/dist/types/src/factories/RequestColumnsOperationsCacheFactory.d.ts +8 -0
- package/dist/types/src/interfaces/AbstractCacheDependencyInterface.d.ts +3 -3
- package/dist/types/src/interfaces/TransactionCollectionHandlerDependencyInterface.d.ts +7 -7
- package/dist/types/src/interfaces/TransactionItemHandlerDependencyInterface.d.ts +3 -3
- package/dist/types/src/internal.d.ts +2 -2
- package/dist/types/src/models/CachedQueryItem.d.ts +3 -3
- package/dist/types/src/models/CollectionOptions.d.ts +2 -2
- package/dist/types/src/models/CollectionResource.d.ts +2 -2
- package/dist/types/src/types/ItemTypesCollection.d.ts +19 -6
- package/dist/types/tests/integration/helpers/helpers.d.ts +1 -0
- package/dist/types/tests/integration/transactions/field_lookup.test.d.ts +1 -0
- package/package.json +1 -1
- package/dist/types/src/classes/ColumnSubsetCache.d.ts +0 -14
- package/dist/types/src/factories/ColumnSubsetCacheFactory.d.ts +0 -8
package/changelog.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
Contains new features, breaking changes and their reasoning
|
|
4
4
|
|
|
5
|
+
## 12.0.1
|
|
6
|
+
|
|
7
|
+
- Bugfixes for item changes caching
|
|
8
|
+
|
|
9
|
+
## 12.0.0
|
|
10
|
+
|
|
11
|
+
- Replace `ColumnSubSetCache` with `RequestColumnsOperationCache`, implement `RequestColumnsOperationCache` to reduce
|
|
12
|
+
calls to `mergeRequestColumns`.
|
|
13
|
+
|
|
14
|
+
> This should improve performance when batch requesting collections.
|
|
15
|
+
|
|
16
|
+
- **Breaking:** Make request columns read only by default. Introduce `ApiRequestColumnsArray` (which is read-only) and
|
|
17
|
+
`MutableApiRequestColumnsArray` (which is not) convenience types to facilitate this.
|
|
18
|
+
- When handling responses of query and update requests, only match the items of the request item type. This prevents
|
|
19
|
+
items being used for derived values (with incomplete column sets) being matched.
|
|
20
|
+
|
|
21
|
+
- Completely rewrite how item changes are stored on transactions so that it now only tracks the actual changes this
|
|
22
|
+
should reduce memory footprint and increase performance
|
|
23
|
+
|
|
5
24
|
## 11.0.4
|
|
6
25
|
|
|
7
26
|
- Fixed a bug where the QueryContainsLocalIdParser could break queries with an `IN` query with a mix of local and
|