Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Commit

Permalink
Bump version & update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
embiem committed Nov 8, 2021
1 parent 7051ac0 commit 061e483
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 8 deletions.
36 changes: 29 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,51 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.2.0] - 2021-11-08

### Added

- Support for refreshing the background image
- Grid customization props (grid size, line width & hide axis)
- Export drawing to file/dataUrl using new `getDataURL` function
- Panning & Zooming

### Changed

- z-index no longer hard-coded, allowing overlayed CanvasDraw components
- big refactor, kudos to @markbiddlecom for this mammoth task
- allow React 17 as peer dependency

## [1.1.1] - 2020-04-27

### Added

- Started this CHANGELOG.md file to keep track of any changes per version

### Fixed
- Fix touch draw issue. (https://github.com/embiem/react-canvas-draw/issues/29)
- Fix "Can't draw dots" issue. (https://github.com/embiem/react-canvas-draw/issues/42)
- Fix image not shown due to cache. (https://github.com/embiem/react-canvas-draw/issues/59)
- Fix image issues on canvas resize. (https://github.com/embiem/react-canvas-draw/issues/66)
- Fix SecurityError on save. (https://github.com/embiem/react-canvas-draw/issues/70)

- Fix touch draw issue. (<https://github.com/embiem/react-canvas-draw/issues/29>)
- Fix "Can't draw dots" issue. (<https://github.com/embiem/react-canvas-draw/issues/42>)
- Fix image not shown due to cache. (<https://github.com/embiem/react-canvas-draw/issues/59>)
- Fix image issues on canvas resize. (<https://github.com/embiem/react-canvas-draw/issues/66>)
- Fix SecurityError on save. (<https://github.com/embiem/react-canvas-draw/issues/70>)

### Changed

- Unified touch & mouse events to streamline core draw logic (handleDrawStart, handleDrawMove & handleDrawEnd)

## [1.1.0] - 2019-12-29

### Added
- onChange prop #50 (https://github.com/embiem/react-canvas-draw/pull/50)

- onChange prop #50 (<https://github.com/embiem/react-canvas-draw/pull/50>)

### Fixed
- Fix "Immediate flag should be really immediate" issue #30 (https://github.com/embiem/react-canvas-draw/issues/30)

- Fix "Immediate flag should be really immediate" issue #30 (<https://github.com/embiem/react-canvas-draw/issues/30>)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-canvas-draw",
"version": "1.1.2",
"version": "1.2.0",
"description": "A simple yet powerful canvas-drawing component for React.",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down

0 comments on commit 061e483

Please sign in to comment.