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