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

Commit 061e483

Browse files
committed
Bump version & update changelog
1 parent 7051ac0 commit 061e483

File tree

2 files changed

+30
-8
lines changed

2 files changed

+30
-8
lines changed

CHANGELOG.md

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,51 @@
11
# Changelog
2+
23
All notable changes to this project will be documented in this file.
34

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

78
## [Unreleased]
89

10+
## [1.2.0] - 2021-11-08
11+
12+
### Added
13+
14+
- Support for refreshing the background image
15+
- Grid customization props (grid size, line width & hide axis)
16+
- Export drawing to file/dataUrl using new `getDataURL` function
17+
- Panning & Zooming
18+
19+
### Changed
20+
21+
- z-index no longer hard-coded, allowing overlayed CanvasDraw components
22+
- big refactor, kudos to @markbiddlecom for this mammoth task
23+
- allow React 17 as peer dependency
924

1025
## [1.1.1] - 2020-04-27
26+
1127
### Added
28+
1229
- Started this CHANGELOG.md file to keep track of any changes per version
1330

1431
### Fixed
15-
- Fix touch draw issue. (https://github.com/embiem/react-canvas-draw/issues/29)
16-
- Fix "Can't draw dots" issue. (https://github.com/embiem/react-canvas-draw/issues/42)
17-
- Fix image not shown due to cache. (https://github.com/embiem/react-canvas-draw/issues/59)
18-
- Fix image issues on canvas resize. (https://github.com/embiem/react-canvas-draw/issues/66)
19-
- Fix SecurityError on save. (https://github.com/embiem/react-canvas-draw/issues/70)
32+
33+
- Fix touch draw issue. (<https://github.com/embiem/react-canvas-draw/issues/29>)
34+
- Fix "Can't draw dots" issue. (<https://github.com/embiem/react-canvas-draw/issues/42>)
35+
- Fix image not shown due to cache. (<https://github.com/embiem/react-canvas-draw/issues/59>)
36+
- Fix image issues on canvas resize. (<https://github.com/embiem/react-canvas-draw/issues/66>)
37+
- Fix SecurityError on save. (<https://github.com/embiem/react-canvas-draw/issues/70>)
2038

2139
### Changed
40+
2241
- Unified touch & mouse events to streamline core draw logic (handleDrawStart, handleDrawMove & handleDrawEnd)
2342

2443
## [1.1.0] - 2019-12-29
44+
2545
### Added
26-
- onChange prop #50 (https://github.com/embiem/react-canvas-draw/pull/50)
46+
47+
- onChange prop #50 (<https://github.com/embiem/react-canvas-draw/pull/50>)
2748

2849
### Fixed
29-
- Fix "Immediate flag should be really immediate" issue #30 (https://github.com/embiem/react-canvas-draw/issues/30)
50+
51+
- Fix "Immediate flag should be really immediate" issue #30 (<https://github.com/embiem/react-canvas-draw/issues/30>)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-canvas-draw",
3-
"version": "1.1.2",
3+
"version": "1.2.0",
44
"description": "A simple yet powerful canvas-drawing component for React.",
55
"main": "lib/index.js",
66
"module": "es/index.js",

0 commit comments

Comments
 (0)