From bbea660962995190d5bead85edb0d8fbc1c63f08 Mon Sep 17 00:00:00 2001 From: Thomas Honeyman Date: Tue, 19 Jan 2021 17:04:35 -0800 Subject: [PATCH 1/2] Update changelog for changes since v2.3.0 --- CHANGELOG.md | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a17f4b..fcf3944 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,40 +5,56 @@ Notable changes to this project are documented in this file. The format is based ## [Unreleased] Breaking changes: +- Added support for PureScript 0.14 and dropped support for all previous versions (#45) +- Removed unnecessary `Unit` argument in creation functions for `HTMLImageElement` and `HTMLAudioElement` (#46) New features: +- Added `HTMLHyperlinkElementUtils` module (#44) +- Added `create` and `create'` functions for `Audio` (#32) +- Added missing attributes for `HTMLImage`, including `srcset`, `currentSrc`, `sizes`, `referrerPolicy`, `decoding`, `loading` (#40) +- Added common `PropName`, `AttrName`, and `ClassName` which can be reused across libraries representing properties, attributes, and CSS classes (#30) Bugfixes: +- Fixed return type of `scrollX` and `scrollY` to be `Effect Number`, as these can return subpixel values (#17) +- Removed `Newtype` instances for types with hidden constructors (#39) +- Changed `HTMLInputElement.accept` attribute type to `String` (#47) Other improvements: +- Migrated CI to GitHub Actions and updated installation instructions to use Spago (#41) +- Removed primes from foreign modules exports in preparation for PureScript 0.15 (#24) +- Removed `return {}` from FFI implementations for a small performance improvement (#35) +- Removed unused explicit exports (#39) +- Updated HTML spec link (#34) +- Added a CHANGELOG.md file and new pull request template (#48, #50) +- Removed old pull request template (#49) ## [v2.3.0](https://github.com/purescript-web/purescript-web-html/releases/tag/v2.3.0) - 2019-09-15 -Added `head` for `HTMLDocument` (@elliotdavies) +- Added `head` for `HTMLDocument` (@elliotdavies) ## [v2.2.2](https://github.com/purescript-web/purescript-web-html/releases/tag/v2.2.2) - 2019-08-18 -Raised upper bound for `purescript-web-dom` +- Raised upper bound for `purescript-web-dom` ## [v2.2.1](https://github.com/purescript-web/purescript-web-html/releases/tag/v2.2.1) - 2019-06-02 -Updated dependency ranges for compatibility with latest `purescript-web-dom` +- Updated dependency ranges for compatibility with latest `purescript-web-dom` ## [v2.2.0](https://github.com/purescript-web/purescript-web-html/releases/tag/v2.2.0) - 2019-05-26 -Added `opener` and `parent` for `Window` (@jonathanlking) +- Added `opener` and `parent` for `Window` (@jonathanlking) ## [v2.1.0](https://github.com/purescript-web/purescript-web-html/releases/tag/v2.1.0) - 2019-05-08 -Fixed `checkValidity` functions and added `reportValidity` (@bosyi) +- Fixed `checkValidity` functions and added `reportValidity` (@bosyi) ## [v2.0.1](https://github.com/purescript-web/purescript-web-html/releases/tag/v2.0.1) - 2019-04-13 -Corrected type for `HTMLDocument.fromDocument` (@galenhuntington) +- Corrected type for `HTMLDocument.fromDocument` (@galenhuntington) ## [v2.0.0](https://github.com/purescript-web/purescript-web-html/releases/tag/v2.0.0) - 2019-02-23 -Bumped `-web-events` dependency, `Event.defaultPrevented` is now effectful. +- Bumped `-web-events` dependency, `Event.defaultPrevented` is now effectful. ## [v1.2.0](https://github.com/purescript-web/purescript-web-html/releases/tag/v1.2.0) - 2018-10-06 @@ -55,5 +71,4 @@ Bumped `-web-events` dependency, `Event.defaultPrevented` is now effectful. ## [v1.0.0](https://github.com/purescript-web/purescript-web-html/releases/tag/v1.0.0) - 2018-05-25 -Initial release - +- Initial release From 5143c270967356047d9dee16d5e10307011f76c6 Mon Sep 17 00:00:00 2001 From: Thomas Honeyman Date: Tue, 19 Jan 2021 18:02:32 -0800 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fcf3944..3f7b3a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ Notable changes to this project are documented in this file. The format is based Breaking changes: - Added support for PureScript 0.14 and dropped support for all previous versions (#45) - Removed unnecessary `Unit` argument in creation functions for `HTMLImageElement` and `HTMLAudioElement` (#46) +- Fixed return type of `scrollX` and `scrollY` to be `Effect Number`, as these can return subpixel values (#17) +- Removed `Newtype` instances for types with hidden constructors (#39) +- Changed `HTMLInputElement.accept` attribute type to `String` (#47) New features: - Added `HTMLHyperlinkElementUtils` module (#44) @@ -15,9 +18,6 @@ New features: - Added common `PropName`, `AttrName`, and `ClassName` which can be reused across libraries representing properties, attributes, and CSS classes (#30) Bugfixes: -- Fixed return type of `scrollX` and `scrollY` to be `Effect Number`, as these can return subpixel values (#17) -- Removed `Newtype` instances for types with hidden constructors (#39) -- Changed `HTMLInputElement.accept` attribute type to `String` (#47) Other improvements: - Migrated CI to GitHub Actions and updated installation instructions to use Spago (#41) @@ -25,8 +25,7 @@ Other improvements: - Removed `return {}` from FFI implementations for a small performance improvement (#35) - Removed unused explicit exports (#39) - Updated HTML spec link (#34) -- Added a CHANGELOG.md file and new pull request template (#48, #50) -- Removed old pull request template (#49) +- Added a CHANGELOG.md file and new pull request template (#48, #49, #50) ## [v2.3.0](https://github.com/purescript-web/purescript-web-html/releases/tag/v2.3.0) - 2019-09-15