|
@@ -12,20 +12,34 @@ The change should be grouped under one of the below section and must contain PR
|
|
|
Please add the latest change on the top under the correct section.
|
|
|
-->
|
|
|
|
|
|
-## [Unreleased]
|
|
|
+## 0.4.0
|
|
|
|
|
|
## Excalidraw API
|
|
|
|
|
|
### Features
|
|
|
|
|
|
+- Expose `window.EXCALIDRAW_ASSET_PATH` which host can use to load assets from a different URL. By default it will be loaded from `https://unpkg.com/@excalidraw/excalidraw{currentVersion}/dist/`.
|
|
|
+
|
|
|
+ Also now the assets will have a hash in filename so cache bursting can easily happen with version bump.
|
|
|
+
|
|
|
- Add support for `scrollToCenter` in [initialData](https://github.com/excalidraw/excalidraw/blob/master/src/element/types.ts#L18) so host can control whether to scroll to center on mount [#3070](https://github.com/excalidraw/excalidraw/pull/3070).
|
|
|
|
|
|
-- Export [`restore`](https://github.com/excalidraw/excalidraw/blob/master/src/data/restore.ts#L182), [`restoreAppState`](https://github.com/excalidraw/excalidraw/blob/master/src/data/restore.ts#L144) and [`restoreElements`](https://github.com/excalidraw/excalidraw/blob/master/src/data/restore.ts#L128) to host
|
|
|
+- Export [`restore`](https://github.com/excalidraw/excalidraw/blob/master/src/data/restore.ts#L182), [`restoreAppState`](https://github.com/excalidraw/excalidraw/blob/master/src/data/restore.ts#L144) and [`restoreElements`](https://github.com/excalidraw/excalidraw/blob/master/src/data/restore.ts#L128) to host [#3049](https://github.com/excalidraw/excalidraw/pull/3049)
|
|
|
|
|
|
### Fixes
|
|
|
|
|
|
- Show user state only when [userState](https://github.com/excalidraw/excalidraw/blob/master/src/types.ts#L35) is passed on remote pointers during collaboration [#3050](https://github.com/excalidraw/excalidraw/pull/3050)
|
|
|
|
|
|
+## Excalidraw Library
|
|
|
+
|
|
|
+### Features
|
|
|
+
|
|
|
+- Adjust line-confirm-threshold based on zoom [#2884](https://github.com/excalidraw/excalidraw/pull/2884)
|
|
|
+
|
|
|
+### Fixes
|
|
|
+
|
|
|
+- Hide scrollbars on mobile [#3044](https://github.com/excalidraw/excalidraw/pull/3044)
|
|
|
+
|
|
|
## 0.3.1
|
|
|
|
|
|
## Excalidraw API
|