Changelog #128442
Replies: 0 comments 4 replies
-
@jasonwilliams this is a great idea. I really like the idea of bringing the release on GitHub closer to the package published on npm and making it easier to navigate between the two. I'm going to mull over a few ideas of how we can improve this and get back to you. |
Beta Was this translation helpful? Give feedback.
-
I would like to second this, and also add that sometimes the GitHub repository might be set to private for some reason, so a user might not always be able to head over there to view the changelog. |
Beta Was this translation helpful? Give feedback.
-
What about adding a new field to the package.json: "changelog"? The changelog can be in different formats, it can be a release page in the github, it can be a separate MD file or a page on the official website. The site can take this field and display it in the sidebar. |
Beta Was this translation helpful? Give feedback.
-
Currently the process to find the changelog is unnecessarily convoluted. One has to
just to find the changelog, or even whether there is one. ProposalAdd a new package.json field, The NPM website can then utilize this field, just like This will also encourage people to keep a changelog, as it is more likely to be read. What a Changelog field can look like. It doesn't matter too much if the link is ellipsized - the user would just click on it. |
Beta Was this translation helpful? Give feedback.
-
One of the main reasons I visit the NPM website is because there's a major (breaking) change, and I need to understand what has changed so I know if I can upgrade or not.
NPM doesn't show any of this data, so the next step is the github repo, which is an extra hop.
Would it be possible to parse out the changelog and show on NPM? Or at least point directly to a changelog.
Prior Art
Visual Studio Code market place have a changelog link on their page for each extension which pulls down the changelog.md file from the repository. It sounds like a small thing but being able to see the changelog directly in VSCode saves me a minute of navigating to the repo to look at it there.
Of course some people prefer to use the release section to write release notes instead so it could be used as a fallback, im sure you could use the Github API to find the release (using the same version on NPM) and returning data from there, and if there's nothing using the changelog.md
Beta Was this translation helpful? Give feedback.
All reactions