@procore/bim-webviewer-sdk 1.10.0-models-in-documents.1 → 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,13 +4,21 @@ 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
-
8
7
  ## [Unreleased]
9
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
+
10
19
  ### Added
11
20
 
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
- - 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.
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.
14
22
 
15
23
  ### Changed
16
24
 
@@ -22,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
22
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.
23
31
  - Removed `improved_modeltree` option. This was unused as we were already always using the Improved Modeltree
24
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
25
34
 
26
35
  ## [1.10.0] - 2022-03-11
27
36
 
@@ -29,6 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
29
38
 
30
39
  - Refactored Mesh and Meshnode into true primitives implementing lazy evaluation of their attributes, along with caching of Meshnodes.
31
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.
32
42
 
33
43
  ### Fixed
34
44