-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
buffer: truncate instead of throw when writing beyond buffer #54524
buffer: truncate instead of throw when writing beyond buffer #54524
Conversation
e785336
to
9c112d9
Compare
#54521 is not related to this |
615fe78
to
ff17b6b
Compare
Fast-track has been requested by @ronag. Please 👍 to approve. |
ff17b6b
to
e94a7f2
Compare
e94a7f2
to
f6f2334
Compare
Fixes: nodejs#54523 Fixes: nodejs#54518 PR-URL: nodejs#54524
f6f2334
to
9b0a26a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm okay with this, but could it be considered a major, breaking change?
It's unbrraking. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #54524 +/- ##
==========================================
- Coverage 87.34% 87.34% -0.01%
==========================================
Files 649 649
Lines 182576 182626 +50
Branches 35036 35040 +4
==========================================
+ Hits 159467 159507 +40
- Misses 16381 16390 +9
- Partials 6728 6729 +1
|
Of course it is: the semantic of dependent APIs is changed. But the initial upper bound check introduction should not have go without being flagged as a breaking change. |
Landed in dd8eeec |
nodejs/node#54524 Signed-off-by: Andrew Haines <[email protected]>
* chore(deps-dev): update development dependencies Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Revert to Node.js 22.6.0 nodejs/node#54524 Signed-off-by: Andrew Haines <[email protected]> --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Andrew Haines <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Andrew Haines <[email protected]>
This reverts commit dd8eeec. PR-URL: nodejs#54588 Refs: nodejs#54524
This reverts commit dd8eeec. PR-URL: nodejs#54588 Refs: nodejs#54524
This reverts commit dd8eeec. PR-URL: nodejs#54588 Refs: nodejs#54524
I'm unfamiliar with the node release process. Is there a rough estimate on when this will be released? |
It should go out tomorrow. Follow #54560 |
Fixes: #54523 Fixes: #54518 PR-URL: #54524 Reviewed-By: Ethan Arrowood <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Fixes: #54523 Fixes: #54518 PR-URL: #54524 Reviewed-By: Ethan Arrowood <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
nodejs/node#54524 Signed-off-by: Andrew Haines <[email protected]>
* chore(deps-dev): update development dependencies Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Fix lint errors Signed-off-by: Andrew Haines <[email protected]> * Revert to Node.js 22.6.0 nodejs/node#54524 Signed-off-by: Andrew Haines <[email protected]> --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Andrew Haines <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Andrew Haines <[email protected]>
This reverts commit dd8eeec. PR-URL: #54588 Refs: #54524 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]>
Fixes: nodejs#54523 Fixes: nodejs#54518 PR-URL: nodejs#54524 Reviewed-By: Ethan Arrowood <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
This reverts commit dd8eeec. PR-URL: nodejs#54588 Refs: nodejs#54524 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]>
This reverts commit dd8eeec. PR-URL: nodejs#54588 Refs: nodejs#54524 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]>
Fixes: #54523