浏览代码

docs(changelog): add about extra api's in changelog and separate package and library updates (#2813)

Aakansha Doshi 4 年之前
父节点
当前提交
68347ba476
共有 1 个文件被更改,包括 15 次插入8 次删除
  1. 15 8
      src/packages/excalidraw/CHANGELOG.md

+ 15 - 8
src/packages/excalidraw/CHANGELOG.md

@@ -14,14 +14,27 @@ Please add the latest change on the top under the correct section.
 
 
 ## 0.2.0
 ## 0.2.0
 
 
+## Excalidraw API
+
 ### Features
 ### Features
 
 
-- Add toast [#2772](https://github.com/excalidraw/excalidraw/pull/2772)
-- Add `cmd+o` shortcut to load scene [#2732](https://github.com/excalidraw/excalidraw/pull/2732)
+- Exported few [Extra API's](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#extra-apis) which can be used by the host to communicate with Excalidraw.
+
 - Remove language picker, and add `langCode`, `renderFooter` [#2644](https://github.com/excalidraw/excalidraw/pull/2644):
 - Remove language picker, and add `langCode`, `renderFooter` [#2644](https://github.com/excalidraw/excalidraw/pull/2644):
   - BREAKING: removed the language picker from UI. It is now the host app's responsibility to implement a language picker if desirable, using the newly added [`renderFooter`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#renderFooter) prop. The reasoning is that the i18n should be controlled by the app itself, not by the nested Excalidraw component.
   - BREAKING: removed the language picker from UI. It is now the host app's responsibility to implement a language picker if desirable, using the newly added [`renderFooter`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#renderFooter) prop. The reasoning is that the i18n should be controlled by the app itself, not by the nested Excalidraw component.
   - Added [`langCode`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#langCode) prop to control the UI language.
   - Added [`langCode`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#langCode) prop to control the UI language.
 - Add support for `exportToBackend` prop to allow host apps to implement shareable links [#2612](https://github.com/excalidraw/excalidraw/pull/2612/files)
 - Add support for `exportToBackend` prop to allow host apps to implement shareable links [#2612](https://github.com/excalidraw/excalidraw/pull/2612/files)
+
+### Fixes
+
+- Hide collaboration button when the prop `onCollabButtonClick` is not provided [#2598](https://github.com/excalidraw/excalidraw/pull/2598)
+
+## Excalidraw Library
+
+### Features
+
+- Add toast [#2772](https://github.com/excalidraw/excalidraw/pull/2772)
+- Add `cmd+o` shortcut to load scene [#2732](https://github.com/excalidraw/excalidraw/pull/2732)
 - Require use of a preset dialog size; adjust dialog sizing [#2684](https://github.com/excalidraw/excalidraw/pull/2684)
 - Require use of a preset dialog size; adjust dialog sizing [#2684](https://github.com/excalidraw/excalidraw/pull/2684)
 - Add line chart and paste dialog selection [#2670](https://github.com/excalidraw/excalidraw/pull/2670)
 - Add line chart and paste dialog selection [#2670](https://github.com/excalidraw/excalidraw/pull/2670)
 - Tweak editing behavior [#2668](https://github.com/excalidraw/excalidraw/pull/2668)
 - Tweak editing behavior [#2668](https://github.com/excalidraw/excalidraw/pull/2668)
@@ -37,7 +50,6 @@ Please add the latest change on the top under the correct section.
 
 
 ### Fixes
 ### Fixes
 
 
-- Fix typo for initialData and point all links to master [#2707](https://github.com/excalidraw/excalidraw/pull/2707)
 - Fix compile error [#2685](https://github.com/excalidraw/excalidraw/pull/2685)
 - Fix compile error [#2685](https://github.com/excalidraw/excalidraw/pull/2685)
 - Center zoom on iPhone and iPad [#2642](https://github.com/excalidraw/excalidraw/pull/2642)
 - Center zoom on iPhone and iPad [#2642](https://github.com/excalidraw/excalidraw/pull/2642)
 - Allow text-selecting in dialogs & reset cursor [#2783](https://github.com/excalidraw/excalidraw/pull/2783)
 - Allow text-selecting in dialogs & reset cursor [#2783](https://github.com/excalidraw/excalidraw/pull/2783)
@@ -48,7 +60,6 @@ Please add the latest change on the top under the correct section.
 - Consistent case for export locale strings [#2622](https://github.com/excalidraw/excalidraw/pull/2622)
 - Consistent case for export locale strings [#2622](https://github.com/excalidraw/excalidraw/pull/2622)
 - Remove unnecessary console.error as it was polluting Sentry [#2637](https://github.com/excalidraw/excalidraw/pull/2637)
 - Remove unnecessary console.error as it was polluting Sentry [#2637](https://github.com/excalidraw/excalidraw/pull/2637)
 - Fix scroll-to-center on init for non-zero canvas offsets [#2445](https://github.com/excalidraw/excalidraw/pull/2445)
 - Fix scroll-to-center on init for non-zero canvas offsets [#2445](https://github.com/excalidraw/excalidraw/pull/2445)
-- Hide collab button when onCollabButtonClick not supplied [#2598](https://github.com/excalidraw/excalidraw/pull/2598)
 - Fix resizing the pasted charts [#2586](https://github.com/excalidraw/excalidraw/pull/2586)
 - Fix resizing the pasted charts [#2586](https://github.com/excalidraw/excalidraw/pull/2586)
 - Fix element visibility and zoom on cursor when canvas offset isn't 0. [#2534](https://github.com/excalidraw/excalidraw/pull/2534)
 - Fix element visibility and zoom on cursor when canvas offset isn't 0. [#2534](https://github.com/excalidraw/excalidraw/pull/2534)
 - Fix Library Menu Layout [#2502](https://github.com/excalidraw/excalidraw/pull/2502)
 - Fix Library Menu Layout [#2502](https://github.com/excalidraw/excalidraw/pull/2502)
@@ -80,10 +91,6 @@ Please add the latest change on the top under the correct section.
 - Remove the word toggle from labels [#2648](https://github.com/excalidraw/excalidraw/pull/2648)
 - Remove the word toggle from labels [#2648](https://github.com/excalidraw/excalidraw/pull/2648)
 -
 -
 
 
-### Chore
-
-- Bump ini from 1.3.5 to 1.3.7 in /src/packages/excalidraw [#2500](https://github.com/excalidraw/excalidraw/pull/2500)
-
 ### Docs
 ### Docs
 
 
 - Document some of the more exotic element props [#2673](https://github.com/excalidraw/excalidraw/pull/2673)
 - Document some of the more exotic element props [#2673](https://github.com/excalidraw/excalidraw/pull/2673)