Home: Reduce friction for Release Notes maintenance

Created on 17 Aug 2015  路  9Comments  路  Source: NuGet/Home

Too many packages do not include release notes, and I speculate that the reason lies in the friction involved in doing so, as the developer is required to actively maintain the .nuspec file. Many projects build directly from the VS project bypassing .nuspec altogether.

A few changes would improve this situation:

  • add support for pulling in content from an external file
  • have nuget pack look for releasenotes.md
  • add support for a standard changelog URL
  • add parameter to nuget pack for passing in changelog URL
Icebox 2 Discussions Feature

Most helpful comment

Any progress on this?

All 9 comments

ReleaseNotes.md would be great, especially considering ASP.NET's project.json does not allow newlines other than \r\n, which is unusable for any large-ish metadata.

Alternatively -- sections from ReadMe.md for both Description and Release Notes (description has same problem with project.json).

Allow release notes to be constructed from commits to git or TFS, etc.

I strongly second this - the friction to create the release notes package configuration is too high.

We build our nuget packages from Visual Studio Online, and I would actually much prefer to simply be able to add release notes via a command line parameter. In VSO we have already set up a build parameter with version number information, so we configure the Nuget Packager build step with "Nuget arguments"

-version $(NugetVersion)

It would be great to be able to add simple text like

-releaseNotes $(<insert build variable here>)

@NickCraver has provided more insights and some good ideas. These should be addressed when we handle this suggestion. https://github.com/NuGet/Home/issues/1734

In the recent updates (NLog, yeah we're listed https://github.com/NuGet/Home/issues/1734) we do add the changelog, but we found out it's pretty useless as the Visual Studio client isn't even showing the changelog...

edit: I see that's https://github.com/NuGet/Home/issues/1823

Any progress on this?

My comments from #1734:

In short: I propose making the Release Notes field markdown, or at the very least have nuget.org atuomatically convert URLs into hyperlinks in the field. Right now the breakdown of the top 50 packages on nuget.org is:

  • 33 have no release notes
  • 12 have only a link (or a link + a few words)
  • 5 have release notes in some form

It's tedious to maintain both a changelog in a repo as well as in all packages (note: this may include _multiple_ packages for a single repo, multiplying the pain). I feel that's supported by the 90% above with no notes in NuGet. What is doable is maintaining _one_ copy of changes - which means linking to it is very appealing, evidenced by the 24% above (many of which are Microsoft packages).

I'd like to throw out the following options as suggested fixes:

  1. Make the field markdown (and nuget.org convert/render it properly) - this makes it much more useful overall.
  2. Auto-link URLs in release notes - so if you use it as a field it effectively becomes a link.
  3. Add a ReleaseNotesLink-like field specifically for a URL.
  4. Change the rules on the schema, and indicate if the field _is_ a URI, it'll be rendered linkified.

For the curious, here's the entire top 50 list:

45 (has notes!): NLog

scratch NLog. We don't use it anymore as it takes to much time a the gain is too small (no formatting and not visible everywhere).

Many projects are using http://keepachangelog.com to keep the release logs. It would be amazing if nuget can parse out the release log for each version from a single changelog.md.

It is a number of different formats of changelogs, so maybe it must be a parameter that specify the format.

Was this page helpful?
0 / 5 - 0 ratings