@procore/bim-webviewer-sdk 10.1.0 → 10.2.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,30 @@ 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
+ ## [Unreleased]
9
+
10
+ ## [10.2.0] - 2024-01-22
11
+
12
+ ### Added
13
+
14
+ - Add new `markup` namespace with methods for drawing markup
15
+ - `markup.setRedlines` - Same as `camera.setMarkup`. Plan is to remove `camera.setMarkup` in a later breaking change.
16
+ - `markup.draw` - new method that allows for drawing in px coords
17
+ - `markup.clear` - clears markup
18
+ - Added new SDK method `gui.getSettings` to get the current settings for the browser session. Currently this only contains the display units.
19
+
20
+ ### Changed
21
+
22
+ - [Breaking Change] `projectSettingsUpdated` and `projectSettingsLoaded` events have payload changes:
23
+ - `projectSettingsUpdated` - payload changed from `{ units: string }` to `{ displayUnits: string }`
24
+ - `projectSettingsLoaded` - payload changed from `{ units: string }` to `{ displayUnits: string }`
25
+ - [Internal] Introduces the `Bootstrapper` class, which implements the viewer initialization process, starting at the point where the ArrayBuffers are in memory, to when the viewer is `renderReady`.
26
+ - [Internal] Moves the pre-fetching of partitions as part of the bootstrapping process for large models, triggered by `Bootstrapper`.
27
+ - [Internal] Breaks up the bootstrapping step handling the parsing of a PWF model into finer grained steps, and makes a couple of them interruptible/resumable.
28
+ - [Internal] Breaks up the bootstrapping step handling the initialization of the node tree into an interruptible/resumable method.
29
+ - [Internal] Breaks up the bootstrapping step handling the BVH construction into an interruptible/resumable method.
30
+ - [Internal] Breaks up the bootstrapping step handling the SceneGraph construction into an interruptible/resumable method.
31
+
8
32
  ## [10.1.0] - 2024-01-08
9
33
 
10
34
  ### Changed