@procore/bim-webviewer-sdk 2.0.0-rc.1 → 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 +2 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,10 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
### Added
|
|
11
11
|
|
|
12
|
-
-
|
|
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
|
-
|
|
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.
|
|
16
13
|
### Changed
|
|
17
14
|
|
|
18
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.
|
|
@@ -23,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
23
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.
|
|
24
21
|
- Removed `improved_modeltree` option. This was unused as we were already always using the Improved Modeltree
|
|
25
22
|
- Removed `enableClipping` option. This was not doing anything.
|
|
26
|
-
- Removed
|
|
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
|
|
27
24
|
|
|
28
25
|
## [1.10.0] - 2022-03-11
|
|
29
26
|
|