excalidraw / excalidraw-vscode

Excalidraw for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=pomdtr.excalidraw-editor
MIT License
477 stars 60 forks source link

Bump @excalidraw/excalidraw from 0.12.0-32d8221 to 0.12.0 in /webview #73

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps @excalidraw/excalidraw from 0.12.0-32d8221 to 0.12.0.

Release notes

Sourced from @​excalidraw/excalidraw's releases.

v0.12.0 (2022-07-06)

0.12.0 (2022-07-07)

Excalidraw API

Features

  • loadLibraryFromBlob now takes an additional parameter defaultStatus which sets the default status of library item if not present, defaults to unpublished #5067.

  • Add UIOptions.dockedSidebarBreakpoint to customize at which point to break from the docked sidebar #5274.

  • Added support for supplying user id in the Collaborator object (see collaborators in updateScene()), which will be used to deduplicate users when rendering collaborator avatar list. Cursors will still be rendered for every user. #5309

  • Export API to set and reset mouse cursor on the canvas #5215.

  • Export sceneCoordsToViewportCoords and viewportCoordsToSceneCoords utilities #5187.

  • Added useHandleLibrary hook to automatically handle importing of libraries when #addLibrary URL hash key is present, and potentially for initializing library as well #5115.

    Also added parseLibraryTokensFromUrl to help in manually importing library from URL if desired.

    BREAKING CHANGE
    • Libraries are no longer automatically initialized from URL when #addLibrary hash key is present. Host apps now need to handle this themselves with the help of either of the above APIs (useHandleLibrary is recommended).
  • Added updateLibrary API to update (replace/merge) the library #5115.

    BREAKING CHANGE
    • updateScene API no longer supports passing libraryItems. Instead, use the updateLibrary API.
  • Add support for integrating custom elements #5164.

    • Add onPointerDown callback which gets triggered on pointer down events.
    • Add onScrollChange callback which gets triggered when scrolling the canvas.
    • Add API setActiveTool which host can call to set the active tool.
  • Exported loadSceneOrLibraryFromBlob function #5057.

  • Export MIME_TYPES supported by Excalidraw #5135.

  • Support avatarUrl for collaborators. Now onwards host can pass avatarUrl to render the customized avatar for collaborators #5114, renamed in #5177.

  • Support libraryItems argument in initialData.libraryItems and updateScene({ libraryItems }) to be a Promise resolving to LibraryItems, and support functional update of libraryItems in updateScene({ libraryItems }). #5101.

  • Expose util mergeLibraryItems #5101.

  • Expose util exportToClipboard which allows to copy the scene contents to clipboard as svg, png or json #5103.

  • Expose window.EXCALIDRAW_EXPORT_SOURCE which you can use to overwrite the source field in exported data #5095.

  • The exportToBlob utility now supports the exportEmbedScene option when generating a png image #5047.

  • Exported restoreLibraryItems API #4995.

Fixes

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.