v1.2.0
This is the first scala-js-dom release in over a year and brings many improvements and fixes. Nearly all outstanding PRs were merged (save a few that will target v2.0.0). We are very grateful to the many contributors to this release for their patience!
This release is fully binary-compatible with every 1.x release. It is published for Scala 2.11, 2.12, and 2.13 for both SJS 0.6 and 1, as well as 2.10 for SJS 0.6 only.
This release is the first under new maintainership of @japgolly and @armanbilge. Thanks to infrastructure introduced in #471 by @japgolly, the review process will be much more streamlined going forward. We look forward to your PRs!
Finally, as we approach v2.0.0 there are many opportunities to improve scala-js-dom. Please weigh in on #481 and #487 or propose an idea of your own.
Thanks again to all of our contributors!
User-facing PRs
- Remove ServiceWorkerContainer.onerror (#380) @unarist
- Added FileReaderSync to dom.experimental (#424) @catap
- Add CanvasRenderingContext2D.imageSmoothingEnabled (#499) @JD557
- Add WindowOrWorkerGlobalScope (#430) @japgolly & @exoego
- Fix FileReader {abort,error,load} event types (#497) @japgolly
- Make reason for Readable/WritableStream cancel/abort optional (#496) @armanbilge
- FetchEvent extends ExtendableEvent (#495) @armanbilge
- Fix return type of
FetchEvent.preloadResponse
(#494) @armanbilge - Fix #488
HTMLMediaElement.play()
should returnPromise
(#491) @armanbilge - Add ParentNode.replaceChildren (#439) @vhiairrassary
- Fix #489 Add CSS.supports (#492) @armanbilge
- Fix #445 return type for Header#get (#473) @armanbilge
- Add XMLHttpRequest.overrideMimeType (#442) @JD557
- Add onwheel (#436) @vhiairrassary
- Add Element.insertAdjacentElement (#435) @unarist
- Use IDBVersionChangeEvent for IDBOpenDBRequest.onblocked (#434) @unarist
- Add IDBDatabase.onversionchange (#433) @japgolly
- Make crypto.subtle.importKey return a js.Promise[CryptoKey] (#431) @japgolly
- IDBVersionChangeEvent.newVersion can be null (#429) @japgolly
- Avoid forcing evaluation of crypto (#432) @japgolly
- Set version scheme for publishing (#480) @armanbilge
- Fix misuse of ErrorEvent (#379) @unarist
- Added
NavigatorLanguage.languages
(#394) @catap - Make Blob compliance with documentation (#383) @FabioPinheiro
- Expose HTMLMediaElement.srcObject (#365) @exoego
- Add moveTo and moveBy to Window (#335) @anilanar
- Fix #408 link to Scaladoc in README (#474) @armanbilge
- Fix #427: Fix the type of SharedWorker.onconnect (#428) @japgolly
- Fix docs examples (#426) @sake92
- Add REST method PATCH for Ajax (#423) @maksimfedin