@itwin/core-backend 5.14.0-dev.5 → 5.14.0-dev.7

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 CHANGED
@@ -1,6 +1,26 @@
1
1
  # Change Log - @itwin/core-backend
2
2
 
3
- This log was last generated on Tue, 25 Aug 2026 21:23:35 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 03 Sep 2026 18:51:17 GMT and should not be manually modified.
4
+
5
+ ## 5.13.0
6
+ Thu, 03 Sep 2026 18:49:55 GMT
7
+
8
+ ### Updates
9
+
10
+ - Add IModelDb.Elements.queryAspects to stream typed ElementAspects for multiple owning elements in one query.
11
+ - ChangesetECAdaptor now rejects property access strings containing `constructor` or `prototype`, in addition to `__proto__`, and only traverses own properties, preventing a malicious changeset from polluting `Object.prototype`.
12
+ - Added tests and documentation for the new ECSQL `IS` / `IS NOT` operator (null-safe comparison between value expressions).
13
+ - IModelDb.close() now closes its ViewStore, and IModelHost.shutdown() now also disconnects V2 checkpoint containers. Separately, non-public containers with token-refresh enabled (`tokenRefreshSeconds > 0`, the default) keep the process alive until disconnected - disconnect any you manage outside `CloudSqlite.CloudCaches` before exiting.
14
+ - Resolve benign duplicate dgn_Domain inserts by keeping the incoming row instead of aborting, so pulling several domain-upgrade changesets in a single pullChanges no longer fails with 'PRIMARY KEY INSERT CONFLICT - rejecting this changeset'.
15
+ - Prevent unsafe WorkspaceDb file extensions from escaping the local cache directory and deprecate file resource APIs in favor of blobs or strings.
16
+ - Add IModelDb.getIndirectTxn as a beta API for performing edits from element, model, and aspect callbacks.
17
+ - fix: `PropertyStore.CloudAccess.createNewContainer` passing invalid containerType value "property-store" — corrected to "propertystore" to match the service
18
+ - fix: Workspace.getWorkspaceDb to reuse a pre-supplied accessToken instead of always requesting a new one
19
+ - Add TxnChangedEntity.metadata to TxnManager.onElementsChanged and onModelsChanged via TxnChangedEntitiesWithMetadata while preserving TxnChangedEntities compatibility; document the backend/frontend payload differences.
20
+ - Added `IModelDb.reservations` (@beta), an opt-in coordination mechanism that lets multiple briefcases concurrently insert elements that share an explicit federationGuid (e.g. shared definitions and component template elements) without producing duplicate or conflicting elements.
21
+ - Added a new check to the integrity check to verify that a class maps every inherited property to the same column as each of its base classes.
22
+ - improve schemasync, split upgrade scenario from regular updates
23
+ - Introduce TextAnnotation leader target point
4
24
 
5
25
  ## 5.12.5
6
26
  Tue, 25 Aug 2026 21:22:08 GMT
@@ -412,7 +412,7 @@ export declare class Element extends Entity {
412
412
  */
413
413
  getClassMetaData(): EntityMetaData | undefined;
414
414
  /** Query metadata for this entity class from the iModel's schema. Returns cached metadata if available.
415
- * @deprecated in 5.10.0 - will not be removed until after 2026-09-03. Obtain a `SchemaView` via `iModel.getSchemaView()` and call `view.findClass(element.classFullName)` to retrieve a `SchemaView.Class`. The returned type differs from `EntityClass` and offers a synchronous, snapshot-style API.
415
+ * @deprecated in 5.10.0 - might be removed in next major version. Obtain a `SchemaView` via `iModel.getSchemaView()` and call `view.findClass(element.classFullName)` to retrieve a `SchemaView.Class`. The returned type differs from `EntityClass` and offers a synchronous, snapshot-style API.
416
416
  */
417
417
  getMetaData(): Promise<EntityClass>;
418
418
  private getAllUserProperties;
@@ -428,7 +428,7 @@ class Element extends Entity_1.Entity {
428
428
  // eslint-disable-next-line @typescript-eslint/no-deprecated
429
429
  getClassMetaData() { return this.iModel.classMetaDataRegistry.find(this.classFullName); }
430
430
  /** Query metadata for this entity class from the iModel's schema. Returns cached metadata if available.
431
- * @deprecated in 5.10.0 - will not be removed until after 2026-09-03. Obtain a `SchemaView` via `iModel.getSchemaView()` and call `view.findClass(element.classFullName)` to retrieve a `SchemaView.Class`. The returned type differs from `EntityClass` and offers a synchronous, snapshot-style API.
431
+ * @deprecated in 5.10.0 - might be removed in next major version. Obtain a `SchemaView` via `iModel.getSchemaView()` and call `view.findClass(element.classFullName)` to retrieve a `SchemaView.Class`. The returned type differs from `EntityClass` and offers a synchronous, snapshot-style API.
432
432
  */
433
433
  async getMetaData() {
434
434
  if (this._metadata && ecschema_metadata_1.EntityClass.isEntityClass(this._metadata)) {