@procore/bim-webviewer-sdk 4.0.0 → 5.0.0-rc.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,6 +5,39 @@ 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
+ ## [5.0.0] - 2022-08-08
9
+
10
+ ### Fixed
11
+
12
+ - Fixed click behaviours for the Model Tree.
13
+ - Right click to display the context menu now works for the entire object row instead of just the div containing the text.
14
+ - Right click on a child of a selected parents keeps the selected rows intact.
15
+ - Fixed Isolate object.
16
+
17
+ ### Added
18
+
19
+ - Updated payloads for the `selectTool`, `objectHide`, and `modelTreeParentInteracted` events to cover new functionality with Model Tree, Context Menu, and Object Actions.
20
+ - Count used for the Hidden Objects coachmark now uses objects hidden rather than a count of the geometry hidden. Objects hidden and selected should now have a matching count.
21
+ - Selected objects count label now displays in the Object Tree.
22
+ - Add `camera.zoomTo*` methods to fit objects in view in various ways.
23
+ - `camera.zoomToSelection = () => { ... }`
24
+ - `camera.zoomToObjects = (objectIds) => { ... }`
25
+ - `camera.zoomToBoundingBox = (bbox) => { ... }`
26
+ - `camera.zoomToGlobal = () => { ... }`
27
+ - Add "Zoom to Selection" to context menu.
28
+ - Right-click an object directly then select "Zoom to Selection" to move the camera in front of that object.
29
+ - Right-click an object from the Object Tree then select "Zoom to Selection" to move the camera in front of that object.
30
+ - Select an object, click the "Object Actions" dropdown in the Object Tree, and then select "Zoom to Selection" to move the camera in front of that object.
31
+
32
+ ### Changed
33
+
34
+ - [Internal] Refactored hide/unhide logic from RenderController and ProcoreRenderer into HiddenNodeServices. These changes should be transparent to third parties and does not break any public facing calls.
35
+
36
+ ## Removed
37
+
38
+ - [BREAKING CHANGE] removes `camera.zoomExtents` method.
39
+ - You can safely replace this with `camera.zoomToBoundingBox` which has the same signature and behavior.
40
+
8
41
  ## [4.0.0] - 2022-07-21
9
42
 
10
43
  ### Changed
package/README.md CHANGED
@@ -4,6 +4,10 @@
4
4
 
5
5
  A JS SDK for viewing and interrogating 3D BIM Models published to Procore. Documentation on the BIM Webviewer SDK can be found at [Procore Developer Portal](https://developers.procore.com/documentation/bim-web-viewer).
6
6
 
7
+ ## Changelog
8
+
9
+ View the CHANGELOG either in the downloaded package or download it directly here: [CHANGELOG](https://unpkg.com/@procore/bim-webviewer-sdk/CHANGELOG.md)
10
+
7
11
  ## License
8
12
 
9
13
  The package is available under the [Procore Developers License](https://developers.procore.com/terms_and_conditions)