@itwin/core-backend 5.11.0-dev.3 → 5.11.0-dev.5
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 +23 -1
- package/lib/cjs/Element.d.ts +1 -1
- package/lib/cjs/Element.js +1 -1
- package/lib/cjs/Element.js.map +1 -1
- package/lib/cjs/Entity.d.ts +3 -3
- package/lib/cjs/Entity.js +3 -3
- package/lib/cjs/Entity.js.map +1 -1
- package/lib/cjs/Relationship.d.ts +1 -1
- package/lib/cjs/Relationship.js +1 -1
- package/lib/cjs/Relationship.js.map +1 -1
- package/lib/esm/Element.d.ts +1 -1
- package/lib/esm/Element.js +1 -1
- package/lib/esm/Element.js.map +1 -1
- package/lib/esm/Entity.d.ts +3 -3
- package/lib/esm/Entity.js +3 -3
- package/lib/esm/Entity.js.map +1 -1
- package/lib/esm/Relationship.d.ts +1 -1
- package/lib/esm/Relationship.js +1 -1
- package/lib/esm/Relationship.js.map +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
# Change Log - @itwin/core-backend
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 03 Jun 2026 20:21:39 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 5.10.0
|
|
6
|
+
Wed, 03 Jun 2026 20:19:46 GMT
|
|
7
|
+
|
|
8
|
+
### Updates
|
|
9
|
+
|
|
10
|
+
- Allow reversing schema changeset
|
|
11
|
+
- ECSQL: Allow optional ON clause with CROSS JOIN
|
|
12
|
+
- Improve revert timeline changes to handle large number of changesets
|
|
13
|
+
- Add SettingsSchemas.groups to expose registered SettingGroupSchema metadata, including user-facing titles and descriptions
|
|
14
|
+
- Added `SettingsSchemas.getResolvedSettingDef` for resolving nested object properties and array items.
|
|
15
|
+
- Fixed `SettingsSchemas.removeGroup` to remove registered type definitions correctly.
|
|
16
|
+
- Add an optional user-facing title to SettingGroupSchema so settings UIs do not need to rely on schemaPrefix for display text
|
|
17
|
+
- Add lastEditedAt metadata to WorkspaceDb manifests.
|
|
18
|
+
- Added a deprecated bulk element delete api to IModelDb until EditTxns are more widely used by applications.
|
|
19
|
+
- Optimized EditTxn.deleteElements for better performance and clearer reporting; added batch lifecycle callbacks Element.onBulkDeleted, Element.onBulkChildDeleted, and Model.onBulkModelEvents to avoid per-element notification overhead.
|
|
20
|
+
- Added `IModelDb.getSchemaView()` function, which provides access to iModel's `SchemaView` - a lightweight, read-only, synchronous API for navigating schema metadata - classes, properties, relationships, enumerations, etc.
|
|
21
|
+
- Add outline geometry as Path instead of Loop in text annotations
|
|
22
|
+
- Semantic Rebase uses the new ChangesetReader api. Also while doing semantic rebase we now stream the changed instances onto the temp file while writing as well as stream changed instances from the file while reading.
|
|
23
|
+
- Added spillThresholdInBytes parameter to openGroup, openLocalChanges, openInMemoryChanges, openTxn methods of ChangesetReader api
|
|
24
|
+
- Added strict mode to changeset reader api
|
|
25
|
+
- Added batching while writing instance patches to the file during semantic rebase. Also reduced the $meta field in instance patches to include only the necessary properties and skip unnecessary ones.
|
|
4
26
|
|
|
5
27
|
## 5.9.5
|
|
6
28
|
Mon, 01 Jun 2026 17:34:00 GMT
|
package/lib/cjs/Element.d.ts
CHANGED
|
@@ -408,7 +408,7 @@ export declare class Element extends Entity {
|
|
|
408
408
|
*/
|
|
409
409
|
getClassMetaData(): EntityMetaData | undefined;
|
|
410
410
|
/** Query metadata for this entity class from the iModel's schema. Returns cached metadata if available.
|
|
411
|
-
* @deprecated in 5.10.0. 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.
|
|
411
|
+
* @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.
|
|
412
412
|
*/
|
|
413
413
|
getMetaData(): Promise<EntityClass>;
|
|
414
414
|
private getAllUserProperties;
|
package/lib/cjs/Element.js
CHANGED
|
@@ -424,7 +424,7 @@ class Element extends Entity_1.Entity {
|
|
|
424
424
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
425
425
|
getClassMetaData() { return this.iModel.classMetaDataRegistry.find(this.classFullName); }
|
|
426
426
|
/** Query metadata for this entity class from the iModel's schema. Returns cached metadata if available.
|
|
427
|
-
* @deprecated in 5.10.0. 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.
|
|
427
|
+
* @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.
|
|
428
428
|
*/
|
|
429
429
|
async getMetaData() {
|
|
430
430
|
if (this._metadata && ecschema_metadata_1.EntityClass.isEntityClass(this._metadata)) {
|