Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 24 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can #49 be merged into the 'added a changelog file and new pull request template' line?


## [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

Expand All @@ -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