Skip to content

Releases: personalizedrefrigerator/js-draw

v1.26.0

03 Jan 11:03
Compare
Choose a tag to compare

1.26.0

  • Bug fixes and improvements
    • Selection tool: Improved keyboard focus behavior when opening and closing the selection menu.
    • Selection tool: Increased touch target size for the selection menu button.
    • Text tool: Fixed text tool edits existing text in some cases when it shouldn't.
    • API: Fixed EditorImage.getLeavesIntersectingRegion sometimes included items with bounding boxes that do not intersect the target region.
    • Collaborative editing: Selection tool: Fix duplications created with ctrl+d while moving the selection failed to properly sync.
  • Other changes
    • Selection UI: Updated the selection overflow menu icon to use IconProvider as the icon source.
    • Update license year
    • Build system: Migrated from Webpack to ESBuild.

v1.25.0

21 Dec 00:56
Compare
Choose a tag to compare

1.25.0

  • New APIs
    • Allow overriding the default global clipboard API using EditorSettings.
  • Bug fixes
    • Prevent enter from finalizing TextComponents if composing.
  • Other changes
    • Allow text/plain clipboard data to be auto-detected as SVG when pasting.

v1.24.2

04 Dec 17:33
Compare
Choose a tag to compare

1.24.2

  • Bug fixes
    • Fixed: Nested text components were not rendered near the default maximum zoom level.
    • Optimized regular expression in Mat33.

v1.24.1

04 Dec 16:37
Compare
Choose a tag to compare

1.24.0, 1.24.1

  • New APIs:
    • Simplified API for positioning HTML elements above a canvas (6bac2a3).
  • Bug fixes
    • Optimized regular expressions (c0d807b).
    • Fix long lines in text editors can push the cursor out of the editor (6bac2a3).

v1.24.0

04 Dec 16:31
Compare
Choose a tag to compare

1.24.0

  • New APIs:
    • Simplified API for positioning HTML elements above a canvas (6bac2a3).
  • Bug fixes:
    • Optimized regular expressions in decimal point removal, CSS matrix parsing (c0d807b).
    • Fix long lines in text editors can push the cursor out of the editor (6bac2a3).

v1.23.1

26 Nov 02:05
Compare
Choose a tag to compare

1.23.0, 1.23.1

  • Features
    • @js-draw/math: Added Color4.fromRGBArray.
    • @js-draw/material-icons: Added option to create material icons for a specific instance/version of js-draw. This should allow including @js-draw/material-icons as a bundle directly from a CDN.
  • Bug fixes
    • Fix notices specified in editor settings were not shown in the about dialog (commit)
  • Other changes
    • Rename "touchscreen panning" to "scroll with touch" in the default localization (commit).
    • Replace several instances of .innerHTML with calls to .createElement (commit).

v1.23.0

26 Nov 01:57
Compare
Choose a tag to compare

1.23.0

  • Features
    • @js-draw/math: Added Color4.fromRGBArray.
    • @js-draw/material-icons: Added option to create material icons for a specific instance/version of js-draw. This should allow including @js-draw/material-icons as a bundle directly from a CDN.
  • Bug fixes
    • Fix notices specified in editor settings were not shown in the about dialog (commit)
  • Other changes
    • Rename "touchscreen panning" to "scroll with touch" in the default localization (commit).
    • Replace several instances of .innerHTML with calls to .createElement (commit).

v1.22.0

12 Nov 06:51
Compare
Choose a tag to compare

What's Changed

  • Features
    • Improved copy/paste error handling. If copy/paste from a UI button with the clipboard API fails, js-draw now attempts to use document.execCommand. Additionally, if document.execCommand fails, a section that allows manually copying images has been added to the error dialog.
    • Make rectangle, line, and arrow shape builders public. This allows selecting all built-in pen styles programmatically. For details, see the Pen.setStrokeFactory documentation.
    • Increased selection popover menu button size.
  • Bug fixes
    • Pen tool menu: Hide "shape" or "pen type" selectors when they lack content.
    • Fix error when calling .flatten on a canvas-backed Display immediately after creating an editor.
  • Other changes
    • Formatted the js-draw codebase with prettier.

Full Changelog: v1.21.3...v1.22.0

v1.21.3

23 Sep 18:17
Compare
Choose a tag to compare

1.21.3

  • Bug fixes
    • Fix tools/ directory incorrectly in .npmignore.

v1.21.2

23 Sep 18:07
Compare
Choose a tag to compare
  • Bug fixes
    • Fix copy icon is small when the selection context menu is opened near the screen edge.
    • Prevent selection from flashing when opening the context menu by long-pressing outside the selection box.
    • Remove from-root imports (import ... from 'js-draw/...).

Full Changelog: v1.21.1...v1.21.2