Skip to content

Commit

Permalink
SqlServerDsc: Fix how major version is bumped (#1913)
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju authored Apr 16, 2023
1 parent a7366c2 commit d8e6b74
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
36 changes: 18 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)).
Expand Down
2 changes: 1 addition & 1 deletion GitVersion.yml
Original file line number Diff line number Diff line change
@@ -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)'
Expand Down

0 comments on commit d8e6b74

Please sign in to comment.