Notable changes to this project are documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Breaking changes:
- The
idfunction returns anElementIdinstead of aString. (#58 by @nsaunders) - The
setIdfunction is parameterized byElementIdinstead ofString. (#58 by @nsaunders) - The
getElementByIdfunction is parameterized byElementIdinstead ofString. (#58 by @nsaunders) - The
classNamefunction returns aClassNameinstead of aString. (#58 by @nsaunders) - The
setClassNameandgetElementsByClassNamefunctions are parameterized byClassNameinstead ofString. (#58 by @nsaunders) - The
getAttribute,setAttribute,hasAttribute, andremoveAttributefunctions are parameterized byAttrNameinstead ofString. (#58 by @nsaunders)
New features:
AttrName,ClassName, andPropNametypes have been added, migrated from web-html. (#58 by @nsaunders)- A new
ElementIdtype, representing the value of anidproperty/attribute, has been added. (#58 by @nsaunders)
Bugfixes:
Other improvements:
v6.0.0 - 2022-04-27
Breaking changes:
- Migrate FFI to ES modules (#51 by @JordanMartinez)
- Unwrap returned
Effectfordoctype(#52 by @JordanMartinez) - Port
getBoundingClientRectfromweb-html; set arg toElement(#53 by @JordanMartinez)
New features:
Bugfixes:
Other improvements:
v5.0.0 - 2021-02-26
Breaking changes:
- Added support for PureScript 0.14 and dropped support for all previous versions (#31)
- Change node manipulations to return
Unit(#32)
New features:
- Add support for ShadowRoot API (#34)
- Add support for
Element.matchesandElement.closest(#39)
Bugfixes:
Other improvements:
- Migrated CI to GitHub Actions and updated installation instructions to use Spago (#28, #30)
- Added a CHANGELOG.md file and updated pull request template (#35, #36, #37)
- Updated issue templates
- Updated link to spec (#27)
- Remove
return {}from FFI functions for a small performance boost (#26)
v4.1.0 - 2020-06-07
- Added
Showinstance forNodeType(@srghma)
v4.0.2 - 2020-05-18
- Fixed FFI implementation for
hasAttribute(#22, @srghma)
v4.0.1 - 2020-03-15
- Add documentation explaining how to get hold of a
DocumentinWeb.DOM.Document(@hdgarrood, #19)
v4.0.0 - 2019-08-18
- Fixed type of
mutationObserver(@alextes)
v3.1.0 - 2019-08-18
- Added
classListforElement(@alextes)
v3.0.0 - 2019-06-02
nodeValuenow returnsEffect (Maybe String)as it is nullable (@bbarker)
v2.0.0 - 2019-02-23
- Bumped
-web-eventsdependency,Event.defaultPreventedis now effectful.
v1.0.0 - 2018-05-25
- Initial release