Skip to content

Conversation

@evanlucas
Copy link
Contributor

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

repl,util

Description of change

This reverts commit fce4b98.

This was a breaking change and should have been marked semver-major.

Ref: #8028
Related: hapijs/code#81
Related: #8138

I realized I had opened the other targeting v6.x instead of master

@nodejs-github-botnodejs-github-bot added repl Issues and PRs related to the REPL subsystem. util Issues and PRs related to the built-in util module. labels Aug 17, 2016
@addaleax
Copy link
Member

(The Edit button for PRs in the upper right corner lets you change the base branch now, if you prefer… this might be a good chance to try that out?)

@evanlucas
Copy link
ContributorAuthor

Just tried it on #8141. It doesn't rebase it, so it had +250 commits in the PR

@addaleax
Copy link
Member

That’s unfortunate… well, this one LGTM then.

@targos
Copy link
Member

@evanlucas I suppose you can rebase manually, force push and then change the base branch

@jasnell
Copy link
Member

Why does this need to be reverted in master? Did it land in v6? If so, it would only need to be reverted in v6.

@yorkie
Copy link
Contributor

@jasnell it gets landed in v6 at #8070.

@mscdex
Copy link
Contributor

FWIW I didn't recall seeing util.format() changed in the original PR, the intention was to only change repl.js.

@evanlucas
Copy link
ContributorAuthor

@Fishrock123
Copy link
Contributor

seems good to me, what still needs to be discussed?

@jasnell
Copy link
Member

LGTM

This reverts commit fce4b98. This was a breaking change and should have been marked semver-major. The change that was made altered the output of util.format() and util.inspect(). With how much those are used in the wild, this type of change deserves more justification. Fixes: nodejs#8138 PR-URL: nodejs#8143 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
@evanlucasevanlucas deleted the revertutilm branch August 19, 2016 16:56
@evanlucasevanlucas merged commit 7600707 into nodejs:masterAug 19, 2016
@evanlucas
Copy link
ContributorAuthor

Landed in 7600707. Thanks!

evanlucas added a commit that referenced this pull request Aug 20, 2016
This reverts commit fce4b98. This was a breaking change and should have been marked semver-major. The change that was made altered the output of util.format() and util.inspect(). With how much those are used in the wild, this type of change deserves more justification. Fixes: #8138 PR-URL: #8143 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
evanlucas added a commit that referenced this pull request Aug 24, 2016
Notable changes: * **buffer**: Fix regression introduced in v6.4.0 that prevented .write() at buffer end (Anna Henningsen) #8154 * **inspector**: * fix inspector hang while disconnecting (Aleksei Koziatinskii) #8021 * add support for uncaught exception (Aleksei Koziatinskii) #8043 * **meta**: add @joshgav to collaborators (Josh Gavant) #8146 * **repl**: Fix saving editor mode text in `.save` (Prince J Wesley) #8145 * ***Revert*** "**repl,util**: insert carriage returns in output" (Evan Lucas) #8143
evanlucas added a commit that referenced this pull request Aug 26, 2016
Notable changes: * **buffer**: Fix regression introduced in v6.4.0 that prevented .write() at buffer end (Anna Henningsen) #8154 * **deps**: update V8 to 5.1.281.75 (Ali Ijaz Sheikh) #8054 * **inspector**: * fix inspector hang while disconnecting (Aleksei Koziatinskii) #8021 * add support for uncaught exception (Aleksei Koziatinskii) #8043 * **repl**: Fix saving editor mode text in `.save` (Prince J Wesley) #8145 * ***Revert*** "**repl,util**: insert carriage returns in output" (Evan Lucas) #8143 PR-URL: #8253
evanlucas added a commit that referenced this pull request Aug 26, 2016
Notable changes: * **buffer**: Fix regression introduced in v6.4.0 that prevented .write() at buffer end (Anna Henningsen) #8154 * **deps**: update V8 to 5.1.281.75 (Ali Ijaz Sheikh) #8054 * **inspector**: * fix inspector hang while disconnecting (Aleksei Koziatinskii) #8021 * add support for uncaught exception (Aleksei Koziatinskii) #8043 * **repl**: Fix saving editor mode text in `.save` (Prince J Wesley) #8145 * ***Revert*** "**repl,util**: insert carriage returns in output" (Evan Lucas) #8143 PR-URL: #8253
evanlucas added a commit that referenced this pull request Aug 26, 2016
Notable changes: * **buffer**: Fix regression introduced in v6.4.0 that prevented .write() at buffer end (Anna Henningsen) #8154 * **deps**: update V8 to 5.1.281.75 (Ali Ijaz Sheikh) #8054 * **inspector**: * fix inspector hang while disconnecting (Aleksei Koziatinskii) #8021 * add support for uncaught exception (Aleksei Koziatinskii) #8043 * **repl**: Fix saving editor mode text in `.save` (Prince J Wesley) #8145 * ***Revert*** "**repl,util**: insert carriage returns in output" (Evan Lucas) #8143 PR-URL: #8253
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

replIssues and PRs related to the REPL subsystem.utilIssues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@evanlucas@addaleax@targos@jasnell@yorkie@mscdex@Fishrock123@nodejs-github-bot