@@ -5,124 +5,128 @@ Notable changes to this project are documented in this file. The format is based
5
5
## [ Unreleased]
6
6
7
7
Breaking changes:
8
+ - Added support for PureScript 0.14 and dropped support for all previous versions (#71 )
8
9
9
10
New features:
11
+ - Added ` Eq ` instances for ` LineJoin ` , ` Composite ` , ` TextAlign ` , and ` PatternRepeat ` (#67 )
12
+ - Added ` TextBaseline ` (#66 )
10
13
11
14
Bugfixes:
15
+ - Fixed order of arguments in ` withContext ` documentation example (#69 )
12
16
13
17
Other improvements:
18
+ - Migrated CI to GitHub Actions and updated installation instructions to use Spago (#70 )
19
+ - Added a CHANGELOG.md file and pull request template (#73 , #74 )
14
20
15
21
## [ v4.0.0] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v4.0.0 ) - 2018-06-20
16
22
17
- - Updates for 0.12 compiler (@sharno )
23
+ - Updated for 0.12 compiler (@sharno )
18
24
- The ` Rectangle ` and ` Arc ` types now use the field names ` width ` , ` height ` and ` radius ` , instead of ` w ` , ` h ` and ` r ` .
19
25
20
26
## [ v3.3.0] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v3.3.0 ) - 2017-11-19
21
27
22
- Export ` setTransform ` (@yilinwei )
28
+ - Exported ` setTransform ` (@yilinwei )
23
29
24
30
## [ v3.2.0] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v3.2.0 ) - 2017-10-05
25
31
26
- Add ` setTransform ` (@yilinwei )
32
+ - Added ` setTransform ` (@yilinwei )
27
33
28
34
## [ v3.1.0] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v3.1.0 ) - 2017-06-29
29
35
30
36
- Add an ` Eq ` instance for ` LineCap ` (#48 , @ijks )
31
37
32
38
## [ v3.0.0] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v3.0.0 ) - 2017-04-03
33
39
34
- Updates for 0.11 (@jasonzoladz )
40
+ - Updated for 0.11 (@jasonzoladz )
35
41
36
42
## [ v1.0.0] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v1.0.0 ) - 2016-06-11
37
43
38
- - Updates for 1.0 core libraries and 0.9.1 compiler. This library will not work with compiler versions < 0.9.1. (@soupi )
39
- - Change ` Canvas ` effect to use uppercase (` CANVAS ` )
44
+ - Updated for 1.0 core libraries and 0.9.1 compiler. This library will not work with compiler versions < 0.9.1. (@soupi )
45
+ - Changed ` Canvas ` effect to use uppercase (` CANVAS ` )
40
46
41
47
## [ v0.5.4] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.5.4 ) - 2016-05-11
42
48
43
- Add ` setLineJoin ` (@rgrempel )
49
+ - Added ` setLineJoin ` (@rgrempel )
44
50
45
51
## [ v0.5.3] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.5.3 ) - 2016-04-10
46
52
47
- Fix ` setGlobalAlpha ` (@igagen )
53
+ - Fixed ` setGlobalAlpha ` (@igagen )
48
54
49
55
## [ v0.5.2] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.5.2 ) - 2016-03-11
50
56
51
- New blend modes (@igagen )
57
+ - Added new blend modes (@igagen )
52
58
53
59
## [ v0.5.1] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.5.1 ) - 2016-03-10
54
60
55
- Add support for patterns (@igagen )
61
+ - Added support for patterns (@igagen )
56
62
57
63
## [ v0.5.0] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.5.0 ) - 2016-03-08
58
64
59
- ` withImage ` is now ` tryLoadImage ` (@igagen )
65
+ - Changed ` withImage ` to ` tryLoadImage ` (@igagen )
60
66
61
67
## [ v0.4.0] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.4.0 ) - 2015-12-17
62
68
63
- Changes to ` ImageData ` .
69
+ - Made changes to ` ImageData ` .
64
70
65
71
## [ v0.3.5] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.3.5 ) - 2015-12-11
66
72
67
- Fix compiler warnings (@jotrk )
73
+ - Fixed compiler warnings (@jotrk )
68
74
69
75
## [ v0.3.4] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.3.4 ) - 2015-11-02
70
76
71
- Add ` withImage ` (@izgzhen )
77
+ - Added ` withImage ` (@izgzhen )
72
78
73
79
## [ v0.3.3] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.3.3 ) - 2015-09-13
74
80
75
- Add support for Bezier curves (@jasonzoladz )
81
+ - Added support for Bezier curves (@jasonzoladz )
76
82
77
83
## [ v0.3.2] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.3.2 ) - 2015-09-07
78
84
79
- Add gradient support (@jasonzoladz )
85
+ - Added gradient support (@jasonzoladz )
80
86
81
87
## [ v0.3.1] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.3.1 ) - 2015-08-14
82
88
83
- Add ` drawImage ` (@puffnfresh )
89
+ - Added ` drawImage ` (@puffnfresh )
84
90
85
91
## [ v0.3.0] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.3.0 ) - 2015-06-30
86
92
87
- This release works with versions 0.7.\* of the PureScript compiler. It will not work with older versions. If you are using an older version, you should require an older, compatible version of this library.
93
+ - This release works with versions 0.7.\* of the PureScript compiler. It will not work with older versions. If you are using an older version, you should require an older, compatible version of this library.
88
94
89
95
## [ v0.3.0-rc.1] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.3.0-rc.1 ) - 2015-06-17
90
96
91
- Initial candidate release for 0.7 compiler.
97
+ - Initial candidate release for 0.7 compiler.
92
98
93
99
## [ v0.2.0] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.2.0 ) - 2014-12-03
94
100
95
- - ` getCanvasElementById ` has been made safe, this is a breaking change as the result is now ` Maybe CanvasElement `
96
- - ` strokeText ` is now fixed, previously was filling text
97
- - Added ` TextAlign ` , ` setTextAlign ` and ` textAlign `
98
-
99
- All by @hdgarrood
101
+ - ` getCanvasElementById ` has been made safe, this is a breaking change as the result is now ` Maybe CanvasElement ` (@hdgarrood )
102
+ - ` strokeText ` is now fixed, previously was filling text (@hdgarrood )
103
+ - Added ` TextAlign ` , ` setTextAlign ` and ` textAlign ` (@hdgarrood )
100
104
101
105
## [ v0.1.6] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.1.6 ) - 2014-10-28
102
106
103
-
107
+ - Added global composite and alpha functions ( # 6 , @ jdeseno )
104
108
105
109
## [ v0.1.5] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.1.5 ) - 2014-08-30
106
110
107
-
111
+ - Added methods for dealing with text ( # 3 , @ waterson )
108
112
109
113
## [ v0.1.4] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.1.4 ) - 2014-08-20
110
114
111
-
115
+ - Added line cap and dimensions bindings ( # 1 , @ fresheyeball )
112
116
113
117
## [ v0.1.3] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.1.3 ) - 2014-08-16
114
118
115
-
119
+ - Fixed shadow offset method
116
120
117
121
## [ v0.1.2] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.1.2 ) - 2014-08-13
118
122
119
-
123
+ - Added ` closePath `
120
124
121
125
## [ v0.1.1] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.1.1 ) - 2014-08-13
122
126
123
-
127
+ - Updated documentation
124
128
125
129
## [ v0.1.0] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v0.1.0 ) - 2014-08-13
126
130
127
-
131
+ - Initial release
128
132
0 commit comments