@procore/bim-webviewer-sdk 10.0.0 → 10.1.0-BIM-3518.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,25 @@ 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
+ ### Added
11
+
12
+ - Add new `markup` namespace with methods for drawing markup
13
+ - `markup.setRedlines` - Same as `camera.setMarkup`. Plan is to remove `camera.setMarkup` in a later breaking change.
14
+ - `markup.draw` - new method that allows for drawing in px coords
15
+ - `markup.clear` - clears markup
16
+ - [Internal] Added new `bim_model` events to track actions from model initialization to downloading.
17
+ - [Internal] Converted Downloader to TypeScript
18
+ - [Internal] Refactored static `archive` methods into their own ArchiveUtils class
19
+
20
+ ## [10.1.0] - 2024-01-08
21
+
22
+ ### Changed
23
+
24
+ - If `options.bcfCamera` is not specified and the model is loaded with a `modelId` and `modelRevisionId`, the camera will default to the Home Viewpoint. The Home Viewpoint represents the primary viewpoint for the model revision, if available. In the absence of a Home Viewpoint, the camera will automatically zoom to fit the entire model, and the Home button will perform the same action.
25
+ - Markup (set with `camera.setMarkup`) is now included in snapshots taken with `camera.getSnapshot` and `camera.getSnapshotDataUrl`.
26
+
8
27
  ## [10.0.0] - 2023-12-11
9
28
 
10
29
  ### Changed