You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Node v15.6.0 changes the behavior of .end on zlib.DeflateRaw #37027
I think a4fce32 is fine. The documentation does not mention that writable.end() calls writable.write() and writable._write() is still called as expected.
I would only revert on v15.x and mark #36817 as semver-major.
Reacted by Robert Nagy, Matteo Collina, Nicholas Sherlock and bl-ue
Hello 👋 To clarify - @lpinca - does that mean that the original PR (#36817) that caused issues for some packages depending on undocumented behavior will be merged to the next major version? Thanks in advance 🙇
Hello 👋 To clarify - @lpinca - does that mean that the original PR (#36817) that caused issues for some packages depending on undocumented behavior will be merged to the next major version? Thanks in advance 🙇
Yes, we do not plan to revert on master, only on v15.
Reacted by Piotr Grzesik, Tobias Nyholm and Josh Samuel
Activity
Trott commentedon Jan 22, 2021
@nodejs/zlib @nodejs/streams
lpinca commentedon Jan 23, 2021
The issue seems to be caused by a4fce32. Reverting it makes the example work as expected.
mcollina commentedon Jan 23, 2021
@ronag wdyt? I have a feeling we should be reverting a4fce32 and add a unit test.
lpinca commentedon Jan 23, 2021
I think a4fce32 is fine. The documentation does not mention that
writable.end()callswritable.write()andwritable._write()is still called as expected.I would only revert on v15.x and mark #36817 as semver-major.
pgrzesik commentedon Jan 27, 2021
Hello 👋 To clarify - @lpinca - does that mean that the original PR (#36817) that caused issues for some packages depending on undocumented behavior will be merged to the next major version? Thanks in advance 🙇
mcollina commentedon Jan 27, 2021
Yes, we do not plan to revert on master, only on v15.
pgrzesik commentedon Jan 27, 2021
Thanks for clarification @mcollina 🙇
lpinca commentedon Mar 5, 2021
I'm closing this as it was addressed by #37060.
severn-everett commentedon Jun 3, 2021
@mcollina Why was this not reverted on master? I'm running into the same issue on 16.3.0.
ronag commentedon Jun 3, 2021
@severn-everett Because the new behavior is considered correct.
fix: Downgrade node version