From d8e6b744905cc1ae334d16b06bf4253524a4635d Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Sun, 16 Apr 2023 09:29:21 +0200 Subject: [PATCH] SqlServerDsc: Fix how major version is bumped (#1913) --- CHANGELOG.md | 36 ++++++++++++++++++------------------ GitVersion.yml | 2 +- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5be7bf11..ffd088b8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,28 +13,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- SqlServerDsc - - New public commands: - - `Disconnect-SqlDscDatabaseEngine` - Disconnects from a SQL Server instance - that was previously connected to using `Connect-SqlDscDatabaseEngine`. - - `Test-SqlDscIsSupportedFeature` - Evaluates if a feature is supported by a specific - Microsoft SQL Server major version. _This command must be extended with_ - _a full list of when features were added and removed in each major_ - _version to fully work_. - - New private commands: - - `ConvertTo-RedactedText` - Used to redact sensitive information from - text that then can be used in console output like verbose messages. - - `Get-FileVersionInformation` - Returns the version information - for a file. - - `Assert-Feature` - Throws an exception if a feature is not supported - for a specific Microsoft SQL Server major version. +- New public commands: + - `Disconnect-SqlDscDatabaseEngine` - Disconnects from a SQL Server instance + that was previously connected to using `Connect-SqlDscDatabaseEngine`. + - `Test-SqlDscIsSupportedFeature` - Evaluates if a feature is supported by a specific + Microsoft SQL Server major version. _This command must be extended with_ + _a full list of when features were added and removed in each major_ + _version to fully work_. +- New private commands: + - `ConvertTo-RedactedText` - Used to redact sensitive information from + text that then can be used in console output like verbose messages. + - `Get-FileVersionInformation` - Returns the version information + for a file. + - `Assert-Feature` - Throws an exception if a feature is not supported + for a specific Microsoft SQL Server major version. ### Changed -- Private functions: +- Gitversion no longer evaluates bumping major version using the word "major". +- Update private command: - `Assert-SetupActionProperties` was changed to throw - an exception when a feature is not supported (uses `Assert-Feature`). - The private function indirectly used by the setup action commands. + an exception when a feature is not supported (calls `Assert-Feature`). + The private command is indirectly used by the setup action commands. - SqlSetup - Update to support checking non-supported features using the command `SqlDscIsSupportedFeature` ([issue #1872](https://github.com/dsccommunity/SqlServerDsc/issues/1872)). diff --git a/GitVersion.yml b/GitVersion.yml index 4aac53567..c06e29eaf 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1,6 +1,6 @@ mode: ContinuousDelivery next-version: 13.3.0 -major-version-bump-message: '(breaking\schange|breaking|major)\b' +major-version-bump-message: '(breaking\schange|breaking)\b' minor-version-bump-message: '(adds?|minor)\b' patch-version-bump-message: '\s?(fix|patch)' no-bump-message: '\+semver:\s?(none|skip)'