Uh oh!
There was an error while loading. Please reload this page.
stream,doc: make writable.setDefaultEncoding() return this - #5040
Conversation
cjihrig
commented
Feb 2, 2016
LGTM |
evanlucas
commented
Feb 2, 2016
LGTM |
jasnell
commented
Feb 2, 2016
mscdex
commented
Feb 2, 2016
Wouldn't this be |
cjihrig
commented
Feb 2, 2016
I guess it's debatable. I gave it semver-minor because it's adding a return type where one didn't exist before, but I can definitely see the argument for semver-major. I don't have a strong opinion. |
evanlucas
commented
Feb 3, 2016
I know we landed some changes like this previously for net (#1768). They were landed as semver-minor, but I don't really have a strong opinion here either. |
jasnell
commented
Feb 3, 2016
Since it never returned a value previously there shouldn't be anyone depending on that return value ;-) ... it's likely safe as a semver-minor. |
jasnell
commented
Apr 2, 2016
7da4fd4 to
c7066fbComparejasnell
commented
Apr 28, 2016
New New CI since this didn't land before: https://ci.nodejs.org/job/node-test-pull-request/2419/ |
estliberitas
commented
Apr 29, 2016
I guess, first I have to resolve conflicts |
Let this function return `this` for parity with `readable.setEncoding()` (#5013).
estliberitas
commented
Apr 29, 2016
@jasnell OS X build failed on test-tick-processor and I guess it's not relevant? |
jasnell
commented
Apr 30, 2016
New CI: https://ci.nodejs.org/job/node-test-pull-request/2442/ |
jasnell
commented
Apr 30, 2016
CI is green. |
jasnell
commented
Apr 30, 2016
@nodejs/streams ... any objections to this one? |
mcollina
commented
Apr 30, 2016
LGTM |
sonewman
commented
Apr 30, 2016
LGTM 👍 |
Let this function return `this` for parity with `readable.setEncoding()`. PR-URL: nodejs#5040Fixes: nodejs#5013 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Calvin Metcalf <calvin.metcalf@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* assert: `deep{Strict}Equal()` now works correctly with circular
references. (Rich Trott) #6432
* debugger: Arrays are now formatted correctly in the debugger repl.
(cjihrig) #6448
* deps: Upgrade OpenSSL sources to 1.0.2h (Shigeki Ohtsu)
#6550
* net: Introduced a `Socket#connecting` property. (Fedor Indutny)
#6404
- Previously this information was only available as the undocumented,
internal `_connecting` property.
* process: Introduced `process.cpuUsage()`. (Patrick Mueller)
#6157
* stream: `Writable#setDefaultEncoding()` now returns `this`.
(Alexander Makarenko) #5040
* util: Two new additions to `util.inspect()`:
- Added a `maxArrayLength` option to truncate the formatting of
Arrays. (James M Snell) #6334
- This is set to `100` by default.
- Added a `showProxy` option for formatting proxy intercepting
handlers. (James M Snell) #6465
- Inspecting proxies is non-trivial and as such this is off by
default.
PR-URL: #6557* assert: `deep{Strict}Equal()` now works correctly with circular
references. (Rich Trott) #6432
* debugger: Arrays are now formatted correctly in the debugger repl.
(cjihrig) #6448
* deps: Upgrade OpenSSL sources to 1.0.2h (Shigeki Ohtsu)
#6550
- Please see our blog post for more info on the security contents of this release:
- https://nodejs.org/en/blog/vulnerability/openssl-may-2016/
* net: Introduced a `Socket#connecting` property. (Fedor Indutny)
#6404
- Previously this information was only available as the undocumented,
internal `_connecting` property.
* process: Introduced `process.cpuUsage()`. (Patrick Mueller)
#6157
* stream: `Writable#setDefaultEncoding()` now returns `this`.
(Alexander Makarenko) #5040
* util: Two new additions to `util.inspect()`:
- Added a `maxArrayLength` option to truncate the formatting of
Arrays. (James M Snell) #6334
- This is set to `100` by default.
- Added a `showProxy` option for formatting proxy intercepting
handlers. (James M Snell) #6465
- Inspecting proxies is non-trivial and as such this is off by
default.
PR-URL: #6557* assert: `deep{Strict}Equal()` now works correctly with circular
references. (Rich Trott) #6432
* debugger: Arrays are now formatted correctly in the debugger repl.
(cjihrig) #6448
* deps: Upgrade OpenSSL sources to 1.0.2h (Shigeki Ohtsu)
#6550
- Please see our blog post for more info on the security contents of
this release:
- https://nodejs.org/en/blog/vulnerability/openssl-may-2016/
* net: Introduced a `Socket#connecting` property. (Fedor Indutny)
#6404
- Previously this information was only available as the undocumented,
internal `_connecting` property.
* process: Introduced `process.cpuUsage()`. (Patrick Mueller)
#6157
* stream: `Writable#setDefaultEncoding()` now returns `this`.
(Alexander Makarenko) #5040
* util: Two new additions to `util.inspect()`:
- Added a `maxArrayLength` option to truncate the formatting of
Arrays. (James M Snell) #6334
- This is set to `100` by default.
- Added a `showProxy` option for formatting proxy intercepting
handlers. (James M Snell) #6465
- Inspecting proxies is non-trivial and as such this is off by
default.
PR-URL: #6557
Let this function return
thisfor parity withreadable.setEncoding()though they set encodings for different purposes. (#5013).