Skip to content

Merge series/1.x into master #512

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 165 commits into from
Aug 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
c24434c
Added `NavigatorLanguage.languages`
catap Dec 20, 2019
56470f9
Make Blob compliance with documentation
FabioPinheiro Oct 7, 2019
23c4c43
Added FileReaderSync to dom.experimental
catap Sep 30, 2020
ef6993e
IDBVersionChangeEvent.newVersion can be null
japgolly Nov 14, 2020
f4375e6
Make crypto.subtle.importKey return a js.Promise[CryptoKey]
japgolly Nov 15, 2020
89312b3
Avoid forcing evaluation of crypto
japgolly Nov 15, 2020
c022047
Add IDBDatabase.onversionchange
japgolly Nov 16, 2020
5c241e5
Add onwheel
vhiairrassary Dec 22, 2020
67f3de7
Add ParentNode.replaceChildren
vhiairrassary Jan 11, 2021
59acafb
Add XMLHttpRequest.overrideMimeType
JD557 Jan 24, 2021
20826d6
Add Element.insertAdjacentElement
unarist Nov 23, 2020
ca0d972
Use IDBVersionChangeEvent for IDBOpenDBRequest.onblocked
unarist Nov 23, 2020
050eab9
Remove ServiceWorkerContainer.onerror
unarist Sep 9, 2019
161d44d
Use Event type for IndexedDB errors
unarist Sep 9, 2019
1a0daec
Use ProgressEvent for most XHR events
unarist Sep 9, 2019
7b72cf8
Ignore modern Scala tooling artifacts
japgolly Aug 10, 2021
ee8f56e
Upgrade Github Action versions
japgolly Aug 10, 2021
a5c5398
Update developer list
japgolly Aug 10, 2021
803d233
Rename project/{build => plugins}.sbt
japgolly Aug 10, 2021
cf3c530
Merge pull request #464 from scala-js/topic/minorFixes-1x
japgolly Aug 10, 2021
8928f5e
Upgrade sbt and change the syntax
armanbilge Jul 14, 2021
4173c7d
Run CI on everything except release tags
japgolly Aug 10, 2021
e912d3c
Merge pull request #467 from scala-js/topic/sbt15
japgolly Aug 10, 2021
b02869c
Fix #408 link to Scaladoc in README
armanbilge Aug 11, 2021
6cd62c5
Merge pull request #474 from scala-js/issue/408
japgolly Aug 12, 2021
b6cd0a4
Setup CI release
armanbilge Aug 12, 2021
8b3367a
Add the sbt-ci-release plugin
armanbilge Aug 12, 2021
b97bc65
Address review, thanks!
armanbilge Aug 12, 2021
b8b4c19
Couple more tweaks
armanbilge Aug 12, 2021
905a741
Add release drafter, boopickle-inspired
armanbilge Aug 12, 2021
fee4c06
Merge pull request #475 from scala-js/topic/setup-ci-release
japgolly Aug 12, 2021
31b8a81
Ignore .sbtboot
japgolly Aug 10, 2021
293419b
Get local scalafix working
japgolly Aug 10, 2021
84ff47e
Generate an api.txt report on compile
japgolly Aug 10, 2021
31ef32e
Tidy up
japgolly Aug 10, 2021
978e4a5
Make work on all versions of Scala
japgolly Aug 11, 2021
804c11b
Validate API reports are up-to-date in CI
japgolly Aug 11, 2021
0548f7f
CI: Only run api report validation where it makes sense
japgolly Aug 11, 2021
90622a5
Restore missing package objects in api report
japgolly Aug 11, 2021
fb7ecc2
Add a `prePR` sbt command and remove scalafix on compile
japgolly Aug 12, 2021
3744649
Add a PR template instructing users to run prePR
japgolly Aug 12, 2021
69df48c
CI: Add temporary hack for Scala 2.10
japgolly Aug 12, 2021
014eedd
Disable release-drafter on 1.x branch
japgolly Aug 12, 2021
b9cf7f2
Merge pull request #471 from scala-js/topic/mima
japgolly Aug 12, 2021
27a4cbe
Add moveTo and moveBy to Window
anilanar Jul 15, 2018
c9735a3
Add resizeTo and resizeBy to Window
anilanar Jul 15, 2018
0221fc0
Add scrollX and scrollY to Window
anilanar Jul 22, 2018
9e0102f
Run `sbt prePR`
japgolly Aug 12, 2021
45ad801
Merge pull request #335 from anilanar/window-move-to-and-move-by
japgolly Aug 12, 2021
9ee8ea7
Add hack to release.yml
armanbilge Aug 12, 2021
2ece7dc
Merge pull request #478 from scala-js/topic/scala-2_10-release
japgolly Aug 13, 2021
1c36d9e
Expose srcObject
May 13, 2019
bce21ac
Follow the standardized IDL type.
May 14, 2019
6aaab03
Fix typo
exoego Jun 20, 2020
ceb5c7f
Add empty lines between top-level members
exoego Jun 20, 2020
b73bb3a
Use js.native default parameter instead of js.UndefOr
exoego Jun 20, 2020
ffe464b
Use import
exoego Jun 20, 2020
7435795
Run `sbt prePR`
japgolly Aug 13, 2021
ccc11b5
Set version scheme for publishing
armanbilge Aug 13, 2021
3b17707
Should be semver-spec
armanbilge Aug 13, 2021
afd83e6
Sort all defs/val/vars by name
japgolly Aug 13, 2021
fdc2389
Run `sbt prePR`
japgolly Aug 13, 2021
e613d16
Merge pull request #484 from scala-js/topic/mima
japgolly Aug 13, 2021
d38457d
Set version scheme to `early-semver`
armanbilge Aug 13, 2021
73cab73
Fix #488 HTMLMediaElement.play() should return Promise
armanbilge Aug 15, 2021
abd7c2e
Fix #489 Add CSS.supports
armanbilge Aug 15, 2021
a4338b2
Merge branch 'series/1.x' into srcObject (and re-run prePR)
japgolly Aug 20, 2021
a483793
Address PR feedback
japgolly Aug 20, 2021
3388dc4
Merge pull request #365 from exoego/srcObject
armanbilge Aug 20, 2021
0286b16
Merge branch 'series/1.x' into MDN-Blob
japgolly Aug 20, 2021
d3ef959
sbt prePR
japgolly Aug 20, 2021
7b6baca
Restore close() for bincompat
japgolly Aug 20, 2021
0541a0d
Merge pull request #383 from FabioPinheiro/MDN-Blob
armanbilge Aug 20, 2021
d9256a7
Merge branch 'series/1.x' into NavigatorLanguage.languages
japgolly Aug 20, 2021
a09e822
Run `sbt prePR`
japgolly Aug 20, 2021
78143d3
Merge pull request #394 from catap/NavigatorLanguage.languages
armanbilge Aug 20, 2021
0c54909
Format deprecated methods more clearly in API reports
japgolly Aug 20, 2021
f37bf0d
Merge pull request #493 from scala-js/topic/minimaDepVer
armanbilge Aug 20, 2021
3b32eb0
Merge branch 'series/1.x' into error-event
japgolly Aug 20, 2021
24c07e4
Run `sbt prePR`
japgolly Aug 20, 2021
8d20699
Merge pull request #379 from unarist/error-event
japgolly Aug 20, 2021
0a35f9c
Merge pull request #480 from scala-js/topic/version-scheme
japgolly Aug 20, 2021
53e9b00
Merge branch 'series/1.x' into bug/idbNewVer
japgolly Aug 20, 2021
3182de1
Run `sbt prePR`
japgolly Aug 20, 2021
eec93ca
Merge branch 'series/1.x' into cryptoVal
japgolly Aug 20, 2021
a9ac287
Run `sbt prePR`
japgolly Aug 20, 2021
3f5e1b0
Merge branch 'series/1.x' into importKey
japgolly Aug 20, 2021
968af4a
Merge pull request #432 from japgolly/cryptoVal
japgolly Aug 20, 2021
ed69be7
Merge pull request #429 from japgolly/bug/idbNewVer
armanbilge Aug 20, 2021
caa307d
Run `sbt prePR`
japgolly Aug 20, 2021
9e6786c
Merge branch 'series/1.x' into idbOnVersionChange
japgolly Aug 20, 2021
a19f4dd
Run `sbt prePR`
japgolly Aug 20, 2021
6d9ae70
Merge pull request #431 from japgolly/importKey
japgolly Aug 20, 2021
1745f98
Merge branch 'series/1.x' into idb-blocked
japgolly Aug 20, 2021
53c3ab3
Run `sbt prePR`
japgolly Aug 20, 2021
6d8609b
Merge pull request #433 from japgolly/idbOnVersionChange
armanbilge Aug 20, 2021
6d6425f
Merge pull request #434 from unarist/idb-blocked
japgolly Aug 20, 2021
0cbd878
Merge branch 'series/1.x' into insert-adjacent-element
japgolly Aug 20, 2021
dcae307
Add ScalaDoc
japgolly Aug 20, 2021
825f2ef
Run `sbt prePR`
japgolly Aug 20, 2021
ee41546
Merge branch 'series/1.x' into vhiairrassary/add-onwheel
japgolly Aug 20, 2021
de7e2f0
Run `sbt prePR`
japgolly Aug 20, 2021
4375863
Merge pull request #435 from unarist/insert-adjacent-element
armanbilge Aug 20, 2021
1215bd8
Merge pull request #436 from vhiairrassary/vhiairrassary/add-onwheel
japgolly Aug 20, 2021
77c925e
Merge branch 'series/1.x' into overrideMimeType
japgolly Aug 20, 2021
93a9e73
Run `sbt prePR`
japgolly Aug 20, 2021
bcfd017
Fix #445 return type for Header#get
armanbilge Aug 11, 2021
f6a8e6a
prePR
armanbilge Aug 12, 2021
bf26025
Merge pull request #442 from JD557/overrideMimeType
japgolly Aug 20, 2021
c9f60ce
Merge pull request #473 from scala-js/issue/445
japgolly Aug 20, 2021
ff9c1f7
Merge branch 'series/1.x' into vhiairrassary/add-parent-node-replace-…
japgolly Aug 20, 2021
c85891d
Run `sbt prePR`
japgolly Aug 20, 2021
46bd97a
Add an example to confirm (String|Node)* is usable as expected
japgolly Aug 20, 2021
a5466fe
Merge pull request #492 from scala-js/issue/489
japgolly Aug 20, 2021
e26e60d
Fix return type of FetchEvent.preloadResponse
armanbilge Aug 20, 2021
e0bf009
Merge pull request #439 from vhiairrassary/vhiairrassary/add-parent-n…
japgolly Aug 20, 2021
116cc24
Merge pull request #491 from scala-js/issue/488
japgolly Aug 20, 2021
d912d9f
Merge pull request #494 from scala-js/topic/fetch-preload-response
japgolly Aug 20, 2021
7dfe04f
Add WindowOrWorkerGlobalScope
japgolly Nov 14, 2020
2f21022
Merge exoego's WindowOrWorkerGlobalScope PR #416
japgolly Dec 15, 2020
db424e9
Run `sbt prePR`
japgolly Aug 20, 2021
fa15929
FetchEvent extends ExtendableEvent
armanbilge Aug 21, 2021
17d87a5
Make reason for Stream abort/cancel optional
armanbilge Aug 22, 2021
bf18c46
Merge pull request #495 from scala-js/topic/fetch-event-extendable
japgolly Aug 22, 2021
b5e7c1e
Merge branch 'series/1.x' into topic/streams-cancel-reason
japgolly Aug 22, 2021
edfab52
Fix FileReader {abort,error,load} event types
japgolly Aug 22, 2021
3796f5f
Merge pull request #496 from scala-js/topic/streams-cancel-reason
japgolly Aug 22, 2021
e2cc047
Merge branch 'series/1.x' into WindowOrWorkerGlobalScope
japgolly Aug 22, 2021
e9c79fa
Merge pull request #497 from scala-js/topic/fileReaderEvents
armanbilge Aug 22, 2021
eb0fd94
Restore backwards bincompat
japgolly Aug 22, 2021
27ce299
Present deprecated type aliases in api reports, nicely
japgolly Aug 22, 2021
ffd1916
Mark members as deprecated when their parents are in api reports
japgolly Aug 22, 2021
2227462
Merge pull request #430 from japgolly/WindowOrWorkerGlobalScope
armanbilge Aug 22, 2021
bcbf642
Use GitHub Action: japgolly/setup-everything-scala
japgolly Aug 22, 2021
256f329
Merge pull request #498 from scala-js/topic/setup-everything-scala
armanbilge Aug 23, 2021
8ae664b
Merge branch 'series/1.x' into FileReaderSync
armanbilge Aug 23, 2021
e0a2c6a
Run `prePR`
armanbilge Aug 23, 2021
a1ced71
Fix default argument
armanbilge Aug 23, 2021
7c0748b
Add CanvasRenderingContext2D.imageSmoothingEnabled
JD557 Aug 23, 2021
3e78dea
Run sbt prePR
JD557 Aug 23, 2021
22de61f
Merge remote-tracking branch 'upstream/series/1.x' into sw-onerror
armanbilge Aug 24, 2021
1626604
prePR
armanbilge Aug 24, 2021
f16c05b
Merge pull request #499 from JD557/imageSmoothingEnabled
japgolly Aug 25, 2021
7ec0faa
Merge pull request #424 from catap/FileReaderSync
japgolly Aug 25, 2021
c4cb4c1
Merge pull request #380 from unarist/sw-onerror
japgolly Aug 25, 2021
62ffb50
Dealias types when collecting parents
japgolly Aug 25, 2021
783f8c8
Merge pull request #501 from scala-js/topic/apiDealias
japgolly Aug 25, 2021
57009a7
Bring back release drafter
armanbilge Aug 25, 2021
2471029
Merge pull request #502 from scala-js/topic/release-drafter
armanbilge Aug 25, 2021
fbe2203
Fix #504
japgolly Aug 26, 2021
62a6abb
Hard code version to 1.2.0
armanbilge Aug 26, 2021
03cb1d6
Merge pull request #506 from scala-js/issue/504
armanbilge Aug 26, 2021
b7f0dd0
Hardcode isSnapshot
armanbilge Aug 26, 2021
3c3be26
Merge pull request #507 from scala-js/topic/fix-release
armanbilge Aug 26, 2021
cc15806
Revert hardcodes
armanbilge Aug 26, 2021
fd71a8c
Merge pull request #508 from scala-js/topic/revert-hardcodes
japgolly Aug 26, 2021
84e043f
Add dependabot to keep GitHub Action versions up to date
japgolly Aug 26, 2021
8cd10db
Merge pull request #509 from scala-js/dependabot
armanbilge Aug 26, 2021
d05e681
Bump JamesIves/github-pages-deploy-action from 3.6.2 to 4.1.5
dependabot[bot] Aug 27, 2021
953a0a5
Drop 0.6 and cleanups
armanbilge Aug 28, 2021
f58b438
Merge branch 'master' into merge-1.x
armanbilge Aug 28, 2021
fbfd484
Fix Scala 3 CI
armanbilge Aug 28, 2021
8b1a35b
Migrate github-pages-deploy-action settings
japgolly Aug 29, 2021
5172010
Merge pull request #513 from scala-js/dependabot/github_actions/James…
japgolly Aug 29, 2021
11f0036
Merge branch 'series/1.x' into merge-1.x
japgolly Aug 29, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:

- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10

8 changes: 8 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Hi there!

Before submitting a PR containing any Scala changes, please make sure you...

* run `sbt prePR`
* commit changes to `api-reports`

Thanks for contributing!
16 changes: 16 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name-template: 'v$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
template: |
# What's Changed
$CHANGES
categories:
- title: 'New'
label: 'type: feature'
- title: 'Bug Fixes'
label: 'type: bug'
- title: 'Maintenance'
label: 'type: maintenance'
- title: 'Documentation'
label: 'type: docs'
- title: 'Dependency Updates'
label: 'type: dependencies'
35 changes: 21 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,46 @@
name: CI

on:
push:
branches:
- master
pull_request:
branches:
- master
push:
tags-ignore:
- v*

jobs:

build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
scalaversion: ["2.11.12", "2.12.12", "2.13.4", "3.0.1"]
steps:

- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v10
with:
java-version: "[email protected]"
- uses: coursier/cache-action@v5

- name: Setup Scala
uses: japgolly/[email protected]

- name: Build
run: sbt "++${{ matrix.scalaversion }}" package

- name: Test generate documentation
run: sbt "++${{ matrix.scalaversion }}" doc

- name: Build examples
run: sbt "++${{ matrix.scalaversion }}" example/compile
- name: scalafmt

- name: Validate formatting
run: sbt "++${{ matrix.scalaversion }}" scalafmtCheck

- name: Validate api report
if: matrix.scalaversion != '2.11.12' && matrix.scalaversion != '3.0.1'
run: ./api-reports/validate "${{ matrix.scalaversion }}"

readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v10
with:
java-version: "[email protected]"
- uses: coursier/cache-action@v5
- uses: japgolly/[email protected]
- name: Readme generation
run: sbt readme/run
15 changes: 7 additions & 8 deletions .github/workflows/ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v10
with:
java-version: "[email protected]"
- uses: coursier/cache-action@v5

- name: Setup Scala
uses: japgolly/[email protected]

- name: Build
run: sbt readme/run

- name: Deploy
uses: JamesIves/github-pages-deploy-action@3.6.2
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: readme/target/scalatex
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: readme/target/scalatex
17 changes: 17 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Release Drafter

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- master
- series/1.x

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release
on:
push:
branches: ["master", "series/1.x"]
tags: ["v*"]
jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
scalajsversion: ["1.x", "0.6.x"]
env:
SCALAJS_VERSION: "${{ matrix.scalajsversion == '0.6.x' && '0.6.28' || '' }}"
steps:

- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup Scala
uses: japgolly/[email protected]

- name: Hacks for Scala 2.10
run: ./prepareForScala210.sh

- name: Release
run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
12 changes: 9 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
target/
.bloop
.bsp
.cache
.classpath
.idea
.idea_modules
.metals
.project
.sbtboot
.settings/
.idea
.idea_modules
.vscode
metals.sbt
target/
3 changes: 3 additions & 0 deletions .scalafix.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
rules = [
GenerateApiReport,
]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[Documentation](http://scala-js.github.io/scala-js-dom)
[Documentation](http://scala-js.github.io/scala-js-dom) / [Scaladoc](https://javadoc.io/doc/org.scala-js/scalajs-dom_sjs1_2.13)
Loading