Skip to content

Release v6.0.0#26291

Merged
caugner merged 2 commits intomainfrom
release
Mar 25, 2025
Merged

Release v6.0.0#26291
caugner merged 2 commits intomainfrom
release

Conversation

@mdn-bot
Copy link
Collaborator

@mdn-bot mdn-bot commented Mar 25, 2025

(This release was generated by the project's release script.)

Fixes #25778.

v6.0.0

March 25, 2025

Breaking changes

This major release introduces three breaking changes that may require updates from consumers of @mdn/browser-compat-data.

1. Removal of null and true version values (#24174)

Previously, the version_added, version_removed and version_last fields allowed null (indicating support is unknown) and true (indicating support added/removed in an unknown version).

Now, these values have been removed from the schema. All existing instances have been replaced with explicit or ranged version numbers (e.g. “≤37“).

Impact: Consumers handling null or true values may need to update their code.

2. Improved TypeScript definitions for array values (#26172)

Several fields, such as notes, accept either a single value or an array of at least two values.

Previously, TypeScript definitions used string | string[], requiring consumers to validate array values manually.

Now, these types are more precisely defined as string | [string, string, ...string[]], ensuring that arrays contain at least two values when used.

Impact: Consumers validating array values may need to update their code.

3. New top-level manifests folder (#26109)

Previously, support data for the Web Application Manifest was placed under html/manifest, which inaccurately implied it was an HTML subfeature.

Now, a new top-level manifests folder has been created to host the Web Application Manifest under manifests/webapp to better reflect its independence, and to support future manifest types like the Payment Method Manifest.

Impact: Consumers referencing Web Application Manifest data may need to update their code.

Renamings

  • html.manifest.* to manifest.webapp.* (#26109)

Statistics

  • 3 contributors have changed 38 files with 132 additions and 221 deletions in 3 commits (v5.7.6...v6.0.0)
  • 17,065 total features
  • 1,136 total contributors
  • 5,167 total stargazers

@github-actions github-actions bot added infra Infrastructure issues (npm, GitHub Actions, releases) of this project docs Issues or pull requests regarding the documentation of this project. dependencies Pull requests that update a dependency package or file. labels Mar 25, 2025
@caugner caugner added this to the BCD 6.0 milestone Mar 25, 2025
@caugner caugner marked this pull request as ready for review March 25, 2025 14:03
@caugner caugner merged commit ebfbdde into main Mar 25, 2025
11 checks passed
@caugner caugner deleted the release branch March 25, 2025 14:04
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 package or file. docs Issues or pull requests regarding the documentation of this project. infra Infrastructure issues (npm, GitHub Actions, releases) of this project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Planning a breaking release: browser-compat-data v6.0.0

2 participants