@procore/bim-webviewer-sdk 1.10.0-rc.0 → 2.0.0-rc.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 CHANGED
@@ -5,50 +5,72 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
7
7
 
8
+ ## [2.0.0] - 2022-03-25
9
+
10
+ ### Added
11
+
12
+ - Cache models in the Webviewer SDK. Up till now the only way we allowed for cached models was through a Service Worker provided separately from this npm package (or implementing one yourself).
13
+ - Cache object names in the Webviewer SDK. Again, this was done through a Service Worker.
14
+ - Use `npm run cy:start-app-server` to start a local server for running Cypress tests against. Running this instead of `npm run dev` will allow Cypress tests to be tracked by our code coverage report.
15
+
16
+ ### Changed
17
+
18
+ - [BREAKING CHANGE] Change `enableWebWorker` option default to true. If you were not declaring this option before and want to maintain the old behavior then you must set `enableWebWorker: false`. We will still check if Web Workers are supported by the environment even if this is unset or set to true and gracefully fallback if they are not supported.
19
+
20
+ ### Removed
21
+
22
+ - [BREAKING CHANGE] Removed `improved_raytest` option and always use the Improved Raytest codepath. If you were using `improved_raytest: false` or not defining it then you will see different behavior on this version.
23
+ - [BREAKING CHANGE] Removed `rest_version` option. If you were previously using the `/vapid/` endpoints specifically with this option, you will now be using the `rest/v1.0` endpoints. This option defaulted to use the `rest/v1.0` endpoints so no change necessary if you were not using it.
24
+ - Removed `improved_modeltree` option. This was unused as we were already always using the Improved Modeltree
25
+ - Removed `enableClipping` option. This was not doing anything.
26
+ - Removed registration of the Service Worker.
27
+
8
28
  ## [1.10.0] - 2022-03-11
9
29
 
10
- ## Changed
30
+ ### Changed
11
31
 
12
32
  - Refactored Mesh and Meshnode into true primitives implementing lazy evaluation of their attributes, along with caching of Meshnodes.
33
+ - Allow Webviewer to be initialized with File Extraction ID
34
+ - Refactored Performance Benchmark to promises so that each sample takes exactly as long as it needs. This is faster than before where we just waited long enough (500ms) for things to finish.
13
35
 
14
- ## Fixed
36
+ ### Fixed
15
37
 
16
38
  - Model Tree will now render for objects with non-sequential property ID's
17
39
 
18
40
  ## [1.9.0] - 2022-02-28
19
41
 
20
- ## Fixed
42
+ ### Fixed
21
43
 
22
44
  - Fixed issue where moving into low-density zones would cause performance in high-density zones to suffer.
23
45
 
24
- ## Changed
46
+ ### Changed
25
47
 
26
48
  - Updated Style of keyboard shortcuts and tooltips
27
49
 
28
- ## Added
50
+ ### Added
29
51
 
30
52
  - Added translations for search empty state in Properties window
31
53
 
32
54
  ## [1.8.1] - 2022-02-11
33
55
 
34
- ## Added
56
+ ### Added
35
57
 
36
58
  - Add ability to filter properties in the Properties window
37
59
  - Webgl2 support
38
60
 
39
61
  ## [1.7.0] - 2022-01-28
40
62
 
41
- ## Added
63
+ ### Added
42
64
 
43
65
  - Add GUI for rendering parameters behind debug initialization
44
66
 
45
- ## Changed
67
+ ### Changed
46
68
 
47
69
  - Improved transparency accuracy at rest
48
70
 
49
71
  ## [1.6.0] - 2022-01-07
50
72
 
51
- ## Changed
73
+ ### Changed
52
74
 
53
75
  - Improved rendering performance for a more cinematic experience:
54
76
  - Reduced flashing of objects while moving
@@ -56,7 +78,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
56
78
  - Prioritize rendering objects closer to camera while moving
57
79
  - Upgraded threejs to r111
58
80
 
59
- ## Fixed
81
+ ### Fixed
60
82
 
61
83
  - Event for `View Properties` using the context menu now uses `context_menu` for the origin key
62
84
  - New frozen object `ToolOrigin` is used when publishing `selectTool` events on origin key
@@ -70,34 +92,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
70
92
 
71
93
  ## [v1.5.1] - 2021-12-16
72
94
 
73
- ## Fixed
95
+ ### Fixed
74
96
 
75
97
  - Small and far objects are now correctly culled
76
98
 
77
99
  ## [v1.5.0] - 2021-12-10
78
100
 
79
- ## Added
101
+ ### Added
80
102
 
81
103
  - Added culling of small and far objects to improve rendering performance
82
104
  - Added translations for View Properties
83
105
 
84
106
  ## [v1.4.0] - 2021-11-19
85
107
 
86
- ## Added
108
+ ### Added
87
109
 
88
110
  - Added new events `hideSimilarCompleted` and `isolateCompleted`, which are invoked from the right click context menu.
89
111
  - Added `Properties` tool
90
112
 
91
113
  ## [v1.3.4] - 2021-11-12
92
114
 
93
- ## Fixed
115
+ ### Fixed
94
116
 
95
117
  - Section Data from published Viewpoints will now display correctly.
96
118
  - Fixed mouse scroll to zoom on the 2D Plan map modal.
97
119
 
98
120
  ## [v1.3.3] - 2021-11-09
99
121
 
100
- ## Fixed
122
+ ### Fixed
101
123
 
102
124
  - Fixed window components from getting stuck outside the browser window when switching from different window sizes.
103
125
  - Fixed keyboard shortcut for `Shift + Left Click` to select objects while in Fly/Orbit Navigation.