Releases: purescript-web/purescript-web-html
Releases · purescript-web/purescript-web-html
v4.1.0
v4.0.0
Breaking changes:
-
Migrate FFI to ES modules (#71 by @JordanMartinez)
-
Make
autocompletetake aStringarg, not Boolean (#72 by @JordanMartinez) -
Move
getBoundingClientRecttopurescript-web-dom(#73 by @JordanMartinez) -
Drop duplicated
set/getClassNameandclassList(#74 by @JordanMartinez)These three entities are already defined in
purescript-web-dom
v3.2.1
v3.2.0
New features:
- Added
itemsfunction forDataTransferand related types (DataTransferItem,DataTransferItemList) (#55 by @ptrfrncsmrph) - Added
languagesvalue forNavigator(#59 by @toastal) - Added
HTMLHtmlElementmodule anddocumentElementfunctionHTMLDocument(#60 by @toastal) - Added
onLinevalue forNavigator(#61 by @toastal) - Added
setDragImagefunction forDataTransfer(#65 by @ajarista)
Bugfixes:
- Removed duplicated
cellsexport from the FFI in HTMLTableRowElement.js (#58 by @thomashoneyman)
v3.1.0
New features:
- Exported
fromHTMLMediaElement,stepUp, andstepDown(#57 by @JordanMartinez)
Other improvements:
- Fixed warnings found by v0.14.1 PS release (#57 by @JordanMartinez)
v3.0.1
New features:
- Added
fromEventTargetfunction forWindow(#53 by @thomashoneyman)
v3.0.0
Breaking changes:
- Added support for PureScript 0.14 and dropped support for all previous versions (#45)
- Removed unnecessary
Unitargument in creation functions forHTMLImageElementandHTMLAudioElement(#46) - Fixed return type of
scrollXandscrollYto beEffect Number, as these can return subpixel values (#17) - Removed
Newtypeinstances for types with hidden constructors (#39) - Changed
HTMLInputElement.acceptattribute type toString(#47)
New features:
- Added
HTMLHyperlinkElementUtilsmodule (#44) - Added
createandcreate'functions forAudio(#32) - Added missing attributes for
HTMLImage, includingsrcset,currentSrc,sizes,referrerPolicy,decoding,loading(#40) - Added common
PropName,AttrName, andClassNamewhich can be reused across libraries representing properties, attributes, and CSS classes (#30)
Bugfixes:
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, #49, #50)
v2.3.0
Added head for HTMLDocument (@elliotdavies)