Commit 0cca27b3 authored by James M Snell's avatar James M Snell
Browse files

2018-04-24, Version 10.0.0 (Current)

* Assert
  * Calling `assert.fail()` with more than one argument is deprecated. #70dcacd7
  * Calling `assert.ok()` with no arguments will now throw. #3cd7977a
  * Calling `assert.ifError()` will now throw with any argument other than `undefined` or `null`. Previously the method would throw with any truthy value. #e65a6e81
  * The `assert.rejects()` and `assert.doesNotReject()` methods have been added for working with async functions. #599337f4
* Async_hooks
  * Older experimental async_hooks APIs have been removed. #1cc6b993
* Buffer
  * Uses of `new Buffer()` and `Buffer()` outside of the `node_modules` directory will now emit a runtime deprecation warning. #9d4ab901
  * `Buffer.isEncoding()` now returns `undefined` for falsy values, including an empty string. #452eed95
  * `Buffer.fill()` will throw if an attempt is made to fill with an empty `Buffer`. #1e802539
* Child Process
  * Undefined properties of env are ignored. #38ee25e2, #85739b6c
* Console
  * The `console.table()` method has been added. #97ace044
* Crypto
  * The `crypto.createCipher()` and `crypto.createDecipher()` methods have been deprecated. Please use `crypto.createCipheriv()` and `crypto.createDecipheriv()` instead. #81f88e30
  * The `decipher.finaltol()` method has been deprecated. #19f3927d
  * The `crypto.DEFAULT_ENCODING` property has been deprecated. #6035beea
  * The `ECDH.convertKey()` method has been added. #f2e02883
  * The `crypto.fips` property has been deprecated. #6e7992e8
* Dependencies
  * V8 has been updated to 6.6. #9daebb48
  * OpenSSL has been updated to 1.1.0h. #66cb29e6
* EventEmitter
  * The `EventEmitter.prototype.off()` method has been added as an alias for `EventEmitter.prototype.removeListener()`. #3bb6f07d
* File System
  * The `fs.promises` API provides experimental promisified versions of the `fs` functions. #329fc78e
  * Invalid path errors are now thrown synchronously. #d8f73385
  * The `fs.readFile()` method now partitions reads to avoid thread pool exhaustion. #67a4ce1c
* HTTP
  * Processing of HTTP Status codes `100`, `102-199` has been improved. #baf84950
  * Multi-byte characters in URL paths are now forbidden. #b961d9fd
* N-API
  * The n-api is no longer experimental. #cd7d7b15
* Net
  * The `'close'` event will be emitted after `'end'`. #9b7a6914
* Perf_hooks
  * The `PerformanceObserver` class is now an `AsyncResource` and can be monitored using `async_hooks`. #009e4182
  * Trace events are now emitted for performance events. #9e509b62
  * The `performance` API has been simplified. #2ec69955
  * Performance milestone marks will be emitted as trace events. #96cb4fb7
* Process
  * Using non-string values for `process.env` is deprecated. #5826fe4e
  * The `process.assert()` method is deprecated. #703e37cf
* REPL
  * REPL now experimentally supports top-level await when using the `--experimental-repl-await` flag. #eeab7bc0
  * The previously deprecated "magic mode" has been removed. #4893f70d
  * The previously deprecated `NODE_REPL_HISTORY_FILE` environment variable has been removed. #60c9ad79
  * Proxy objects are shown as Proxy objects when inspected. #90a43906
* Streams
  * The `'readable'` event is now always deferred with nextTick. #1e0f3315
  * A new `pipeline()` method has been provided for building end-to-data stream pipelines. #a5cf3fea
  * Experimental support for async for-await has been added to `stream.Readable`. #61b4d60c
* Timers
  * The `enroll()` and `unenroll()` methods have been deprecated. #68783ae0
* TLS
  * The `tls.convertNONProtocols()` method has been deprecated. #9204a0db
  * Support for NPN (next protocol negotiation) has been dropped. #5bfbe5ce
  * The `ecdhCurve` default is now `'auto'`. #af78840b
* Trace Events
  * A new `trace_events` top-level module allows trace event categories to be enabled/disabld at runtime. #da5d818a
* URL
  * The WHATWG URL API is now a global. #31241466
* Util
  * `util.types.is[…]` type checks have been added. #b20af808
  * Support for bigint formatting has been added to `util.inspect()`. #39dc9474
parent 7424d865
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment