v2.7.0
scala-js-dom v2.7.0 is the eighth 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 https://github.com/scala-js/scala-js-dom/discussions/627. ⚠️ Make sure to remove CrossVersion.for3Use2_13 from your build. ⚠️
Thank you to the many new contributors to this release, we appreciate your efforts!
What's Changed
- Fix doc in
HTMLAnchorElementby @faveoled in https://github.com/scala-js/scala-js-dom/pull/783 - Add
HTMLAnchorElement#downloadby @faveoled in https://github.com/scala-js/scala-js-dom/pull/784 - add
DateTimeFormatOptions#fractionalSecondDigitsby @mraulim in https://github.com/scala-js/scala-js-dom/pull/787 - Allow
MediaSourceto be passed in toURL.createObjectURLby @yilinwei in https://github.com/scala-js/scala-js-dom/pull/794 - Add
optionsparameter toDocument#createElementby @alfonso-landin in https://github.com/scala-js/scala-js-dom/pull/788