Skip to content

Releases: natescherer/ChangelogManagement

v3.1.0

02 Aug 03:32
Compare
Choose a tag to compare

Release v3.1.0

Tip: With this release, you can test $GetChangelogDataOutput.Unreleased.ChangeCount -gt 0 as an easy way to tell if there are any unreleased changes in a Changelog.

Changes

Added

  • Get-ChangelogData now returns an additional ChangeCount property on Unreleased and Released properties. ChangeCount contains an integer count of the number of changes in that section. (Note that counts for individual change types in a section are available via $OutputVariable.SECTION-NAME-HERE.Data.CHANGE-TYPE-HERE.Count syntax.)

Changed

  • Pester test structure modernized and updated to offer increased coverage and more test cases

Fixed

  • Now documented that AzureDevOps option for Update-Changelog's LinkMode requires default branch be main

v3.0.1

12 Dec 23:56
30d8821
Compare
Choose a tag to compare

Release v3.0.1

Thanks to @johlju for the fixes in this release!

Changes

Changed

  • Get-ChangelogData now always outputs a PSCustomObject for the Unreleased property when there is an Unreleased section header in the changelog. The PSCustomObject property RawData will contain the Unreleased header and any change type headers that exist. The properties Added, Changed, Deprecated, Removed, Fixed, and Security will be null if there are no corresponding change type under the Unreleased section header.

Fixed

  • Get-ChangelogData will now return null for the property Unreleased if there are no Unreleased section header in the changelog.

v3.0.0

04 Nov 06:51
Compare
Choose a tag to compare

Release v3.0.0

A GitHub Action for ChangelogManagement is being launched alongside this release! See https://github.com/marketplace/actions/changelog-management.

Changes

Added

  • New LinkModes 'GitHub' and 'AzureDevOps' on Update-Changelog which remove the need to manually specify a LinkPattern
  • New property 'ReleaseNotes' returned by Get-ChangelogData containing a formatted version of the changes from the most recent released version

Changed

  • BREAKING CHANGE: New-Changelog now populates an initial change 'Added: Initial release'. This can be overridden to match previous behavior via the new '-NoInitialChange' parameter
  • BREAKING CHANGE: Get-ChangelogData's Output.Unreleased is now null if there are no unreleased changes to match the behavior of Output.Released
  • BREAKING CHANGE: Minimum supported PowerShell raised to 5.1 instead of 5.0
  • Module structure changed to use dot-sourcing
  • Build/test/deploy switched from Azure DevOps to GitHub Actions

Fixed

  • Add-ChangelogData now detects type of newline used in file rather than assuming it matches [System.Environment]::NewLine
  • Update-Changelog now detects type of newline used in file rather than assuming it matches [System.Environment]::NewLine
  • Get-ChangelogData now detects type of newline used in file rather than assuming it matches [System.Environment]::NewLine

v2.1.4

05 Feb 03:58
Compare
Choose a tag to compare

Fixed

  • Newline matching in regex updated to work properly on Linux #11

v2.1.3

06 Mar 19:49
Compare
Choose a tag to compare

Fixed

  • Capitalization on ConvertFrom-Changelog now matches verb specifications
  • Handling of missing Unreleased section in changelog file

v2.1.2

13 Feb 15:35
Compare
Choose a tag to compare

Fixed

  • Broken links and badly formatted text in module metadata

v2.1.1

11 Feb 13:46
Compare
Choose a tag to compare

Fixed

  • Inaccurate parameter documentation corrected
  • Update-Changelog ReleaseVersion validation no longer forces SemVer format

v2.1.0

08 Feb 19:50
Compare
Choose a tag to compare

Added

  • Support for macOS

Changed

  • Building/releasing/testing changed from AppVeyor to Azure Pipelines

Fixed

  • Version comparison check in Update-Changelog required .NET System.Version; check has been removed to support any versioning scheme
  • Unreleased sections now match specification in that they only contain headers for types of changes that exist

v2.0.0

28 Jan 18:21
Compare
Choose a tag to compare

Changed

  • Update-Changelog -LinkMode Automatic now uses a -LinkPattern parameter (replacing -LinkBase and -ReleasePrefix) which can support any VCS

v1.0.0

20 Oct 22:49
Compare
Choose a tag to compare

Added

  • Get-ChangelogData cmdlet
  • Add-ChangelogData cmdlet
  • New-Changelog cmdlet
  • Update-Changelog cmdlet
  • Convertfrom-Changelog cmdlet