Skip to content

Bump @mdn/browser-compat-data from 7.3.17 to 8.0.0#4071

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/mdn/browser-compat-data-8.0.0
Open

Bump @mdn/browser-compat-data from 7.3.17 to 8.0.0#4071
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/mdn/browser-compat-data-8.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 25, 2026

Bumps @mdn/browser-compat-data from 7.3.17 to 8.0.0.

Release notes

Sourced from @​mdn/browser-compat-data's releases.

v8.0.0

Breaking changes

This release introduces two breaking changes in the TypeScript definitions. The shape of the published data.json has not changed.

Summary: The published TypeScript definitions (types.d.ts) now fully match the actual shape of the published data.json. Two existing types are now stricter.

1. source_file is now required on CompatStatement (#29041)

Previously, the CompatStatement.source_file property was optional in the TypeScript definitions, even though it is always present in published data.json releases (it is generated at build time).

Now, source_file is typed as required, matching the actual shape of the data.

Impact: You may need to remove checks for a missing source_file (e.g. if (compat.source_file)).

2. BrowserStatement.upstream is narrowed to UpstreamBrowserName (#29041)

Previously, the BrowserStatement.upstream property was typed as BrowserName, allowing any of the 17 known browser keys.

Now, upstream is typed as the new UpstreamBrowserName, a subset of BrowserName containing only the browsers that other browsers actually derive from: "chrome" | "chrome_android" | "firefox" | "safari" | "safari_ios".

Impact: You may need to widen the type when passing upstream into functions expecting a full BrowserName, or switch on the narrower set.

Statistics

  • 2 contributors have changed 91 files with 1,681 additions and 784 deletions in 1 commit (v7.3.17...v8.0.0)
  • 19,752 total features
  • 1,250 total contributors
  • 5,671 total stargazers
Changelog

Sourced from @​mdn/browser-compat-data's changelog.

v8.0.0

May 22, 2026

Breaking changes

This release introduces two breaking changes in the TypeScript definitions. The shape of the published data.json has not changed.

Summary: The published TypeScript definitions (types.d.ts) now fully match the actual shape of the published data.json. Two existing types are now stricter.

1. source_file is now required on CompatStatement (#29041)

Previously, the CompatStatement.source_file property was optional in the TypeScript definitions, even though it is always present in published data.json releases (it is generated at build time).

Now, source_file is typed as required, matching the actual shape of the data.

Impact: You may need to remove checks for a missing source_file (e.g. if (compat.source_file)).

2. BrowserStatement.upstream is narrowed to UpstreamBrowserName (#29041)

Previously, the BrowserStatement.upstream property was typed as BrowserName, allowing any of the 17 known browser keys.

Now, upstream is typed as the new UpstreamBrowserName, a subset of BrowserName containing only the browsers that other browsers actually derive from: "chrome" | "chrome_android" | "firefox" | "safari" | "safari_ios".

Impact: You may need to widen the type when passing upstream into functions expecting a full BrowserName, or switch on the narrower set.

Statistics

  • 2 contributors have changed 91 files with 1,681 additions and 784 deletions in 1 commit (v7.3.17...v8.0.0)
  • 19,752 total features
  • 1,250 total contributors
  • 5,671 total stargazers

Older Versions

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@mdn/browser-compat-data](https://github.com/mdn/browser-compat-data) from 7.3.17 to 8.0.0.
- [Release notes](https://github.com/mdn/browser-compat-data/releases)
- [Changelog](https://github.com/mdn/browser-compat-data/blob/main/RELEASE_NOTES.md)
- [Commits](mdn/browser-compat-data@v7.3.17...v8.0.0)

---
updated-dependencies:
- dependency-name: "@mdn/browser-compat-data"
  dependency-version: 8.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 25, 2026
@github-actions github-actions Bot added the generated These PRs are generated by Dependabot or other tools. label May 25, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Complete this checklist for every @mdn/browser-compat-data upgrade PR.

  • Check out this branch locally.
  • If any keys were removed in the release, delete them from .yml files and commit your changes.
  • Run npm install && npm run dist && npm test && git commit --all --message="Refresh dist" && git push.
  • Review the diff. Watch out for Baseline regressions; if applicable, add a comment (see #1971).
  • Merge this PR.

After merging, do these steps:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file generated These PRs are generated by Dependabot or other tools. javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants