Skip to content

Commit

Permalink
2021-01-26, Version 15.7.0 (Current)
Browse files Browse the repository at this point in the history
PR-URL: #37020

Notable changes:

* buffer:
  * introduce Blob (James M Snell) [#36811](#36811)
  * add base64url encoding option (Filip Skokan) [#36952](#36952)
* doc:
  * add @iansu to collaborators (Ian Sutherland) [#36951](#36951)
  * add @RaisinTen to collaborators (Darshan Sen) [#36998](#36998)
  * add @miladfarca to collaborators (Milad Fa) [#36934](#36934)
* fs:
  * allow position parameter to be a BigInt in read and readSync (raisinten) [#36190](#36190)
* http:
  * attach request as res.req (Ian Storm Taylor) [#36505](#36505)
  * expose urlToHttpOptions utility (Yongsheng Zhang) [#35960](#35960)
  • Loading branch information
ruyadorno committed Jan 25, 2021
1 parent e52e860 commit 2c0edbc
Show file tree
Hide file tree
Showing 8 changed files with 119 additions and 16 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V15.md#15.6.0">15.6.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V15.md#15.7.0">15.7.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V15.md#15.6.0">15.6.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V15.md#15.5.1">15.5.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V15.md#15.5.0">15.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V15.md#15.4.0">15.4.0</a><br/>
Expand Down
16 changes: 8 additions & 8 deletions doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const buf7 = Buffer.from('tést', 'latin1');
## Buffers and character encodings
<!-- YAML
changes:
- version: REPLACEME
- version: v15.7.0
pr-url: https://github.com/nodejs/node/pull/36952
description: Introduced `base64url` encoding.
- version: v6.4.0
Expand Down Expand Up @@ -289,7 +289,7 @@ Additionally, the [`buf.values()`][], [`buf.keys()`][], and

## Class: `Blob`
<!-- YAML
added: REPLACEME
added: v15.7.0
-->

> Stability: 1 - Experimental
Expand All @@ -299,7 +299,7 @@ multiple worker threads.

### `new buffer.Blob([sources[, options]])`
<!-- YAML
added: REPLACEME
added: v15.7.0
-->

* `sources` {string[]|ArrayBuffer[]|TypedArray[]|DataView[]|Blob[]} An array
Expand All @@ -321,7 +321,7 @@ String sources are also copied into the `Blob`.

### `blob.arrayBuffer()`
<!-- YAML
added: REPLACEME
added: v15.7.0
-->

* Returns: {Promise}
Expand All @@ -331,14 +331,14 @@ the `Blob` data.

### `blob.size`
<!-- YAML
added: REPLACEME
added: v15.7.0
-->

The total size of the `Blob` in bytes.

### `blob.slice([start, [end, [type]]])`
<!-- YAML
added: REPLACEME
added: v15.7.0
-->

* `start` {number} The starting index.
Expand All @@ -350,7 +350,7 @@ data. The original `Blob` is not alterered.

### `blob.text()`
<!-- YAML
added: REPLACEME
added: v15.7.0
-->

* Returns: {Promise}
Expand All @@ -360,7 +360,7 @@ string.

### `blob.type`
<!-- YAML
added: REPLACEME
added: v15.7.0
-->

* Type: {string}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -1286,7 +1286,7 @@ be listed in the `transferList` argument.

### `keyObject.asymmetricKeyDetails`
<!-- YAML
added: REPLACEME
added: v15.7.0
-->

* {Object}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -1586,7 +1586,7 @@ response.removeHeader('Content-Encoding');

### `response.req`
<!-- YAML
added: REPLACEME
added: v15.7.0
-->

* {http.IncomingMessage}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -3439,7 +3439,7 @@ response.removeHeader('Content-Encoding');

### `response.req`
<!-- YAML
added: REPLACEME
added: v15.7.0
-->

* {http2.Http2ServerRequest}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ pathToFileURL('/some/path%.c'); // Correct: file:///some/path%25.c (POSIX)

### `url.urlToHttpOptions(url)`
<!-- YAML
added: REPLACEME
added: v15.7.0
-->

* `url` {URL} The [WHATWG URL][] object to convert to an options object.
Expand Down
102 changes: 102 additions & 0 deletions doc/changelogs/CHANGELOG_V15.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/node_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
#define SRC_NODE_VERSION_H_

#define NODE_MAJOR_VERSION 15
#define NODE_MINOR_VERSION 6
#define NODE_PATCH_VERSION 1
#define NODE_MINOR_VERSION 7
#define NODE_PATCH_VERSION 0

#define NODE_VERSION_IS_LTS 0
#define NODE_VERSION_LTS_CODENAME ""

#define NODE_VERSION_IS_RELEASE 0
#define NODE_VERSION_IS_RELEASE 1

#ifndef NODE_STRINGIFY
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
Expand Down

0 comments on commit 2c0edbc

Please sign in to comment.