Skip to content

v3.0.0

Compare
Choose a tag to compare
@thomashoneyman thomashoneyman released this 26 Feb 21:10
· 25 commits to master since this release
0fa9b8d

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)