@procore/bim-webviewer-sdk 1.10.0 → 2.0.0-rc.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
@@ -5,50 +5,77 @@ 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
+ ## [Unreleased]
9
+
10
+ ## [2.0.0] - 2022-03-25
11
+
12
+ ### Added
13
+
14
+ - 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).
15
+ - Cache object names in the Webviewer SDK. Again, this was done through a Service Worker.
16
+ - 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.
17
+
18
+ ### Changed
19
+
20
+ - [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.
21
+
22
+ ### Removed
23
+
24
+ - [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.
25
+ - [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.
26
+ - Removed `improved_modeltree` option. This was unused as we were already always using the Improved Modeltree
27
+ - Removed `enableClipping` option. This was not doing anything.
28
+
29
+ ### Removed
30
+
31
+ - Removed registration of the Service Worker.
32
+
8
33
  ## [1.10.0] - 2022-03-11
9
34
 
10
- ## Changed
35
+ ### Changed
11
36
 
12
37
  - Refactored Mesh and Meshnode into true primitives implementing lazy evaluation of their attributes, along with caching of Meshnodes.
38
+ - Allow Webviewer to be initialized with File Extraction ID
39
+ - 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
40
 
14
- ## Fixed
41
+ ### Fixed
15
42
 
16
43
  - Model Tree will now render for objects with non-sequential property ID's
17
44
 
18
45
  ## [1.9.0] - 2022-02-28
19
46
 
20
- ## Fixed
47
+ ### Fixed
21
48
 
22
49
  - Fixed issue where moving into low-density zones would cause performance in high-density zones to suffer.
23
50
 
24
- ## Changed
51
+ ### Changed
25
52
 
26
53
  - Updated Style of keyboard shortcuts and tooltips
27
54
 
28
- ## Added
55
+ ### Added
29
56
 
30
57
  - Added translations for search empty state in Properties window
31
58
 
32
59
  ## [1.8.1] - 2022-02-11
33
60
 
34
- ## Added
61
+ ### Added
35
62
 
36
63
  - Add ability to filter properties in the Properties window
37
64
  - Webgl2 support
38
65
 
39
66
  ## [1.7.0] - 2022-01-28
40
67
 
41
- ## Added
68
+ ### Added
42
69
 
43
70
  - Add GUI for rendering parameters behind debug initialization
44
71
 
45
- ## Changed
72
+ ### Changed
46
73
 
47
74
  - Improved transparency accuracy at rest
48
75
 
49
76
  ## [1.6.0] - 2022-01-07
50
77
 
51
- ## Changed
78
+ ### Changed
52
79
 
53
80
  - Improved rendering performance for a more cinematic experience:
54
81
  - Reduced flashing of objects while moving
@@ -56,7 +83,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
56
83
  - Prioritize rendering objects closer to camera while moving
57
84
  - Upgraded threejs to r111
58
85
 
59
- ## Fixed
86
+ ### Fixed
60
87
 
61
88
  - Event for `View Properties` using the context menu now uses `context_menu` for the origin key
62
89
  - New frozen object `ToolOrigin` is used when publishing `selectTool` events on origin key
@@ -70,34 +97,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
70
97
 
71
98
  ## [v1.5.1] - 2021-12-16
72
99
 
73
- ## Fixed
100
+ ### Fixed
74
101
 
75
102
  - Small and far objects are now correctly culled
76
103
 
77
104
  ## [v1.5.0] - 2021-12-10
78
105
 
79
- ## Added
106
+ ### Added
80
107
 
81
108
  - Added culling of small and far objects to improve rendering performance
82
109
  - Added translations for View Properties
83
110
 
84
111
  ## [v1.4.0] - 2021-11-19
85
112
 
86
- ## Added
113
+ ### Added
87
114
 
88
115
  - Added new events `hideSimilarCompleted` and `isolateCompleted`, which are invoked from the right click context menu.
89
116
  - Added `Properties` tool
90
117
 
91
118
  ## [v1.3.4] - 2021-11-12
92
119
 
93
- ## Fixed
120
+ ### Fixed
94
121
 
95
122
  - Section Data from published Viewpoints will now display correctly.
96
123
  - Fixed mouse scroll to zoom on the 2D Plan map modal.
97
124
 
98
125
  ## [v1.3.3] - 2021-11-09
99
126
 
100
- ## Fixed
127
+ ### Fixed
101
128
 
102
129
  - Fixed window components from getting stuck outside the browser window when switching from different window sizes.
103
130
  - Fixed keyboard shortcut for `Shift + Left Click` to select objects while in Fly/Orbit Navigation.