@itwin/presentation-backend 4.0.0-dev.98 → 4.0.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 CHANGED
@@ -1,6 +1,31 @@
1
1
  # Change Log - @itwin/presentation-backend
2
2
 
3
- This log was last generated on Tue, 25 Apr 2023 17:50:35 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 22 May 2023 15:34:14 GMT and should not be manually modified.
4
+
5
+ ## 4.0.0
6
+ Mon, 22 May 2023 15:34:14 GMT
7
+
8
+ ### Updates
9
+
10
+ - Update to eslint@8
11
+ - Documentation improvements
12
+ - Update logging categories under `PresentationBackendNativeLoggerCategory`.
13
+ - Modified supplemental rules to use new content modifier's attribute `applyOnNestedContent`
14
+ - Update `BisCore` supplemental rules to include more `RepositoryLink` properties, including from subclasses.
15
+ - Reduce default backend response timeout from 90 seconds to 5 seconds
16
+ - Fixed diagnostics not being included in error responses
17
+ - Removed IPC method used to track UI state on the backend
18
+ - Added content values formatting to `PresentationManager.getContent`
19
+
20
+ ## 3.7.6
21
+ Mon, 15 May 2023 18:23:41 GMT
22
+
23
+ _Version update only_
24
+
25
+ ## 3.7.5
26
+ Thu, 04 May 2023 19:43:18 GMT
27
+
28
+ _Version update only_
4
29
 
5
30
  ## 3.7.4
6
31
  Tue, 25 Apr 2023 17:50:35 GMT
@@ -453,6 +453,12 @@
453
453
  "label": "Secondary Sources",
454
454
  "parentId": "source_information",
455
455
  "autoExpand": true
456
+ },
457
+ {
458
+ "id": "document_link",
459
+ "label": "Document Link",
460
+ "parentId": "source_information",
461
+ "autoExpand": true
456
462
  }
457
463
  ],
458
464
  "relatedProperties": [
@@ -494,17 +500,25 @@
494
500
  "direction": "Forward"
495
501
  }
496
502
  ],
503
+ "handleTargetClassPolymorphically": true,
497
504
  "properties": [
505
+ {
506
+ "name": "*",
507
+ "categoryId": "document_link"
508
+ },
498
509
  {
499
510
  "name": "UserLabel",
500
- "categoryId": "source_information",
501
511
  "labelOverride": "Name",
502
- "isDisplayed": true
512
+ "isDisplayed": true,
513
+ "doNotHideOtherPropertiesOnDisplayOverride": true
503
514
  },
504
515
  {
505
516
  "name": "Url",
506
- "categoryId": "source_information",
507
517
  "labelOverride": "Path"
518
+ },
519
+ {
520
+ "name": "Model",
521
+ "isDisplayed": false
508
522
  }
509
523
  ],
510
524
  "skipIfDuplicate": true
@@ -678,49 +692,6 @@
678
692
  "labelOverride": "Physical Material"
679
693
  }
680
694
  ]
681
- },
682
- {
683
- "ruleType": "ContentModifier",
684
- "class": {
685
- "schemaName": "BisCore",
686
- "className": "LinkElement"
687
- },
688
- "propertyOverrides": [
689
- {
690
- "isDisplayed": false,
691
- "name": "CodeValue"
692
- },
693
- {
694
- "name": "UserLabel",
695
- "isDisplayed": false
696
- }
697
- ]
698
- },
699
- {
700
- "ruleType": "ContentModifier",
701
- "class": {
702
- "schemaName": "BisCore",
703
- "className": "UrlLink"
704
- },
705
- "propertyOverrides": [
706
- {
707
- "isDisplayed": false,
708
- "name": "Description"
709
- }
710
- ]
711
- },
712
- {
713
- "ruleType": "ContentModifier",
714
- "class": {
715
- "schemaName": "BisCore",
716
- "className": "EmbeddedFileLink"
717
- },
718
- "propertyOverrides": [
719
- {
720
- "isDisplayed": false,
721
- "name": "Description"
722
- }
723
- ]
724
695
  }
725
696
  ]
726
697
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/presentation-backend",
3
- "version": "4.0.0-dev.98",
3
+ "version": "4.0.0",
4
4
  "description": "Backend of iTwin.js Presentation library",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -23,12 +23,12 @@
23
23
  "main": "lib/cjs/presentation-backend.js",
24
24
  "typings": "lib/cjs/presentation-backend",
25
25
  "peerDependencies": {
26
- "@itwin/core-backend": "^4.0.0-dev.98",
27
- "@itwin/core-bentley": "^4.0.0-dev.98",
28
- "@itwin/core-common": "^4.0.0-dev.98",
29
- "@itwin/core-quantity": "^4.0.0-dev.98",
30
- "@itwin/ecschema-metadata": "^4.0.0-dev.98",
31
- "@itwin/presentation-common": "^4.0.0-dev.98"
26
+ "@itwin/core-backend": "^4.0.0",
27
+ "@itwin/core-bentley": "^4.0.0",
28
+ "@itwin/core-common": "^4.0.0",
29
+ "@itwin/core-quantity": "^4.0.0",
30
+ "@itwin/ecschema-metadata": "^4.0.0",
31
+ "@itwin/presentation-common": "^4.0.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@itwin/eslint-plugin": "^4.0.0-dev.33",
@@ -62,13 +62,13 @@
62
62
  "sinon-chai": "^3.2.0",
63
63
  "typemoq": "^2.1.0",
64
64
  "typescript": "~5.0.2",
65
- "@itwin/build-tools": "4.0.0-dev.98",
66
- "@itwin/core-backend": "4.0.0-dev.98",
67
- "@itwin/core-bentley": "4.0.0-dev.98",
68
- "@itwin/core-common": "4.0.0-dev.98",
69
- "@itwin/core-quantity": "4.0.0-dev.98",
70
- "@itwin/ecschema-metadata": "4.0.0-dev.98",
71
- "@itwin/presentation-common": "4.0.0-dev.98"
65
+ "@itwin/build-tools": "4.0.0",
66
+ "@itwin/core-backend": "4.0.0",
67
+ "@itwin/core-bentley": "4.0.0",
68
+ "@itwin/core-common": "4.0.0",
69
+ "@itwin/core-quantity": "4.0.0",
70
+ "@itwin/presentation-common": "4.0.0",
71
+ "@itwin/ecschema-metadata": "4.0.0"
72
72
  },
73
73
  "dependencies": {
74
74
  "object-hash": "^1.3.1",