v2.4.0
scala-js-dom v2.4.0 is the fifth release in the 2.x series. It is binary-compatible with previous 2.x releases, although there are minor source-breaking changes, and is published for Scala 2.11, 2.12, 2.13, and 3.1+ with Scala.js 1.7+.
If you are upgrading from scala-js-dom 1.x, please find the migration guide in #627.
In other news: we are happy to welcome @zetashift to the maintainer team!
User-facing PRs
- Updates
MediaQueryList
to extendEventTarget
by @mabasic in #724 - Add
KeyboardEvent#code
by @fndejan in #727 - Change
Storage#length
to adef
instead ofvar
by @zetashift in #737 SubtleCrypto#deriveBits
should return aPromise[ArrayBuffer]
by @zetashift in #740- Fixup
Clipboard
to use addedClipboardItem
by @zetashift in #736 - Add
Event.composed
by @armanbilge in #751 - Add
Element#closest
by @DanielMoss in #752 - Add alias to
HTMLDialogElement
in html object. by @Lasering in #753 - Add
Image
facade and additional facades forHTMLImageElement
#621 by @zetashift in #725 - Fixup
Location#origin
andLocation#reload
by @zetashift in #761 - Add Web Lock APIs by @armanbilge in #762
- Add
Audio
, fixImage
by @armanbilge in #765 - Refresh DataTransfer API by @zetashift in #763
New Contributors
- @mabasic made their first contribution in #724
- @fndejan made their first contribution in #727
- @DanielMoss made their first contribution in #752
Thank you wonderful contributors, new and returning!
Full Changelog: v2.3.0...v2.4.0