@procore/bim-webviewer-sdk 2.0.0-rc.0 → 2.1.0-BIM-1749-rc1
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
|
@@ -7,13 +7,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- BREAKING CHANGE - Static method Cache.removeModel use to return false if a model could not be removed from cache. It will now throw an error.
|
|
13
|
+
- NOT GENERALLY AVAILABLE - Gated by the 'bim-webviewer-effect-composition' LanchDarkly switch. Uses the EffectComposer rendering pipeline to generate the 3D views. This is released as an experiment to understand the impact on staging and production.
|
|
14
|
+
- Refactored Node into a true primitive, implementing lazy evaluation of its attributes.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- Added mechanism to only cache the most recently viewed version of a model when the model was loaded with a `fileExtractionId`.
|
|
19
|
+
- This behavior already existed for models loaded with a `modelId` and `modelRevisionId`.
|
|
20
|
+
- `Cache.removeModel(options)` now removes models loaded with a `fileExtractionId` when `options` contains that `fileExtractionId`.
|
|
21
|
+
- This behavior already existed for models loaded with a `modelId` and `modelRevisionId` when `options` contains `modelId`.
|
|
22
|
+
|
|
23
|
+
## [2.1.0] - 2022-04-18
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- Improve accuracy of transparency once at rest
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
|
|
31
|
+
- Added loading states out of the box. These can be enabled by adding the `LOADING` tool to the `tools` array when initializing the Webviewer. For example: `tools: [Webviewer.tools.LOADING]`.
|
|
32
|
+
|
|
33
|
+
### Fixed
|
|
34
|
+
|
|
35
|
+
- Fixed CSS issue in Model Objects tree window involving alignment of the show/hide toggles.
|
|
36
|
+
|
|
10
37
|
## [2.0.0] - 2022-03-25
|
|
11
38
|
|
|
12
39
|
### Added
|
|
13
40
|
|
|
14
|
-
-
|
|
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.
|
|
41
|
+
- 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.
|
|
17
42
|
|
|
18
43
|
### Changed
|
|
19
44
|
|
|
@@ -25,10 +50,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
25
50
|
- [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
51
|
- Removed `improved_modeltree` option. This was unused as we were already always using the Improved Modeltree
|
|
27
52
|
- Removed `enableClipping` option. This was not doing anything.
|
|
28
|
-
|
|
29
|
-
### Removed
|
|
30
|
-
|
|
31
|
-
- Removed registration of the Service Worker.
|
|
53
|
+
- 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
|
|
32
54
|
|
|
33
55
|
## [1.10.0] - 2022-03-11
|
|
34
56
|
|