Skip to content

Commit d5800c6

Browse files
authored
Prepare release v4.0.5 (#12543)
* Bump version to v4.0.5 * Bump known issues * Add release note for #12417 * Add release note for #12454 * Add release note for #12417 * Add release note for #12346 * Add release note for #12455 * Add release note for #12518 * Add release note for #11630 * Add release note for #12300 * Add release note for #12552 * Add release stats * Add release date * Fix a typo
1 parent 621aa4a commit d5800c6

File tree

3 files changed

+51
-2
lines changed

3 files changed

+51
-2
lines changed

RELEASE_NOTES.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,50 @@
11
# Release notes
22

3+
## [v4.0.5](https://github.com/mdn/browser-compat-data/releases/tag/v4.0.5)
4+
5+
September 23, 2021
6+
7+
### Notable changes
8+
9+
- The feature-naming convention `returns_promise` has been adopted for features that capture some but not all browsers' APIs returning a `Promise`. The [new data guideline](https://github.com/mdn/browser-compat-data/blob/main/docs/data-guidelines.md#methods-returning-promises-returns_promise) brings consistency to competing styles used throughout the API data.
10+
11+
The following features have been renamed to `returns_promise` ([#11630](https://github.com/mdn/browser-compat-data/pull/11630)):
12+
13+
- `api.BaseAudioContext.decodeAudioData.promise_syntax`
14+
- `api.Document.exitFullscreen.returns_a_promise`
15+
- `api.Element.requestFullscreen.returns_a_promise`
16+
- `api.OfflineAudioContext.startRendering.Promise_based_startRendering`
17+
18+
The feature `api.RTCPeerConnection.getStats.with_callbacks` was removed and the data for several `RTCPeerConnection` methods expanded with `returns_promise` data. The following features have been added ([#12300](https://github.com/mdn/browser-compat-data/pull/12300)):
19+
20+
- `api.RTCPeerConnection.addIceCandidate.returns_promise`
21+
- `api.RTCPeerConnection.createAnswer.returns_promise`
22+
- `api.RTCPeerConnection.createOffer.returns_promise`
23+
- `api.RTCPeerConnection.getStats.returns_promise`
24+
- `api.RTCPeerConnection.setLocalDescription.returns_promise`
25+
- `api.RTCPeerConnection.setRemoteDescription.returns_promise`
26+
27+
- The following non-existent, long-removed, or otherwise irrelevant features have been removed:
28+
29+
- `api.CryptoKeyPair` ([#12346](https://github.com/mdn/browser-compat-data/pull/12346))
30+
- `api.MediaStream.ended` ([#12454](https://github.com/mdn/browser-compat-data/pull/12454))
31+
- `api.MediaStream.label` ([#12455](https://github.com/mdn/browser-compat-data/pull/12455))
32+
- `api.SVGZoomAndPan` ([#12518](https://github.com/mdn/browser-compat-data/pull/12518))
33+
- `api.Window.maximize` ([#12552](https://github.com/mdn/browser-compat-data/pull/12552))
34+
- `api.Window.minimize` ([#12552](https://github.com/mdn/browser-compat-data/pull/12552))
35+
- `api.XMLSerializer.serializeToStream` ([#12417](https://github.com/mdn/browser-compat-data/pull/12417))
36+
37+
### Known issues
38+
39+
- In [v3.3.9](https://github.com/mdn/browser-compat-data/releases/tag/v3.3.9), the structure of features for `css.properties.place-content`, `place-items`, and `place-self` changed ([#11214](https://github.com/mdn/browser-compat-data/pull/11214)). This is an incomplete fix to the problem of undocumented namespaces appearing in places where you might otherwise expect compatability data. The restructuring of the data is a work in progress and may change again in a future release. See [#6175](https://github.com/mdn/browser-compat-data/issues/6175) for more information.
40+
41+
### Statistics
42+
43+
- 8 contributors have changed 53 files with 1,649 additions and 2,580 deletions in 54 commits ([`v4.0.4...v4.0.5`](https://github.com/mdn/browser-compat-data/compare/v4.0.4...v4.0.5))
44+
- 13,414 total features
45+
- 809 total contributors
46+
- 3,583 total stargazers
47+
348
## [v4.0.4](https://github.com/mdn/browser-compat-data/releases/tag/v4.0.4)
449

550
September 16, 2021
@@ -14,6 +59,10 @@ September 16, 2021
1459
- `api.Transferable` ([#12376](https://github.com/mdn/browser-compat-data/pull/12376)
1560
- `api.Window.routeEvent` ([#12403](https://github.com/mdn/browser-compat-data/pull/12403))
1661

62+
### Known issues
63+
64+
- In [v3.3.9](https://github.com/mdn/browser-compat-data/releases/tag/v3.3.9), the structure of features for `css.properties.place-content`, `place-items`, and `place-self` changed ([#11214](https://github.com/mdn/browser-compat-data/pull/11214)). This is an incomplete fix to the problem of undocumented namespaces appearing in places where you might otherwise expect compatability data. The restructuring of the data is a work in progress and may change again in a future release. See [#6175](https://github.com/mdn/browser-compat-data/issues/6175) for more information.
65+
1766
### Statistics
1867

1968
- 14 contributors have changed 43 files with 587 additions and 887 deletions in 33 commits ([`v4.0.3...v4.0.4`](https://github.com/mdn/browser-compat-data/compare/v4.0.3...v4.0.4))

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mdn/browser-compat-data",
3-
"version": "4.0.4",
3+
"version": "4.0.5",
44
"description": "Browser compatibility data provided by MDN Web Docs",
55
"main": "index.js",
66
"types": "index.d.ts",

0 commit comments

Comments
 (0)