Skip to content

Latest commit

 

History

History
383 lines (166 loc) · 14 KB

CHANGELOG.md

File metadata and controls

383 lines (166 loc) · 14 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.6.1 (2019-07-02)

Bug Fixes

  • handle null return value from msElementsFromPoint (b7a67ad)
  • make individual shape focus work on Safari (8f515e5)

2.6.0 (2019-06-19)

Features

  • pass handle name prop to resize handle component (1c2fbde)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.5.2 (2019-05-30)

Bug Fixes

  • make handles disappear at the right level of crampedness (323aff9)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.5.1 (2019-05-30)

Bug Fixes

  • keep default group selection outline a consistent width (034f286)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.5.0 (2019-05-30)

Features

  • add nativeActive prop to wrapped shapes and resize handles (20bec0f)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.4.2 (2019-05-30)

Bug Fixes

  • another IE11 fix, this time for el.dataset handling (ad8721f)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.4.1 (2019-05-30)

Bug Fixes

  • make shift-click work on IE 11 (be5b463)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.4.0 (2019-05-28)

Features

  • use minimumDistanceForSelection to avoid extra selection on click (3e842f7)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.3.0 (2019-05-21)

Features

  • make the delete key also work for deletion (10652c5)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.2.2 (2019-05-20)

Performance Improvements

  • only trigger change when shape has actually changed (a234277)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.2.1 (2019-05-20)

Bug Fixes

  • properly update selection on child creation/update/deletion (6bfa94f)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.2.0 (2019-05-20)

Features

  • add prop to customize SelectionComponent's props (2bf3a62)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.1.2 (2019-05-20)

Bug Fixes

  • remove unnecessary focus clearing on shape add/delete (389c28e)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.1.1 (2019-05-17)

Bug Fixes

  • remove excess props from svg node (4ea3dfe)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.1.0 (2019-05-17)

Features

  • add props to disable focus-on-add/delete behavior (0d857fb)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.0.1 (2019-05-17)

Performance Improvements

  • skip unnecessary extra render for selection (7f10dc1)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.0.0 (2019-05-16)

Bug Fixes

  • remove incorrect parameter sent to constrainResize (695a30e)

Code Refactoring

  • require unique shapeId for each shape (e90014d)

Features

  • enable multiple selections with SelectionLayer (5679c45)

BREAKING CHANGES

  • the original width and height of the shape are no longer provided as callback parameters to constrainResize. They can still be derived from the coordinates inside originalMovingCorner and startCorner, however.
  • each shape now requires a unique shapeId string

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.2.1 (2019-04-26)

Bug Fixes

  • handle case when child node is null (90b4955)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.2.0 (2019-04-25)

Features

  • pass the shape props on callbacks for easier render optimization (700bc0f)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.1.1 (2019-04-24)

Performance Improvements

  • avoid unnecessary shape re-render (f9dc010)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.1.0 (2019-04-24)

Features

  • add wrapperProps prop to give props directly to wrapper (4be6f1e)
  • pass the event object that triggered onDelete to the callback (6201a68)

Performance Improvements

  • use React.PureComponent in the wrapper for performance (622ae10)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.0.1 (2019-04-17)

Bug Fixes

  • make initial focus work after mount (f1bd886)
  • rearrange handle order to look better when overlapped (da4c4e0)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.0.0 (2019-04-17)

Bug Fixes

  • make it work in IE11 (a1dd766)
  • prevent bug where focus would snap to other shape on click (cb9b6d0)

Code Refactoring

  • move DrawLayer out into its own component (8b4ab74)
  • move image layer into its own component (c2a4270)

Features

  • allow custom onFocus/onBlur logic (b1a8d7c)
  • allow for custom corner component (448ca64)
  • implement refocus after deletion, focusing on the previous shape in order (e6e00fc)
  • modify deletion focus logic to go to closest neighbor position-wise (a6ae2ff)

Performance Improvements

  • fix slow image rendering performance (28bae81)

BREAKING CHANGES

  • DrawLayer must be added manually, and many props were accordingly migrated away from ShapeEditor to their corresponding components
  • planeImageSrc no longer works. Use ImageLayer instead

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.1.0 (2019-04-15)

Bug Fixes

  • add fix for big shifts in location during resize at some zoom levels (49b8b52)
  • handle some more hairy precision problems (1d708cb)

Features

  • add API to restrain movement and resizing (5d7c441)
  • add concept of focus to shapes (3f27a6f)
  • add deletion via backspace key (a0615de)
  • add keyboard shortcuts for moving and resizing (d5a100b)
  • add resizing (ac9fa9a)
  • add the ability to disable drawing mode (27f9813)
  • allow the user to disable interaction on a per-shape basis (c295806)
  • allow the user to specify the appearance of the draw preview (fdd9043)
  • make it non-scrolling by default (2a7fbf6)
  • move shapes (5fe4892)
  • provide pre-transform coordinates to the constrict callbacks (686c6fe)
  • switch to svg for performance reasons (153fbc9)

Performance Improvements

  • migrate all mouse event handling to a central parent handler (d69b06c)
  • move the drawing logic to different component for perf reasons (886a094)