0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
Beth Griggs 42bf0c8df2
2019-10-22, Version 13.0.0 (Current)
Notable changes:

* assert:
  * If the validation function passed to `assert.throws()` or
    `assert.rejects()` returns a value other than `true`, an assertion
    error will be thrown instead of the original error to highlight the
    programming mistake (Ruben Bridgewater).
    https://github.com/nodejs/node/pull/28263
  * If a constructor function is passed to validate the instance of
    errors thrown in `assert.throws()` or `assert.reject()`, an
    assertion error will be thrown instead of the original error
    (Ruben Bridgewater).
    https://github.com/nodejs/node/pull/28263
* build:
  * Node.js releases are now built with default full-icu support. This
    means that all locales supported by ICU are now included and
    Intl-related APIs may return different values than before
    (Richard Lau).
    https://github.com/nodejs/node/pull/29887
  * The minimum Xcode version supported for macOS was increased to 10.
    It is still possible to build Node.js with Xcode 8 but this may no
    longer be the case in a future v13.x release (Michael Dawson).
    https://github.com/nodejs/node/pull/29622
* child_process:
  * `ChildProcess._channel` (DEP0129) is now a Runtime deprecation
    (cjihrig).
    https://github.com/nodejs/node/pull/27949
* console:
  * The output `console.timeEnd()` and `console.timeLog()` will now
    automatically select a suitable time unit instead of always using
    milliseconds (Xavier Stouder).
    https://github.com/nodejs/node/pull/29251
* deps:
  * The V8 engine was updated to version 7.8. This includes performance
    improvements to object destructuring, memory usage and WebAssembly
    startup time (Myles Borins).
    https://github.com/nodejs/node/pull/29694)
* domain:
  * The domain's error handler is now executed with the active domain
    set to the domain's parent to prevent inner recursion
    (Julien Gilli).
    https://github.com/nodejs/node/pull/26211
* fs:
  * The undocumented method `FSWatcher.prototype.start()` was removed
    (Lucas Holmquist).
    https://github.com/nodejs/node/pull/29905
  * Calling the `open()` method on a `ReadStream` or `WriteStream` now
    emits a runtime deprecation warning. The methods are supposed to be
    internal and should not be called by user code (Robert Nagy).
    https://github.com/nodejs/node/pull/29061
  * `fs.read/write`, `fs.readSync/writeSync` and `fd.read/write` now
    accept any safe integer as their `offset` parameter. The value of
    `offset` is also no longer coerced, so a valid type must be passed
    to the functions (Zach Bjornson).
    https://github.com/nodejs/node/pull/26572
* http:
  * Aborted requests no longer emit the `end` or `error` events after
    `aborted` (Robert Nagy).
    https://github.com/nodejs/node/pull/27984
    https://github.com/nodejs/node/pull/20077
  * Data will no longer be emitted after a socket error (Robert Nagy).
    https://github.com/nodejs/node/pull/28711
  * The legacy HTTP parser (previously available under the
    `--http-parser=legacy` flag) was removed (Anna Henningsen).
    https://github.com/nodejs/node/pull/29589
  * The `host` option for HTTP requests is now validated to be a string
    value (Giorgos Ntemiris).
    https://github.com/nodejs/node/pull/29568
  * The `request.connection` and `response.connection` properties are now
    runtime deprecated. The equivalent `request.socket` and `response.socket`
    should be used instead (Robert Nagy).
    https://github.com/nodejs/node/pull/29015
* http, http2:
  * The default server timeout was removed (Ali Ijaz Sheikh).
    https://github.com/nodejs/node/pull/27558
  * Brought 425 status code name into accordance with RFC 8470. The name
    changed from "Unordered Collection" to "Too Early" (Sergei Osipov).
    https://github.com/nodejs/node/pull/29880
* lib:
  * The `error.errno` property will now always be a number. To get the
    string value, use `error.code` instead (Joyee Cheung).
    https://github.com/nodejs/node/pull/28140
* module:
  * `module.createRequireFromPath()` is deprecated. Use
    `module.createRequire()` instead (cjihrig).
    https://github.com/nodejs/node/pull/27951
* src:
  * Changing the value of `process.env.TZ` will now clear the tz cache.
    This affects the default time zone used by methods such as
    `Date.prototype.toString` (Ben Noordhuis).
    https://github.com/nodejs/node/pull/20026
* stream:
  * The timing and behavior of streams was consolidated for a number of
    edge cases. Please look at the individual commits below for more
    information.

PR-URL: https://github.com/nodejs/node/pull/29504
2019-10-22 17:12:12 +01:00
..
addons.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
assert.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
async_hooks.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
buffer.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
child_process.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
cli.md 2019-10-22, Version 13.0.0 (Current) 2019-10-22 17:12:12 +01:00
cluster.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
console.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
crypto.md doc: make YAML matter consistent in crypto.md 2019-10-18 09:11:25 -07:00
debugger.md doc: change the 'txt' to 'console' for a command 2019-09-03 14:21:34 -07:00
deprecations.md 2019-10-22, Version 13.0.0 (Current) 2019-10-22 17:12:12 +01:00
dgram.md dgram: add source-specific multicast support 2019-10-17 03:12:53 +02:00
dns.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
documentation.md doc: remove multiple consecutive blank lines 2019-08-31 15:27:58 -07:00
domain.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
errors.md vm: add Synthetic modules 2019-10-14 14:25:38 -07:00
esm.md module: refactor modules bootstrap 2019-10-16 21:50:05 -04:00
events.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
fs.md doc: fix some recent nits in fs.md 2019-10-12 08:50:25 -07:00
globals.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
http2.md 2019-10-22, Version 13.0.0 (Current) 2019-10-22 17:12:12 +01:00
http.md 2019-10-22, Version 13.0.0 (Current) 2019-10-22 17:12:12 +01:00
https.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
index.md
inspector.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
intl.md tools: support full-icu by default 2019-10-03 15:21:26 -07:00
modules.md 2019-10-11, Version 12.12.0 (Current) 2019-10-11 21:25:36 +02:00
n-api.md 2019-10-22, Version 13.0.0 (Current) 2019-10-22 17:12:12 +01:00
net.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
os.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
path.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
perf_hooks.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
policy.md doc: remove multiple consecutive blank lines 2019-08-31 15:27:58 -07:00
process.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
punycode.md
querystring.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
readline.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
repl.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
report.md http: remove legacy parser 2019-09-20 20:18:35 +02:00
stream.md doc: clarify readable.unshift null/EOF 2019-10-16 13:04:55 -07:00
string_decoder.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
synopsis.md
timers.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
tls.md doc: fix tls version typo 2019-10-18 16:56:47 +05:30
tracing.md doc: add explicit bracket for markdown reference links 2019-10-03 22:57:33 -07:00
tty.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
url.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
util.md 2019-10-22, Version 13.0.0 (Current) 2019-10-22 17:12:12 +01:00
v8.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
vm.md 2019-10-22, Version 13.0.0 (Current) 2019-10-22 17:12:12 +01:00
worker_threads.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
zlib.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00