This document helps you to understand the structure of the browser (and JavaScript runtime) data in BCD, including the browser type, a display-friendly name, release data and more. Each browser is defined by a unique identifier (e.g. firefox
or chrome_android
).
Note: while NodeJS and Deno are JavaScript runtimes and not browsers, data for them is placed in browsers
, and are included whenever we use the term "browsers".
Below is an example of the browser data:
{
"browsers": {
"firefox": {
"name": "Firefox",
"type": "desktop",
"preview_name": "Nightly",
"pref_url": "about:config",
"accepts_flags": true,
"accepts_webextensions": true,
"releases": {
"1.5": {
"release_date": "2005-11-29",
"release_notes": "https://developer.mozilla.org/Firefox/Releases/1.5",
"status": "retired",
"engine": "Gecko",
"engine_version": "1.8"
}
}
}
}
}
The name
string is a required property which should use the browser brand name and avoid English words if possible, for example "Firefox"
, "Firefox Android"
, "Safari"
, "iOS Safari"
, etc.
The type
string is a required property which indicates the platform category the browser runs on. Valid options are "desktop"
, "mobile"
, "server"
and "xr"
.
The upstream
string is an optional property which indicates the upstream browser updates are derived from. For example, Firefox Android's upstream browser is Firefox (desktop), and Edge's upstream browser is Chrome. This is used for mirroring data between browsers. Valid options are any browser defined in the data.
An optional boolean indicating whether the browser supports flags. If it is set to false
, flag data will not be allowed for that browser.
An optional boolean indicating whether the browser supports web extensions. A true
value will allow this browser to be defined in web extensions support.
An optional string containing the URL of the page where feature flags can be changed (e.g. "about:config"
for Firefox or "chrome://flags"
for Chrome).
An optional string containing the name of the preview browser. For example, "Nightly" for Firefox, "Canary" for Chrome, and "TP" for Safari.
The releases
object contains data regarding the browsers' releases, using the version number as the index for each entry within. A release object contains the following properties:
-
A mandatory
status
property indicating where in the lifetime cycle this release is in. It's an enum accepting these values:retired
: This release is no longer supported (EOL). For NodeJS and Deno, every minor/patch release aside from the latest within the major release is considered "retired".current
: This release is the official latest release.exclusive
: This is an exclusive release (for example on a flagship device), not generally available.beta
: This release will the next official release.nightly
: This release is the current alpha / experimental release (like Firefox Nightly, Chrome Canary).esr
: This release is an Extended Support Release or Long Term Support release.planned
: This release is planned in the future.
-
An optional
release_date
property with theYYYY-MM-DD
release date of the browser's release. -
An optional
release_notes
property which points to release notes. It needs to be a valid URL. -
An optional
engine
property which is the name of the browser's engine. This property is placed on the individual release as a browser may switch to a different engine (e.g. Microsoft Edge switched to Chrome as its base engine). -
An optional
engine_version
property which is the version of the browser's engine. Depending on the browser, this may or may not differ from the browser version.
The following table indicates initial versions for browsers in BCD. These are the earliest possible version numbers allowed to be used. When the earliest version is not naturally "1" or "1.0", see the Notes column for an explanation.
Browser | Initial version | Notes |
---|---|---|
Chrome | 1 | |
Chrome Android | 18 | Stable versioning started at 18. No Chrome Android 17 or earlier was ever released. |
Edge | 12 | EdgeHTML versioning started at 12, continuing from Internet Explorer 11. After version 18, Edge jumped to version 79, synchronizing with the Chromium versioning scheme. |
Firefox | 1 | |
Firefox Android | 4 | Stable versioning started at 4. Earlier non-Android mobile versions are ignored. |
IE | 1 | |
Node.js | 0.10.0 | This project selected 0.10.0 as the first release primarily because the 0.10-series releases was the first to have LTS status applied. See issue #6861. |
Meta Quest | 5.0 | The first version documented on the Oculus Developer website. |
Opera | 2 | Stable versioning started at 2. Opera 1 was demoed at a conference, but never publicly released. |
Opera Android | 10.1 | Stable versioning started at 10.1. |
Safari | 1 | |
iOS Safari | 1 | |
Samsung Internet | 1.0 | |
WebView Android | 1 |
This structure is exported for consumers of @mdn/browser-compat-data
:
import bcd from '@mdn/browser-compat-data';
bcd.browsers.firefox.releases['1.5'].status; // "retired"
const bcd = require('@mdn/browser-compat-data');
bcd.browsers.firefox.releases['1.5'].status;
// "retired"