@excalidraw/excalidraw 0.14.2-a8e6028 → 0.14.2-b9ba407

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
@@ -11,6 +11,24 @@ The change should be grouped under one of the below section and must contain PR
11
11
  Please add the latest change on the top under the correct section.
12
12
  -->
13
13
 
14
+ ## Unreleased
15
+
16
+ ### Features
17
+
18
+ - [`restoreElements`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/utils/restore#restoreelements) API now takes an optional parameter `opts` which currently supports the below attributes
19
+
20
+ ```js
21
+ { refreshDimensions?: boolean, repairBindings?: boolean }
22
+ ```
23
+
24
+ The same `opts` param has been added to [`restore`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/utils/restore#restore) API as well.
25
+
26
+ For more details refer to the [docs](https://docs.excalidraw.com)
27
+
28
+ #### BREAKING CHANGE
29
+
30
+ - The optional parameter `refreshDimensions` in [`restoreElements`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/utils/restore#restoreelements) has been removed and can be enabled via `opts`
31
+
14
32
  ## 0.14.2 (2023-02-01)
15
33
 
16
34
  ### Features