@procore/bim-webviewer-sdk 1.10.0 → 2.0.0-BIM-1738

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