@@ -5,40 +5,55 @@ 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 (#45 )
9
+ - Removed unnecessary ` Unit ` argument in creation functions for ` HTMLImageElement ` and ` HTMLAudioElement ` (#46 )
10
+ - Fixed return type of ` scrollX ` and ` scrollY ` to be ` Effect Number ` , as these can return subpixel values (#17 )
11
+ - Removed ` Newtype ` instances for types with hidden constructors (#39 )
12
+ - Changed ` HTMLInputElement.accept ` attribute type to ` String ` (#47 )
8
13
9
14
New features:
15
+ - Added ` HTMLHyperlinkElementUtils ` module (#44 )
16
+ - Added ` create ` and ` create' ` functions for ` Audio ` (#32 )
17
+ - Added missing attributes for ` HTMLImage ` , including ` srcset ` , ` currentSrc ` , ` sizes ` , ` referrerPolicy ` , ` decoding ` , ` loading ` (#40 )
18
+ - Added common ` PropName ` , ` AttrName ` , and ` ClassName ` which can be reused across libraries representing properties, attributes, and CSS classes (#30 )
10
19
11
20
Bugfixes:
12
21
13
22
Other improvements:
23
+ - Migrated CI to GitHub Actions and updated installation instructions to use Spago (#41 )
24
+ - Removed primes from foreign modules exports in preparation for PureScript 0.15 (#24 )
25
+ - Removed ` return {} ` from FFI implementations for a small performance improvement (#35 )
26
+ - Removed unused explicit exports (#39 )
27
+ - Updated HTML spec link (#34 )
28
+ - Added a CHANGELOG.md file and new pull request template (#48 , #49 , #50 )
14
29
15
30
## [ v2.3.0] ( https://github.com/purescript-web/purescript-web-html/releases/tag/v2.3.0 ) - 2019-09-15
16
31
17
- Added ` head ` for ` HTMLDocument ` (@elliotdavies )
32
+ - Added ` head ` for ` HTMLDocument ` (@elliotdavies )
18
33
19
34
## [ v2.2.2] ( https://github.com/purescript-web/purescript-web-html/releases/tag/v2.2.2 ) - 2019-08-18
20
35
21
- Raised upper bound for ` purescript-web-dom `
36
+ - Raised upper bound for ` purescript-web-dom `
22
37
23
38
## [ v2.2.1] ( https://github.com/purescript-web/purescript-web-html/releases/tag/v2.2.1 ) - 2019-06-02
24
39
25
- Updated dependency ranges for compatibility with latest ` purescript-web-dom `
40
+ - Updated dependency ranges for compatibility with latest ` purescript-web-dom `
26
41
27
42
## [ v2.2.0] ( https://github.com/purescript-web/purescript-web-html/releases/tag/v2.2.0 ) - 2019-05-26
28
43
29
- Added ` opener ` and ` parent ` for ` Window ` (@jonathanlking )
44
+ - Added ` opener ` and ` parent ` for ` Window ` (@jonathanlking )
30
45
31
46
## [ v2.1.0] ( https://github.com/purescript-web/purescript-web-html/releases/tag/v2.1.0 ) - 2019-05-08
32
47
33
- Fixed ` checkValidity ` functions and added ` reportValidity ` (@bosyi )
48
+ - Fixed ` checkValidity ` functions and added ` reportValidity ` (@bosyi )
34
49
35
50
## [ v2.0.1] ( https://github.com/purescript-web/purescript-web-html/releases/tag/v2.0.1 ) - 2019-04-13
36
51
37
- Corrected type for ` HTMLDocument.fromDocument ` (@galenhuntington )
52
+ - Corrected type for ` HTMLDocument.fromDocument ` (@galenhuntington )
38
53
39
54
## [ v2.0.0] ( https://github.com/purescript-web/purescript-web-html/releases/tag/v2.0.0 ) - 2019-02-23
40
55
41
- Bumped ` -web-events ` dependency, ` Event.defaultPrevented ` is now effectful.
56
+ - Bumped ` -web-events ` dependency, ` Event.defaultPrevented ` is now effectful.
42
57
43
58
## [ v1.2.0] ( https://github.com/purescript-web/purescript-web-html/releases/tag/v1.2.0 ) - 2018-10-06
44
59
@@ -55,5 +70,4 @@ Bumped `-web-events` dependency, `Event.defaultPrevented` is now effectful.
55
70
56
71
## [ v1.0.0] ( https://github.com/purescript-web/purescript-web-html/releases/tag/v1.0.0 ) - 2018-05-25
57
72
58
- Initial release
59
-
73
+ - Initial release
0 commit comments