Skip to content

Releases: purescript-web/purescript-web-html

v4.1.0

19 Sep 22:38
40e9a0c
Compare
Choose a tag to compare

New features:

Other improvements:

  • Added purs-tidy config and format checking (#79 by @garyb)
  • HTMLDocument's FFI is now implemented in terms of EffectFn (#79 by @garyb)

v4.0.0

27 Apr 23:37
be189cf
Compare
Choose a tag to compare

Breaking changes:

v3.2.1

09 Feb 20:34
a06c04b
Compare
Choose a tag to compare

Bugfixes:

  • Added missing type class instance names for DataTransferItemKind (#69 by @ptrfrncsmrph)

v3.2.0

08 Oct 17:40
3a249b9
Compare
Choose a tag to compare

New features:

  • Added items function for DataTransfer and related types (DataTransferItem, DataTransferItemList) (#55 by @ptrfrncsmrph)
  • Added languages value for Navigator (#59 by @toastal)
  • Added HTMLHtmlElement module and documentElement function HTMLDocument (#60 by @toastal)
  • Added onLine value for Navigator (#61 by @toastal)
  • Added setDragImage function for DataTransfer (#65 by @ajarista)

Bugfixes:

  • Removed duplicated cells export from the FFI in HTMLTableRowElement.js (#58 by @thomashoneyman)

v3.1.0

06 May 17:10
9e657a0
Compare
Choose a tag to compare

New features:

Other improvements:

v3.0.1

13 Mar 19:53
9e0e3fd
Compare
Choose a tag to compare

New features:

v3.0.0

26 Feb 21:10
0fa9b8d
Compare
Choose a tag to compare

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)
  • 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:

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

15 Sep 17:18
0aa27db
Compare
Choose a tag to compare

Added head for HTMLDocument (@elliotdavies)

v2.2.2

18 Aug 13:54
ea3f850
Compare
Choose a tag to compare

Raised upper bound for purescript-web-dom

v2.2.1

02 Jun 16:52
6f0d367
Compare
Choose a tag to compare

Updated dependency ranges for compatibility with latest purescript-web-dom