Packages

@mdn/browser-compat-data

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

Your version

4.2.0

17 May 2022Where it was published

4.2.1 is the newest release of 4.x.

In short

40 breaking136 changed

  • Breaking

    api.Document.getBoxObjectFor

  • Breaking

    api.ServiceWorkerRegistration.showNotification.actions

  • Breaking

    api.ServiceWorkerRegistration.showNotification.badge

  • Breaking

    api.ServiceWorkerRegistration.showNotification.data

  • Breaking

    api.ServiceWorkerRegistration.showNotification.image

  • Breaking

    api.ServiceWorkerRegistration.showNotification.renotify

  • Breaking

    api.ServiceWorkerRegistration.showNotification.requireInteraction

  • Breaking

    api.ServiceWorkerRegistration.showNotification.vibrate

Release note

Notable changes

  • Two new properties, type and accepts_webextensions, have been added to browser data.

  • Release data for the Oculus Quest browser has been added, compatibility data will eventually be added to BCD.

Removals

  • Breaking

    api.Document.getBoxObjectFor

  • Breaking

    api.ServiceWorkerRegistration.showNotification.actions

  • Breaking

    api.ServiceWorkerRegistration.showNotification.badge

  • Breaking

    api.ServiceWorkerRegistration.showNotification.data

  • Breaking

    api.ServiceWorkerRegistration.showNotification.image

  • Breaking

    api.ServiceWorkerRegistration.showNotification.renotify

  • Breaking

    api.ServiceWorkerRegistration.showNotification.requireInteraction

  • Breaking

    api.ServiceWorkerRegistration.showNotification.vibrate

  • Breaking

    api.Text.replaceWholeText

  • Breaking

    api.UIEvent.layerX

  • Breaking

    api.UIEvent.layerY

  • Breaking

    html.elements.input.input-button

  • Breaking

    html.elements.input.input-checkbox

  • Breaking

    html.elements.input.input-color

  • Breaking

    html.elements.input.input-color.autocomplete

  • Breaking

    html.elements.input.input-color.list

  • Breaking

    html.elements.input.input-date

  • Breaking

    html.elements.input.input-datetime-local

  • Breaking

    html.elements.input.input-email

  • Breaking

    html.elements.input.input-file

  • Breaking

    html.elements.input.input-hidden

  • Breaking

    html.elements.input.input-image

  • Breaking

    html.elements.input.input-month

  • Breaking

    html.elements.input.input-number

  • Breaking

    html.elements.input.input-password

  • Breaking

    html.elements.input.input-password.insecure_login_handling

  • Breaking

    html.elements.input.input-radio

  • Breaking

    html.elements.input.input-range

  • Breaking

    html.elements.input.input-range.tick_marks

  • Breaking

    html.elements.input.input-range.vertical_orientation

  • Breaking

    html.elements.input.input-reset

  • Breaking

    html.elements.input.input-search

  • Breaking

    html.elements.input.input-submit

  • Breaking

    html.elements.input.input-tel

  • Breaking

    html.elements.input.input-text

  • Breaking

    html.elements.input.input-time

  • Breaking

    html.elements.input.input-url

  • Breaking

    html.elements.input.input-week

  • Breaking

    svg.elements.feComposite.operator.lighter

  • Breaking

    webextensions.manifest.content_security_policy.content_scripts

Additions

  • api.CrashReportBody

  • api.CrashReportBody.reason

  • api.CrashReportBody.toJSON

  • api.CSPViolationReportBody

  • api.CSPViolationReportBody.blockedURL

  • api.CSPViolationReportBody.columnNumber

  • api.CSPViolationReportBody.disposition

  • api.CSPViolationReportBody.documentURL

  • api.CSPViolationReportBody.effectiveDirective

  • api.CSPViolationReportBody.lineNumber

  • api.CSPViolationReportBody.originalPolicy

  • api.CSPViolationReportBody.referrer

  • api.CSPViolationReportBody.sample

  • api.CSPViolationReportBody.sourceFile

  • api.CSPViolationReportBody.statusCode

  • api.CSPViolationReportBody.toJSON

  • api.DeprecationReportBody

  • api.DeprecationReportBody.anticipatedRemoval

  • api.DeprecationReportBody.columnNumber

  • api.DeprecationReportBody.id

  • api.DeprecationReportBody.lineNumber

  • api.DeprecationReportBody.message

  • api.DeprecationReportBody.sourceFile

  • api.DeprecationReportBody.toJSON

  • api.InterventionReportBody

  • api.InterventionReportBody.columnNumber

  • api.InterventionReportBody.id

  • api.InterventionReportBody.lineNumber

  • api.InterventionReportBody.message

  • api.InterventionReportBody.sourceFile

  • api.InterventionReportBody.toJSON

  • api.MouseEvent.layerX

  • api.MouseEvent.layerY

  • api.PermissionsPolicyViolationReportBody

  • api.PermissionsPolicyViolationReportBody.columnNumber

  • api.PermissionsPolicyViolationReportBody.disposition

  • api.PermissionsPolicyViolationReportBody.featureId

  • api.PermissionsPolicyViolationReportBody.lineNumber

  • api.PermissionsPolicyViolationReportBody.message

  • api.PermissionsPolicyViolationReportBody.sourceFile

  • api.PermissionsPolicyViolationReportBody.toJSON

  • api.Report

  • api.Report.body

  • api.Report.toJSON

  • api.Report.type

  • api.Report.url

  • api.ReportBody

  • api.ReportBody.toJSON

  • api.RTCDataChannel.transferable

  • api.ServiceWorkerRegistration.showNotification.options_actions_parameter

  • api.ServiceWorkerRegistration.showNotification.options_badge_parameter

  • api.ServiceWorkerRegistration.showNotification.options_data_parameter

  • api.ServiceWorkerRegistration.showNotification.options_image_parameter

  • api.ServiceWorkerRegistration.showNotification.options_renotify_parameter

  • api.ServiceWorkerRegistration.showNotification.options_requireInteraction_parameter

  • api.ServiceWorkerRegistration.showNotification.options_vibrate_parameter

  • html.elements.input.type_button

  • html.elements.input.type_checkbox

  • html.elements.input.type_color

  • html.elements.input.type_color.autocomplete

  • html.elements.input.type_color.list

  • html.elements.input.type_date

  • html.elements.input.type_datetime-local

  • html.elements.input.type_email

  • html.elements.input.type_file

  • html.elements.input.type_hidden

  • html.elements.input.type_image

  • html.elements.input.type_month

  • html.elements.input.type_number

  • html.elements.input.type_password

  • html.elements.input.type_password.insecure_login_handling

  • html.elements.input.type_radio

  • html.elements.input.type_range

  • html.elements.input.type_range.tick_marks

  • html.elements.input.type_range.vertical_orientation

  • html.elements.input.type_reset

  • html.elements.input.type_search

  • html.elements.input.type_submit

  • html.elements.input.type_tel

  • html.elements.input.type_text

  • html.elements.input.type_time

  • html.elements.input.type_url

  • html.elements.input.type_week

  • svg.elements.feComposite.operator.lighter_value

  • webextensions.api.action.ColorArray

  • webextensions.api.action.disable

  • webextensions.api.action.enable

  • webextensions.api.action.getBadgeBackgroundColor

  • webextensions.api.action.getBadgeText

  • webextensions.api.action.getBadgeTextColor

  • webextensions.api.action.getPopup

  • webextensions.api.action.getTitle

  • webextensions.api.action.ImageDataType

  • webextensions.api.action.isEnabled

  • webextensions.api.action.onClicked

  • webextensions.api.action.openPopup

  • webextensions.api.action.setBadgeBackgroundColor

  • webextensions.api.action.setBadgeText

  • webextensions.api.action.setBadgeTextColor

  • webextensions.api.action.setIcon

  • webextensions.api.action.setPopup

  • webextensions.api.action.setTitle

  • webextensions.api.scripting.executeScript

  • webextensions.api.scripting.executeScript.injectImmediately

  • webextensions.api.scripting.executeScript.world

  • webextensions.api.scripting.getRegisteredContentScripts

  • webextensions.api.scripting.InjectionTarget

  • webextensions.api.scripting.insertCSS

  • webextensions.api.scripting.insertCSS.origin

  • webextensions.api.scripting.registerContentScripts

  • webextensions.api.scripting.RegisteredContentScript

  • webextensions.api.scripting.removeCSS

  • webextensions.api.scripting.removeCSS.origin

  • webextensions.api.scripting.unregisterContentScripts

  • webextensions.api.scripting.unregisterContentScripts.persistAcrossSessions

  • webextensions.api.scripting.updateContentScripts

  • webextensions.manifest.action

  • webextensions.manifest.action.browser_style

  • webextensions.manifest.action.default_area

  • webextensions.manifest.action.default_icon

  • webextensions.manifest.action.default_popup

  • webextensions.manifest.action.default_title

  • webextensions.manifest.action.theme_icons

  • webextensions.manifest.content_security_policy.isolated_world

  • webextensions.manifest.content_security_policy.sandbox

  • webextensions.manifest.host_permissions

  • webextensions.manifest.web_accessible_resources.extension_ids

  • webextensions.manifest.web_accessible_resources.matches

  • webextensions.manifest.web_accessible_resources.resources

  • webextensions.manifest.web_accessible_resources.use_dynamic_url

Statistics

  • 12 contributors have changed 470 files with 14,238 additions and 7,249 deletions in 102 commits (v4.1.20...v4.2.0)

  • 13,700 total features

  • 868 total contributors

  • 4,039 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.