Skip to content

Releases: BenJeau/react-native-draw

@benjeau/react-native-draw@0.8.3

18 May 19:10
Compare
Choose a tag to compare

0.8.3 (2022-05-18)

Bug Fixes

  • proper fix for types in IDEs (719f45e)

@benjeau/react-native-draw@0.8.2

18 May 19:10
Compare
Choose a tag to compare

0.8.2 (2022-05-18)

Bug Fixes

  • potential fix for types in IDE (ebda3ca)

@benjeau/react-native-draw-extras@0.2.2

18 May 19:11
Compare
Choose a tag to compare

0.2.2 (2022-05-18)

Bug Fixes

  • proper fix for types in IDEs (719f45e)

@benjeau/react-native-draw-extras@0.2.1

18 May 19:11
Compare
Choose a tag to compare

0.2.1 (2022-05-18)

Bug Fixes

  • potential fix for types in IDE (ebda3ca)

@benjeau/react-native-draw@0.8.1

18 May 19:09
Compare
Choose a tag to compare

0.8.1 (2022-04-03)

Features

@benjeau/react-native-draw@0.8.0

23 Mar 16:28
Compare
Choose a tag to compare

0.8.0 (2022-03-23)

Bug Fixes

Features

  • make publish config public (08b78aa)
  • move to Gesture API introduced with react-native-gesture-handler 2 (#55)

@benjeau/react-native-draw-extras@0.2.0

23 Mar 16:28
Compare
Choose a tag to compare

0.2.0 (2022-03-23)

Features

  • make publish config public (08b78aa)

@benjeau/react-native-draw@0.7.0

07 Feb 18:25
Compare
Choose a tag to compare

0.7.0 (2022-02-07)

Major Update

This version brings many changes in the internal structure of the code, making it more modular, and will allow for different renderers to work. It also removes everything that is not strictly related to the drawing to a separate extras package.

Breaking Changes

  • Component Draw does not exists anymore, it is now Canvas. The Canvas component is less managed (has less state, need to provide more props, such as the color, opacity, thickness)
  • The library is now split into two:
    • @benjeau/react-native-draw for the Canvas component
    • @benjeau/react-native-draw-extras for the CanvasControls, BrushPreview, BrushProperties, and ColorPicker

To get the previous experience of the Draw component, please inspire yourself from the example in the README

  • @benjeau/react-native-draw does not require @react-native-community/slider dependency anymore

Features

  • big refactor to eliminate the need of unused parts (#44) (9a88db9)

@benjeau/react-native-draw-extras@0.1.0

07 Feb 18:25
Compare
Choose a tag to compare

0.1.0 (2022-02-07)

Features

  • big refactor to eliminate the need of unused parts (#44) (9a88db9)

Release 0.6.0

06 Feb 03:46
Compare
Choose a tag to compare

0.6.0 (2022-02-06)

Features

  • combine paths with identical props (except d) (#49) (0b506a6)

Potential Breaking Change

If you are depending on the getPaths() ref function, it now returns data structured differently. Please look at https://github.com/BenJeau/react-native-draw/blob/0b506a6e6ca55efbdf4f65b228763d0e8f01e101/src/types.ts for the new types (the data and path attributes are now nested in arrays to group paths with the same properties (opacity, color, and thickness). It also contains a combine attribute where if true means that the paths should be combined within one SVG path, or it should be treated as multiple different SVG paths.