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:
New features:
Bugfixes:
Other improvements:
v4.1.0 - 2022-09-19
New features:
- Added
close
function forWindow
(#78 by @jmp-0x7C0) - Added
visibilityState
forHTMLDocument
(#79 by @garyb)
Other improvements:
- Added
purs-tidy
config and format checking (#79 by @garyb) HTMLDocument
's FFI is now implemented in terms ofEffectFn
(#79 by @garyb)
v4.0.0 - 2022-04-27
Breaking changes:
- Migrate FFI to ES modules (#71 by @JordanMartinez)
- Make
autocomplete
take aString
arg, not Boolean (#72 by @JordanMartinez) - Move
getBoundingClientRect
topurescript-web-dom
(#73 by @JordanMartinez) - Drop duplicated
set/getClassName
andclassList
(#74 by @JordanMartinez) These three entities are already defined inpurescript-web-dom
New features:
Bugfixes:
Other improvements:
v3.2.1 - 2021-02-09
Bugfixes:
- Added missing type class instance names for
DataTransferItemKind
(#69 by @ptrfrncsmrph)
v3.2.0 - 2021-10-06
New features:
- Added
items
function forDataTransfer
and related types (DataTransferItem
,DataTransferItemList
) (#55 by @ptrfrncsmrph) - Added
languages
value forNavigator
(#59 by @toastal) - Added
HTMLHtmlElement
module anddocumentElement
functionHTMLDocument
(#60 by @toastal) - Added
onLine
value forNavigator
(#61 by @toastal) - Added
setDragImage
function forDataTransfer
(#65 by @ajarista)
Bugfixes:
- Removed duplicated
cells
export from the FFI in HTMLTableRowElement.js (#58 by @thomashoneyman)
v3.1.0 - 2021-05-06
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 - 2021-03-13
New features:
- Added
fromEventTarget
function forWindow
(#53 by @thomashoneyman)
v3.0.0 - 2021-02-26
Breaking changes:
- Added support for PureScript 0.14 and dropped support for all previous versions (#45)
- Removed unnecessary
Unit
argument in creation functions forHTMLImageElement
andHTMLAudioElement
(#46) - Fixed return type of
scrollX
andscrollY
to beEffect Number
, as these can return subpixel values (#17) - Removed
Newtype
instances for types with hidden constructors (#39) - Changed
HTMLInputElement.accept
attribute type toString
(#47)
New features:
- Added
HTMLHyperlinkElementUtils
module (#44) - Added
create
andcreate'
functions forAudio
(#32) - Added missing attributes for
HTMLImage
, includingsrcset
,currentSrc
,sizes
,referrerPolicy
,decoding
,loading
(#40) - Added common
PropName
,AttrName
, andClassName
which can be reused across libraries representing properties, attributes, and CSS classes (#30)
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 - 2019-09-15
- Added
head
forHTMLDocument
(@elliotdavies)
v2.2.2 - 2019-08-18
- Raised upper bound for
purescript-web-dom
v2.2.1 - 2019-06-02
- Updated dependency ranges for compatibility with latest
purescript-web-dom
v2.2.0 - 2019-05-26
- Added
opener
andparent
forWindow
(@jonathanlking)
v2.1.0 - 2019-05-08
- Fixed
checkValidity
functions and addedreportValidity
(@bosyi)
v2.0.1 - 2019-04-13
- Corrected type for
HTMLDocument.fromDocument
(@galenhuntington)
v2.0.0 - 2019-02-23
- Bumped
-web-events
dependency,Event.defaultPrevented
is now effectful.
v1.2.0 - 2018-10-06
- Added
referrer
,title
,setTitle
forHTMLDocument
(@elliotdavies) - Added
language
anduserAgent
fornavigator
(@elliotdavies)
v1.1.1 - 2018-09-22
- Added missing export for
currentScript
v1.1.0 - 2018-09-21
- Added
currentScript
forHTMLDocument
(@cprussin)
v1.0.0 - 2018-05-25
- Initial release