-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
doc: refactor the changelog by version #6503
Conversation
We can't get rid of Imo it should contain only the headers (for links) which then contain a link to where it actually is. A redirect, per se. Maybe the latest LTS & Current streams should have their actual contexts in there too and only be archived later? That would be the most user-friendly. EDIT: github diff made it look like it was deleted... I'd be ok with this format but we should also but the headers with links in the content below that so that existing links to it actually work. It's also quite confusing to have the main changelog by date and these by version though. I'd like to hear more discussion on that personally. |
This certainly does not get rid of the root CHANGELOG.md.
Very well. Done.
The main changelog is not ordered by date. If you look at the new changelog page that I linked to in the PR description it is organized by version, just like the individual version pages. Per your request, I've added back in the original headers with links to the new locations. I preserved the existing date order of those. I personally find it less appealing but it works I guess. |
@jasnell it looks like you have the wrong date in the v5 changelog. It says June 2015 not 2016 |
@thealphanerd ... fixed! |
So overall I like the direction this is heading... my only contention would be whether or not the latest release line should be in the primary changelog. Although that could get weird between release streams. It seems to me like we should likely be keeping the release streams specific changelog as the root directory changelog in that release. e.g. I would like to see this change come with at least a first pass at documenting the new changelog process. I think that we are most of the way there (in the main changelog), but it should likely address the difference in the changelog between release streams if there will be one. |
I went with the current approach because it would be marginally easier to manage the changelog edits across streams (e.g. v6 changes would always go to the CHANGELOG_V6 file, v4 changes would always go to the CHANGELOG_V4 file). Doing it this way means we don't have to move things around when we do a new major, we just create a new doc/changelog/CHANGELOG_V* file, add the column to the table on CHANGELOG.md and off we go. In the v5.x branch, we'd only pull back changes to CHANGELOG_V5, CHANGELOG_V4, CHANGELOG_V012 and CHANGELOG_V010 files. To be honest, I think it should actually simplify the cherry picking of edits a tad easier. But that's just my opinion ;-) |
I'm up for seeing how that works and iterating if it shows to have ways to improve 😄 |
Fairly simple: Let's say we do another release in v5. The current process is to update the changelog.md in the v5.x branch and cherry pick that commit to master's changelog.md. The process would be no different here:
|
This seems fine to me.
I'd be inclined to agree with this, latest Current and latest LTS line maybe? |
I see no real value in that and it would just making cherry-picking and updating for each release more difficult. The release announcements can be made to point to the relevant |
</tr> | ||
</table> | ||
|
||
* Other Versions |
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.
This is what I was referring to before, that will be broken in release streams.
I don't think we need to include the links to the other change logs... thoughts?
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.
Why would these be broken? when we port this to the other release streams we simply pull out the links that don't apply to that stream :-) ... so in v4.x, there wouldn't be links to the v5 or v6 pages... update: or we'd make those point to the right branches
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.
Reasonable... and then when we port changes from releases back to master there will be no conflicts... makes sense
nit addressed, LGTM. I'll be landing this in the afternoon as long as no one objects edit: waiting on the ctc to discuss |
@thealphanerd ... hold off on landing this one until @nodejs/ctc has had more time to review please :-) |
no probremo 😄 |
The CTC discussed this and had no objections to this moving forward. I will be doing a bit more work on it, however. Putting the in progress label on. Will remove it when I think it's ready to go. |
b588923
to
1489521
Compare
@nodejs/ctc @nodejs/documentation... this should be ready to go. PTAL |
LGTM |
@jasnell is there a reason to keep the CHANGELOG archive if it is a dupe of the data found in the other changelogs? Other than that nit LGTM |
@thealphanerd ... it's not a dup. The changelog archive contains everything pre-io.js. |
472ad25
to
ba9037f
Compare
@rvagg ... done. |
@nodejs/ctc ... Please take a final look. If there are no further comments or nits by tomorrow I will get this landed. |
lgtm |
I'm not sure if this was addressed:
I'm seeing something above, but I'm not following:
Why? We've only fully maintained the changelog in |
@Fishrock123 ... #6503 (comment) describes the workflow. Are you wanting me to add it to the releases.md doc in this PR? |
Notes added to releases.md |
LGTM |
The changelog was getting rather huge and difficult to manage. It also wasn't very useful in terms of being able to quickly find specific Node.js versions, or tracking the history for a single major release stream. This reorganizes the changelog by versions separated out over multiple files. An index of the most recent versions is provided in the main log. PR-URL: #6503 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
PR-URL: #6503 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Landed in c663a6d and 118162e |
Marking this for LTS watch and land-on for all streams. It will need to be backported, however. I will do so soonish. |
@jasnell how do you plan on handling the differences between 0.12 and v4 where we switched from |
@rvagg, @jasnell already did that. See nodejs/nodejs.org#733. |
It would be nice if the markdown changelog could be backported to 0.10 and 0.12 as it will simpliy the release script a bit. |
PR-URL: #6503 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
The changelog was getting rather huge and difficult to manage. It also wasn't very useful in terms of being able to quickly find specific Node.js versions, or tracking the history for a single major release stream. This reorganizes the changelog by versions separated out over multiple files. An index of the most recent versions is provided in the main log. PR-URL: #6503 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
@jasnell do we still want to backport this? |
Eventually. I'd say it's a fairly low priority. |
Checklist
Affected core subsystem(s)
doc (changelog)
Description of change
/cc @nodejs/documentation @nodejs/ctc @thealphanerd
This is a proposed refactoring of the changelog. As reported by #6363 and #6358, the changelog had grown too large to be visible on github. It was also almost completely unusable in terms of quickly finding information for any single release or tracking changes for specific release streams. A temporary fix was landed in #6337 just to make sure the most recent changelogs could be viewed in Github.
To see how the proposed change would look in practice, visit: https://github.com/jasnell/node/blob/changelog-partition/CHANGELOG.md
This PR reorganizes the changelog by release stream, and brings the following benefits:
CHANGELOG_V4.md#4.2.0
The downsides of this change are: