Packages

@mdn/browser-compat-data

8.1.10 · 19 Nov 2026CC0-1.04.6M / weekRepositoryHomepagenpmAtom feed

Your version

5.0.2

7 Jun 2022Where it was published

5.7.6 is the newest release of 5.x.

In short

6 breaking42 changed

  • Breaking

    New types will only be introduced in minor releases, and breaking changes to existing types will only be introduced in major releases.

  • Breaking

    api.GlobalEventHandlers.onabort

  • Breaking

    css.properties.text-align.justify-all

  • Breaking

    css.properties.text-align.string

  • Breaking

    css.properties.text-overflow.fade_function

  • Breaking

    css.properties.text-overflow.fade_value

Release note

Notable changes

TypeScript types

This release includes a fundamental change to the TypeScript definitions. To ensure that TypeScript users will always be able to utilize new schema additions, the TypeScript types are now automatically generated from the schema file used for internal validation. The following changes have been made to the TypeScript types:

  • Renamed: BrowserNames -> BrowserName

  • Renamed: BrowserEngines -> BrowserEngine

  • Renamed: BrowserTypes -> BrowserType

  • Added: BrowserStatus

  • Added: CompatStatement.spec_url

  • Added: FlagStatement

As a side effect of the auto-generation of TypeScript types, changes to the TypeScript will involve changes to the schema, which is covered by the project's semantic versioning policy. Going forward, TypeScript definitions will also be explicitly covered by the semantic versioning policy. New types will only be introduced in minor releases, and breaking changes to existing types will only be introduced in major releases. Expect descriptions and patches to fix existing types to be included in patch releases.

Removals

  • Breaking

    api.GlobalEventHandlers.onabort

  • Breaking

    css.properties.text-align.justify-all

  • Breaking

    css.properties.text-align.string

  • Breaking

    css.properties.text-overflow.fade_function

  • Breaking

    css.properties.text-overflow.fade_value

Additions

  • api.ReadableStream.transferable

  • api.TransformStream.transferable

  • api.WritableStream.transferable

  • css.at-rules.media.update

  • html.elements.input.attributes.accept

  • html.elements.input.attributes.align

  • html.elements.input.attributes.alt

  • html.elements.input.attributes.capture

  • html.elements.input.attributes.checked

  • html.elements.input.attributes.dirname

  • html.elements.input.attributes.disabled

  • html.elements.input.attributes.form

  • html.elements.input.attributes.formaction

  • html.elements.input.attributes.formenctype

  • html.elements.input.attributes.formmethod

  • html.elements.input.attributes.formnovalidate

  • html.elements.input.attributes.formtarget

  • html.elements.input.attributes.list

  • html.elements.input.attributes.max

  • html.elements.input.attributes.maxlength

  • html.elements.input.attributes.min

  • html.elements.input.attributes.minlength

  • html.elements.input.attributes.multiple

  • html.elements.input.attributes.name

  • html.elements.input.attributes.pattern

  • html.elements.input.attributes.placeholder

  • html.elements.input.attributes.readonly

  • html.elements.input.attributes.src

  • html.elements.input.attributes.step

  • html.elements.input.attributes.usemap

  • webextensions.api.storage.session

  • webextensions.api.storage.StorageArea.onChanged

Statistics

  • 14 contributors have changed 456 files with 4,606 additions and 3,037 deletions in 54 commits (v5.0.1...v5.0.2)

  • 13,727 total features

  • 873 total contributors

  • 4,071 total stargazers

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.