Ionide.KeepAChangelog.Tasks 0.1.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Ionide.KeepAChangelog.Tasks --version 0.1.2
NuGet\Install-Package Ionide.KeepAChangelog.Tasks -Version 0.1.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ionide.KeepAChangelog.Tasks" Version="0.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ionide.KeepAChangelog.Tasks --version 0.1.2
#r "nuget: Ionide.KeepAChangelog.Tasks, 0.1.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Ionide.KeepAChangelog.Tasks as a Cake Addin
#addin nuget:?package=Ionide.KeepAChangelog.Tasks&version=0.1.2

// Install Ionide.KeepAChangelog.Tasks as a Cake Tool
#tool nuget:?package=Ionide.KeepAChangelog.Tasks&version=0.1.2


This project implements a Changelog parser according to the spec at KeepAChangelog. It also provides MSBuild tasks and targets to automate the setting of Versions and Package Release Notes for your NuGet packages, so that the Changelogs are your source of truth.

When configured, this package will set the Version, PackageVersion, and PackageReleaseNotes of your packable project with the matching data from the latest Changelog release, as well as adding AssemblyMetadata for the BuildDate in the YYYY-mm-dd format.


The MSBuild package is authored as a set of tasks and targets that are used automatically. You just have to install the Ionide.KeepAChangelog.Tasks package and you're all set!

    <PackageReference Include="Ionide.KeepAChangelog.Tasks" Version="<insert here>" PrivateAssets="all" />


It might be helpful to see how this library can help you. Imagine you have a project file like this:

<Project Sdk="Microsoft.NET.Sdk">
    <Compile Include="Main.fs" />

and a file like this:

# Changelog 

## 1.0.0 - 2022-01-14

### Added

* Initial release

packaging the project with this library results in the same result as packing a project that looks like this:

<Project Sdk="Microsoft.NET.Sdk">
## 1.0.0 - 2022-01-14

### Added

* Initial release
   <Compile Include="Main.fs" />

If your changelog has multiple versions, the latest one will be used.


There's really only one property that matters for these targets, and that's ChangelogFile. This needs to point to the Changelog file you want to read, but it defaults to in the root of a given project in case you want to adhere to defaults.


When the task runs, it writes several output items and properties:

Name Type Description
UnreleasedChangelog UnreleasedChangelogData option If present, there was an 'Unreleased' section in the Changelog. This structure will contain the sections present.
CurrentReleaseChangelog ReleaseChangelogData option If present, there was at least one released logged in the Changelog. This structure will contain the details of each one.
AllReleasedChangelogs ReleaseChangelogData list Contains the ordered list of all released in the ChangelogFile, descending.
LatestReleaseNotes string option If present, contains the concatenated list of all Changelog sections for the latest release. This is a convenience property so that you don't have to String.Join all the lines in the ReleaseChangelogData yourself!


This TaskItem has metadata for each of the known sections of a Changelog:

  • Added
  • Changed
  • Deprecated
  • Removed
  • Fixed
  • Security

In each case, the value of the metadata is the newline-concatenated list of all of the Changelog Entries for that section.


This structure is a ChangelogData with an Identity of "Unreleased".


This structure is the same as ChangelogData, but it contains two more items of metadata:

  • the Identity of the TaskItem is the Semantic Version of the release
  • the Date of the TaskItem is the YYYY-MM-DD-formatted date of the release
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Ionide.KeepAChangelog.Tasks:

Package Downloads

Fsih helps you in the fsi with easy access to docs

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.8 41,841 4/15/2022
0.1.7 410 4/15/2022
0.1.6 5,748 3/31/2022
0.1.5 404 3/31/2022
0.1.4 1,184 3/20/2022
0.1.3 399 3/20/2022
0.1.2 5,501 2/14/2022
0.1.1 1,151 1/15/2022
0.1.0 546 1/14/2022

### Added

- Now supports multiTargeted builds and packs by the addition of the buildMultiTargeting folder. The outer build is hooked at the GenerateNuspec target.