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
in this issue we discuss, come up with ideas, give feedback & contribute to adding & evolving changelogs to npmx.
below is a roadmap and below that there is the original starting message of this discussion.
automatic scrolling to the as close as possible to the requested version with date+version (fallback to date)
check whether the changelog.md from the latest release is in the repository directory specified in the npm package or the root of the package
1.5 some refactoring which isn't possible in a big branch
refactor the markdown renderer to better share code with the readme renderer
most of the other repositories services (if needed this can be spread across multiple PRs for each service)
add support for other git service provider documented here for releases
add support for other git service providers documented here for changelog.md
add support for for automatic links to pull/merge requests (#pr), issues (#issue) and users (@person)
parse from plain text to a link
parse from link to git provider style for the issue/pr/user
improve experience when switching between package version's by using useRouteParamss and only re render when the repository has been changed (example vue 3 <-> vue 2) (this isn't needed anymore, how now background resolving works it gives the same result)
have a button to the changelogs page in the package dependencies
support for filtering for specific packages within releases (does need heading to be package@version)
support for filtering to specific version range (for example 3.5.x or 3.x.x)
more advanced features for changelog.md
split the versions by heading (semver regex)
add npmx.changelog fields for package.json that can't be covered by the PRs above, this will be a separate issue when the time comes
add possibility for self hosted repositories give information how their repository platform
allow to give information how each url is formatted
allow giving info that the git platform is a self hosted version of gitlab, gitea, forgejo etc
allow giving where the changelog.md is located in repository (for if it's a very specific)
allow to give a website url where the changelog can be found if not hosted on any git provider (self hosted)
those numbered will be made in order, those without are more free in which order they're made after the ordered ones
Also the PRs above aren't final and could be changed till the moment it's merged.
You're free to share your ideas and make your own PRs even if they're not in the roadmap.
PRs can also be merged to my or someone else's fork first and to then together create a bigger PR to npmx
original message
I'll would like to make a "changelogs" button for at the package page to allow for quicker checking newer versions of earlier installed packages.
But I do think it's best to discus first how we should get the link for the changelogs.
Atm I'm thinking of the following default behaviour:
For repository services that have a {repository}/releasesor equivalent page and is being used have the link go to it.
If ^ isn't used/supported then and there is a /changelogs.md file then link to it instead
But some may host their changelogs somewhere else, for this it may be handy to have a way in the package.json to specify where the changelogs are located.
For example Ag grid host their changelog somewhere else and vuetify has their changelogs both at github & their own website.
I was thinking of 2 ways to have this in package.json
Have a "changelogs" field in the root of the package.json (example: {"changelogs": "https://example.pkg/changes"})
pro: can easier be used by other websites
pro: has a (slight) chance of being adopted by npm
con: if adopted by npm they could bring breaking changes like with what css nesting did in sass/scss.
Have an "npmx" object field and then in there have "changelogs" field (example: {"npmx": {"changelogs": "https://example.pkg/changes"}})
pro: allows for better control of the definition of the changelogs field even if npm adopts it.
pro: with the npmx object field other features could also be added in the future.
con: other website may not use this as they may see it outside of their control
Hopefully discussion brings a lot of ideas & feadback.
Also why not link to specific release changelog:
in case their are versions between the installed version & latest version it will make the in between versions easier to read/reach.
in this issue we discuss, come up with ideas, give feedback & contribute to adding & evolving changelogs to npmx.
below is a roadmap and below that there is the original starting message of this discussion.
roadmaps in PRs (updated March 4th)
1.5 some refactoring which isn't possible in a big branch
filters for releases
package@version)more advanced features for changelog.md
add npmx.changelog fields for package.json that can't be covered by the PRs above, this will be a separate issue when the time comes
those numbered will be made in order, those without are more free in which order they're made after the ordered ones
Also the PRs above aren't final and could be changed till the moment it's merged.
You're free to share your ideas and make your own PRs even if they're not in the roadmap.
PRs can also be merged to my or someone else's fork first and to then together create a bigger PR to npmx
original message
I'll would like to make a "changelogs" button for at the package page to allow for quicker checking newer versions of earlier installed packages.
But I do think it's best to discus first how we should get the link for the changelogs.
Atm I'm thinking of the following default behaviour:
{repository}/releasesor equivalent page and is being used have the link go to it.But some may host their changelogs somewhere else, for this it may be handy to have a way in the package.json to specify where the changelogs are located.
For example Ag grid host their changelog somewhere else and vuetify has their changelogs both at github & their own website.
I was thinking of 2 ways to have this in package.json
{"changelogs": "https://example.pkg/changes"}){"npmx": {"changelogs": "https://example.pkg/changes"}})Hopefully discussion brings a lot of ideas & feadback.
Also why not link to specific release changelog: