Skip to content

Commit

Permalink
Merge branch 'main' into node-navigator
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner authored Nov 21, 2024
2 parents b0f3633 + 0490c23 commit cca6f1e
Show file tree
Hide file tree
Showing 1,415 changed files with 11,349 additions and 8,204 deletions.
30 changes: 30 additions & 0 deletions .github/issue-regex-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
data:api :rabbit2::
- 'api\.'
- '\/docs\/Web\/API'
data:css :art::
- 'css\.'
- '\/docs\/Web\/CSS'
data:html :page_facing_up::
- 'html\.'
- '\/docs\/Web\/HTML'
data:http :mountain_cableway::
- 'http\.'
- '\/docs\/Web\/HTTP'
data:js :pager::
- 'js\.'
- '\/docs\/Web\/JavaScript'
data:mathml :heavy_division_sign::
- 'mathml\.'
- '\/docs\/Web\/MathML'
data:svg :paintbrush::
- 'svg\.'
- '\/docs\/Web\/SVG'
data:wasm :mechanical_arm::
- 'webassembly\.'
- '\/docs\/WebAssembly'
data:webdriver :racing_car::
- 'webdriver\.'
- '\/docs\/Web\/WebDriver'
data:webext :game_die::
- 'webextensions\.'
- '\/docs\/Mozilla\/Add-ons'
15 changes: 15 additions & 0 deletions .github/workflows/issue-regex-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Labels issues by BCD key, MDN URL or other regex match in issue description.
name: Issue Labeler
on:
issues:
types: [opened]

jobs:
issue-labeler:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@v3.4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/issue-regex-labeler.yml
enable-versioned-regex: 0
30 changes: 25 additions & 5 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,36 @@ on:
pull_request_target:

permissions:
contents: read
contents: read # to determine modified files
issues: write # pr-size-labeler uses the issues API until https://github.com/CodelyTV/pr-size-labeler/pull/89 is merged
pull-requests: write # to add labels to PRs

jobs:
triage:
permissions:
contents: read # for actions/labeler to determine modified files
pull-requests: write # for actions/labeler to add labels to PRs
label-py-path:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
sync-labels: true

label-by-size:
if: github.actor != 'dependabot[bot]' && !startsWith(github.event.pull_request.title, 'Release v')
needs: label-py-path
runs-on: ubuntu-latest
steps:
- uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github_api_url: "https://api.github.com"
xs_label: "size:xs"
xs_max_size: "6"
s_label: "size:s"
s_max_size: "24"
m_label: "size:m"
m_max_size: "100"
l_label: "size:l"
l_max_size: "1000"
xl_label: "size:xl"
fail_if_xl: "false"
message_if_xl: ""
7 changes: 2 additions & 5 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,14 @@ on:

env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

concurrency:
group: ${{ github.workflow }}

permissions:
contents: write
pull-requests: write

jobs:
manage-release-pr:
if: github.repository == 'mdn/browser-compat-data'
if: github.repository == 'mdn/browser-compat-data' && github.actor != 'dependabot[bot]' && !startsWith(github.event.head_commit.message, 'Release v')
name: Manage release PR
runs-on: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- published

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

permissions:
contents: write
Expand All @@ -31,7 +31,7 @@ jobs:
run: |
VERSION=v$(jq -r '.version' package.json)
awk '/^## /{if (p) exit; p=1; next} p' RELEASE_NOTES.md | tail -n +4 >> CURRENT_RELEASE_NOTES.md
gh release create $VERSION --title=$VERSION --target $GITHUB_SHA --notes-file CURRENT_RELEASE_NOTES.md --draft
gh release create $VERSION --title=$VERSION --target $GITHUB_SHA --notes-file CURRENT_RELEASE_NOTES.md --latest
publish-release:
if: github.event_name == 'release'
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/update-mdn-urls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ jobs:
run: npm ci

- name: Update
env:
REF: ${{ github.head_ref }}
run: |
npm run lint:fix -- --only=mdn_urls
if git diff --exit-code; then
echo "No changes."
else
git commit -m 'chore: fix mdn urls' .
git push origin ${{ github.head_ref }}
git push origin "$REF"
fi
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v20
26 changes: 18 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,24 @@ Thank you for your interest in contributing to this project! See [Contributing t

Here are some projects using the data, as an [npm module](https://www.npmjs.com/browse/depended/@mdn/browser-compat-data) or directly:

- [Add-ons Linter](https://github.com/mozilla/addons-linter) - the Add-ons Linter is used on [addons.mozilla.org](https://addons.mozilla.org/) and the [web-ext](https://github.com/mozilla/web-ext/) tool. It uses browser-compat-data to check that the Firefox version that the add-on lists support for does in fact support the APIs used by the add-on.
- [caniuse](https://caniuse.com/) - In addition to the existing caniuse database, caniuse includes features from the MDN BCD project, formatted and interactive like any other caniuse support table.
- [CanIUse Embed](https://caniuse.bitsofco.de/) - Thanks to the inclusion of MDN BCD data in caniuse, this embed tool allows for embedding BCD data into any project.
- [Compat Report](https://addons.mozilla.org/en-US/firefox/addon/compat-report/) - Firefox Add-on that shows compatibility data for the current site in the developer tools.
- [compat-tester](https://github.com/SphinxKnight/compat-tester) - Scan local documents for compatibility issues.
- [Visual Studio Code](https://code.visualstudio.com) - Shows the compatibility information in [the code completion popup](https://code.visualstudio.com/updates/v1_25#_improved-accuracy-of-browser-compatibility-data).
- [webhint.io](https://webhint.io/docs/user-guide/hints/hint-compat-api/) - Hints to check if your CSS HTML and JavaScript have deprecated or not broadly supported features.
- [WebStorm](https://www.jetbrains.com/webstorm/whatsnew/#v2019-1-html-and-css) - JavaScript IDE allowing you to check whether all CSS properties you use are supported in the target browser version.
- [Add-ons Linter](https://github.com/mozilla/addons-linter) - NPM package that checks add-ons for features that aren't supported by the targeted Firefox version. Used by [addons.mozilla.org](https://addons.mozilla.org/) and the [web-ext](https://github.com/mozilla/web-ext/) tool.
- [ast-metadata-inferer](https://www.npmjs.com/package/ast-metadata-inferer) - NPM package that annotates JavaScript AST nodes with metadata derived from BCD data. Used by [eslint-plugin-compat](https://www.npmjs.com/package/eslint-plugin-compat).
- [BCD Watch](https://bcd-watch.igalia.com/) - Website that shows a weekly report of BCD changes.
- [caniuse](https://caniuse.com/) - Website that shows browser support tables based on caniuse and BCD data.
- [caniuse-lite](https://github.com/browserslist/caniuse-lite) - NPM package that republishes BCD data in the caniuse format.
- [CanIUse Embed](https://caniuse.bitsofco.de/) - Service that allows embedding caniuse (including BCD data) into any website.
- [css-declaration-sorter](https://www.npmjs.com/package/css-declaration-sorter) - NPM package that sorts CSS properties alphabetically.
- [csstype](https://www.npmjs.com/package/csstype) - NPM package that publishes strict TypeScript/Flow types for CSS.
- [Compat Report](https://addons.mozilla.org/en-US/firefox/addon/compat-report/) - Firefox Add-on that shows BCD data for the current site in the developer tools.
- [compat-tester](https://github.com/SphinxKnight/compat-tester) - NPM package that scans HTML, CSS and JS files for compatibility issues.
- [JetBrains WebStorm](https://www.jetbrains.com/webstorm/) - IDE that uses BCD data to [check browser support of used CSS properties](https://www.jetbrains.com/guide/javascript/tips/browser-compatibility-css/) (see [2019.1 releasenotes](https://web.archive.org/web/20190524063428/http://www.jetbrains.com/webstorm/whatsnew/#:~:text=Browser%20compatibility%20check%20for%20CSS)) by [generating feature lists with support data](https://github.com/JetBrains/intellij-community/blob/master/xml/xml-psi-impl/mdn-doc-gen/src/GenerateMdnDocumentation.kt).
- [JSR](https://jsr.io/) - Package registry that uses BCD data to [generate a list of web builtins](https://github.com/jsr-io/jsr/blob/main/tools/generate_web_symbols.ts).
- [Mozilla Firefox](https://www.mozilla.org/firefox/) - Web browser that uses BCD data in the DevTools to show [CSS property compatibility data](https://searchfox.org/mozilla-central/source/devtools/shared/compatibility/README.md) mapped against a [list of non-retired browsers](https://github.com/firefox-devtools/remote-settings-mdn-browser-compat-data/).
- [TypeScript](https://www.typescriptlang.org/) - Programming language that uses BCD data to [generate DOM typings](https://github.com/microsoft/TypeScript-DOM-lib-generator).
- [Visual Studio Code](https://code.visualstudio.com) - IDE that uses BCD to show compatibility information for [CSS features](https://github.com/microsoft/vscode-custom-data/blob/c008a80baa3c6ea9d6757d2640eaab215b28f9a6/web-data/css/generateData.js#L349) (see [VSCode 1.25 release notes](https://code.visualstudio.com/updates/v1_25#_improved-accuracy-of-browser-compatibility-data)), and to [extract MDN urls for HTML elements](https://github.com/microsoft/vscode-custom-data/blob/c008a80baa3c6ea9d6757d2640eaab215b28f9a6/web-data/html/generateData.js#L53-L67).
- [web-features](https://www.npmjs.com/package/web-features) - NPM package that publishes web feature groups with Baseline statuses based on BCD data.
- [web-features-explorer](https://web-platform-dx.github.io/web-features-explorer/) - Website that visualizes web features by Baseline status and month.
- [`webhint.io`](https://webhint.io/docs/user-guide/hints/hint-compat-api/) - Tool that uses BCD to checks CSS and HTML for unsupported features (see [`@hint/utils-compat-data` package](https://github.com/webhintio/hint/tree/main/packages/utils-compat-data)).

## Acknowledgments

Expand Down
72 changes: 72 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,77 @@
# @mdn/browser-compat-data release notes

## [v5.6.17](https://github.com/mdn/browser-compat-data/releases/tag/v5.6.17)

November 19, 2024

### Removals

- `api.MLOperand.dataType` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))
- `api.MLOperand.shape` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))
- `css.at-rules.custom-media` ([#25125](https://github.com/mdn/browser-compat-data/pull/25125))
- `css.properties.word-wrap` ([#25097](https://github.com/mdn/browser-compat-data/pull/25097))
- `css.types.time-percentage` ([#25126](https://github.com/mdn/browser-compat-data/pull/25126))
- `mathml.elements.ms.lquote_rquote_attributes` ([#25108](https://github.com/mdn/browser-compat-data/pull/25108))

### Additions

- `api.MLContext.dispatch` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))
- `api.MLContext.opSupportLimits` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))
- `api.MLGraphBuilder.cumulativeSum` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))
- `api.MLGraphBuilder.dequantizeLinear` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))
- `api.MLGraphBuilder.gatherElements` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))
- `api.MLGraphBuilder.gatherND` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))
- `api.MLGraphBuilder.logicalAnd` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))
- `api.MLGraphBuilder.logicalOr` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))
- `api.MLGraphBuilder.logicalXor` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))
- `api.MLGraphBuilder.quantizeLinear` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))
- `api.MLGraphBuilder.scatterElements` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))
- `api.MLGraphBuilder.scatterND` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))
- `api.MLGraphBuilder.sign` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))
- `api.MLGraphBuilder.tile` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))
- `api.MLOperand.MLNumber` ([#25065](https://github.com/mdn/browser-compat-data/pull/25065))

### Statistics

- 10 contributors have changed 1,365 files with 9,391 additions and 7,288 deletions in 32 commits ([`v5.6.16...v5.6.17`](https://github.com/mdn/browser-compat-data/compare/v5.6.16...v5.6.17))
- 16,725 total features
- 1,116 total contributors
- 4,989 total stargazers

## [v5.6.16](https://github.com/mdn/browser-compat-data/releases/tag/v5.6.16)

November 18, 2024

### Removals

- `api.HTMLDetailsElement.toggle_event` ([#24927](https://github.com/mdn/browser-compat-data/pull/24927))
- `webextensions.api.runtime.getContext` ([#25078](https://github.com/mdn/browser-compat-data/pull/25078))

### Additions

- `api.AbortController.abort.reason_parameter` ([#25068](https://github.com/mdn/browser-compat-data/pull/25068))
- `api.GPUComputePassEncoder.setBindGroup.unset_bind_group` ([#24936](https://github.com/mdn/browser-compat-data/pull/24936))
- `api.GPURenderBundleEncoder.setBindGroup.unset_bind_group` ([#24936](https://github.com/mdn/browser-compat-data/pull/24936))
- `api.GPURenderPassEncoder.setBindGroup.unset_bind_group` ([#24936](https://github.com/mdn/browser-compat-data/pull/24936))
- `api.HTMLElement.beforetoggle_event.dialog_elements` ([#24927](https://github.com/mdn/browser-compat-data/pull/24927))
- `api.HTMLElement.beforetoggle_event.popover_elements` ([#24927](https://github.com/mdn/browser-compat-data/pull/24927))
- `api.HTMLElement.inert.ignores_find_in_page` ([#24925](https://github.com/mdn/browser-compat-data/pull/24925))
- `api.HTMLElement.toggle_event.details_elements` ([#24927](https://github.com/mdn/browser-compat-data/pull/24927))
- `api.HTMLElement.toggle_event.dialog_elements` ([#24927](https://github.com/mdn/browser-compat-data/pull/24927))
- `api.HTMLElement.toggle_event.popover_elements` ([#24927](https://github.com/mdn/browser-compat-data/pull/24927))
- `api.PublicKeyCredential.signalAllAcceptedCredentials_static` ([#25070](https://github.com/mdn/browser-compat-data/pull/25070))
- `api.PublicKeyCredential.signalCurrentUserDetails_static` ([#25070](https://github.com/mdn/browser-compat-data/pull/25070))
- `api.PublicKeyCredential.signalUnknownCredential_static` ([#25070](https://github.com/mdn/browser-compat-data/pull/25070))
- `browsers.nodejs.releases.20.8.0` ([#25020](https://github.com/mdn/browser-compat-data/pull/25020))
- `webextensions.api.runtime.getContexts` ([#25078](https://github.com/mdn/browser-compat-data/pull/25078))

### Statistics

- 14 contributors have changed 109 files with 1,688 additions and 1,079 deletions in 39 commits ([`v5.6.15...v5.6.16`](https://github.com/mdn/browser-compat-data/compare/v5.6.15...v5.6.16))
- 16,716 total features
- 1,116 total contributors
- 4,986 total stargazers

## [v5.6.15](https://github.com/mdn/browser-compat-data/releases/tag/v5.6.15)

November 12, 2024
Expand Down
64 changes: 57 additions & 7 deletions api/AbortController.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{
"version_added": "11.1",
"partial_implementation": true,
"notes": "Even though <code>window.AbortController</code> is defined, it doesn't really abort <code>fetch</code> requests. See <a href='https://webkit.org/b/174980'>bug 174980</a>."
"notes": "Even though `window.AbortController` is defined, it doesn't really abort `fetch` requests. See [bug 174980](https://webkit.org/b/174980)."
}
],
"safari_ios": "mirror",
Expand All @@ -54,7 +54,7 @@
},
"AbortController": {
"__compat": {
"description": "<code>AbortController()</code> constructor",
"description": "`AbortController()` constructor",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AbortController/AbortController",
"spec_url": "https://dom.spec.whatwg.org/#ref-for-dom-abortcontroller-abortcontroller①",
"tags": [
Expand Down Expand Up @@ -91,7 +91,7 @@
{
"version_added": "11.1",
"partial_implementation": true,
"notes": "Even though <code>window.AbortController</code> is defined, it doesn't really abort <code>fetch</code> requests. See <a href='https://webkit.org/b/174980'>bug 174980</a>."
"notes": "Even though `window.AbortController` is defined, it doesn't really abort `fetch` requests. See [bug 174980](https://webkit.org/b/174980)."
}
],
"safari_ios": "mirror",
Expand Down Expand Up @@ -139,7 +139,7 @@
"version_added": "17.0.0",
"version_removed": "17.2.0",
"partial_implementation": true,
"notes": "The optional <code>reason</code> argument is not supported."
"notes": "The optional `reason` argument is not supported."
},
{
"version_added": "16.14.0",
Expand All @@ -149,7 +149,7 @@
"version_added": "14.17.0",
"version_removed": "16.14.0",
"partial_implementation": true,
"notes": "The optional <code>reason</code> argument is not supported."
"notes": "The optional `reason` argument is not supported."
}
],
"oculus": "mirror",
Expand All @@ -162,7 +162,7 @@
{
"version_added": "11.1",
"partial_implementation": true,
"notes": "Even though <code>window.AbortController</code> is defined, it doesn't really abort <code>fetch</code> requests. See <a href='https://webkit.org/b/174980'>bug 174980</a>."
"notes": "Even though `window.AbortController` is defined, it doesn't really abort `fetch` requests. See [bug 174980](https://webkit.org/b/174980)."
}
],
"safari_ios": "mirror",
Expand All @@ -175,6 +175,56 @@
"standard_track": true,
"deprecated": false
}
},
"reason_parameter": {
"__compat": {
"description": "`reason` parameter",
"spec_url": "https://dom.spec.whatwg.org/#abortsignal-abort-reason",
"tags": [
"web-features:aborting"
],
"support": {
"chrome": {
"version_added": "98"
},
"chrome_android": "mirror",
"deno": {
"version_added": "1.16"
},
"edge": "mirror",
"firefox": {
"version_added": "97"
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"nodejs": [
{
"version_added": "17.2.0"
},
{
"version_added": "16.14.0",
"version_removed": "17.0.0"
}
],
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "15.4"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
}
},
"signal": {
Expand Down Expand Up @@ -215,7 +265,7 @@
{
"version_added": "11.1",
"partial_implementation": true,
"notes": "Even though <code>window.AbortController</code> is defined, it doesn't really abort <code>fetch</code> requests. See <a href='https://webkit.org/b/174980'>bug 174980</a>."
"notes": "Even though `window.AbortController` is defined, it doesn't really abort `fetch` requests. See [bug 174980](https://webkit.org/b/174980)."
}
],
"safari_ios": "mirror",
Expand Down
Loading

0 comments on commit cca6f1e

Please sign in to comment.