Releases: dsccommunity/SqlServerDsc
Releases · dsccommunity/SqlServerDsc
v13.3.0
[v13.3.0]
Added
- SqlServerDsc
- Added continuous delivery with a new CI pipeline.
- Update build.ps1 from latest template.
- Added continuous delivery with a new CI pipeline.
Changed
- SqlServerDsc
- Add .gitattributes file to checkout file correctly with CRLF.
- Updated .vscode/analyzersettings.psd1 file to correct use PSSA rules
and custom rules in VS Code. - Fix hashtables to align with style guideline (issue #1437).
- Updated most examples to remove the need for the variable
$ConfigurationData
,
and fixed style issues. - Ignore commit in
GitVersion.yml
to force the correct initial release. - Set a display name on all the jobs and tasks in the CI pipeline.
- Removing file 'Tests.depend.ps1' as it is no longer required.
- SqlServerMaxDop
- Fix line endings in code which did not use the correct format.
- SqlAlwaysOnService
- The integration test has been temporarily disabled because when
the cluster feature is installed it requires a reboot on the
Windows Server 2019 build worker.
- The integration test has been temporarily disabled because when
- SqlDatabaseRole
- Update unit test to have the correct description on the
Describe
-block
for the test ofSet-TargetResource
.
- Update unit test to have the correct description on the
- SqlServerRole
- Add support for nested role membership (issue #1452)
- Removed use of case-sensitive Contains() function when evalutating role membership.
(issue #1153) - Refactored mocks and unit tests to increase performance. (issue #979)
Fixed
- SqlServerDsc
- Fixed unit tests to call the function
Invoke-TestSetup
outside the
try-block. - Update GitVersion.yml with the correct regular expression.
- Fix import statement in all tests, making sure it throws if module
DscResource.Test cannot be imported.
- Fixed unit tests to call the function
- SqlAlwaysOnService
- When failing to enable AlwaysOn the resource should now fail with an
error (issue #1190).
- When failing to enable AlwaysOn the resource should now fail with an
- SqlAgListener
- Fix IPv6 addresses failing Test-TargetResource after listener creation.
v13.3.0-preview0007
[v13.3.0-preview0007]
Added
- SqlServerDsc
- Added continuous delivery with a new CI pipeline.
- Update build.ps1 from latest template.
- Added continuous delivery with a new CI pipeline.
Changed
- SqlServerDsc
- Add .gitattributes file to checkout file correctly with CRLF.
- Updated .vscode/analyzersettings.psd1 file to correct use PSSA rules
and custom rules in VS Code. - Fix hashtables to align with style guideline (issue #1437).
- Updated most examples to remove the need for the variable
$ConfigurationData
,
and fixed style issues. - Ignore commit in
GitVersion.yml
to force the correct initial release. - Set a display name on all the jobs and tasks in the CI pipeline.
- Removing file 'Tests.depend.ps1' as it is no longer required.
- SqlServerMaxDop
- Fix line endings in code which did not use the correct format.
- SqlAlwaysOnService
- The integration test has been temporarily disabled because when
the cluster feature is installed it requires a reboot on the
Windows Server 2019 build worker.
- The integration test has been temporarily disabled because when
- SqlDatabaseRole
- Update unit test to have the correct description on the
Describe
-block
for the test ofSet-TargetResource
.
- Update unit test to have the correct description on the
- SqlServerRole
- Add support for nested role membership (issue #1452)
- Removed use of case-sensitive Contains() function when evalutating role membership.
(issue #1153) - Refactored mocks and unit tests to increase performance. (issue #979)
Fixed
- SqlServerDsc
- Fixed unit tests to call the function
Invoke-TestSetup
outside the
try-block. - Update GitVersion.yml with the correct regular expression.
- Fix import statement in all tests, making sure it throws if module
DscResource.Test cannot be imported.
- Fixed unit tests to call the function
- SqlAlwaysOnService
- When failing to enable AlwaysOn the resource should now fail with an
error (issue #1190).
- When failing to enable AlwaysOn the resource should now fail with an
- SqlAgListener
- Fix IPv6 addresses failing Test-TargetResource after listener creation.
v13.3.0-preview0006
[v13.3.0-preview0006]
Added
- SqlServerDsc
- Added continuous delivery with a new CI pipeline.
- Update build.ps1 from latest template.
- Added continuous delivery with a new CI pipeline.
Changed
- SqlServerDsc
- Add .gitattributes file to checkout file correctly with CRLF.
- Updated .vscode/analyzersettings.psd1 file to correct use PSSA rules
and custom rules in VS Code. - Fix hashtables to align with style guideline (issue #1437).
- Updated most examples to remove the need for the variable
$ConfigurationData
,
and fixed style issues. - Ignore commit in
GitVersion.yml
to force the correct initial release. - Set a display name on all the jobs and tasks in the CI pipeline.
- Removing file 'Tests.depend.ps1' as it is no longer required.
- SqlServerMaxDop
- Fix line endings in code which did not use the correct format.
- SqlAlwaysOnService
- The integration test has been temporarily disabled because when
the cluster feature is installed it requires a reboot on the
Windows Server 2019 build worker.
- The integration test has been temporarily disabled because when
- SqlDatabaseRole
- Update unit test to have the correct description on the
Describe
-block
for the test ofSet-TargetResource
.
- Update unit test to have the correct description on the
- SqlServerRole
- Add support for nested role membership (issue #1452)
- Removed use of case-sensitive Contains() function when evalutating role membership.
(issue #1153) - Refactored mocks and unit tests to increase performance. (issue #979)
Fixed
- SqlServerDsc
- Fixed unit tests to call the function
Invoke-TestSetup
outside the
try-block. - Update GitVersion.yml with the correct regular expression.
- Fixed unit tests to call the function
- SqlAlwaysOnService
- When failing to enable AlwaysOn the resource should now fail with an
error (issue #1190).
- When failing to enable AlwaysOn the resource should now fail with an
v13.3.0-preview0005
[v13.3.0-preview0005]
Added
- SqlServerDsc
- Added continuous delivery with a new CI pipeline.
- Update build.ps1 from latest template.
- Added continuous delivery with a new CI pipeline.
Changed
- SqlServerDsc
- Add .gitattributes file to checkout file correctly with CRLF.
- Updated .vscode/analyzersettings.psd1 file to correct use PSSA rules
and custom rules in VS Code. - Fix hashtables to align with style guideline (issue #1437).
- Updated most examples to remove the need for the variable
$ConfigurationData
,
and fixed style issues. - Ignore commit in
GitVersion.yml
to force the correct initial release. - Set a display name on all the jobs and tasks in the CI pipeline.
- Removing file 'Tests.depend.ps1' as it is no longer required.
- SqlServerMaxDop
- Fix line endings in code which did not use the correct format.
- SqlAlwaysOnService
- The integration test has been temporarily disabled because when
the cluster feature is installed it requires a reboot on the
Windows Server 2019 build worker.
- The integration test has been temporarily disabled because when
- SqlDatabaseRole
- Update unit test to have the correct description on the
Describe
-block
for the test ofSet-TargetResource
.
- Update unit test to have the correct description on the
Fixed
- SqlServerDsc
- Fixed unit tests to call the function
Invoke-TestSetup
outside the
try-block. - Update GitVersion.yml with the correct regular expression.
- Fixed unit tests to call the function
- SqlAlwaysOnService
- When failing to enable AlwaysOn the resource should now fail with an
error (issue #1190).
- When failing to enable AlwaysOn the resource should now fail with an
v13.3.0-preview0004
[v13.3.0-preview0004]
Added
- SqlServerDsc
- Added continuous delivery with a new CI pipeline.
- Update build.ps1 from latest template.
- Added continuous delivery with a new CI pipeline.
Changed
- SqlServerDsc
- Add .gitattributes file to checkout file correctly with CRLF.
- Updated .vscode/analyzersettings.psd1 file to correct use PSSA rules
and custom rules in VS Code. - Fix hashtables to align with style guideline (issue #1437).
- Updated most examples to remove the need for the variable
$ConfigurationData
,
and fixed style issues. - Ignore commit in
GitVersion.yml
to force the correct initial release. - Set a display name on all the jobs and tasks in the CI pipeline.
- SqlServerMaxDop
- Fix line endings in code which did not use the correct format.
- SqlAlwaysOnService
- The integration test has been temporarily disabled because when
the cluster feature is installed it requires a reboot on the
Windows Server 2019 build worker.
- The integration test has been temporarily disabled because when
- SqlDatabaseRole
- Update unit test to have the correct description on the
Describe
-block
for the test ofSet-TargetResource
.
- Update unit test to have the correct description on the
Fixed
- SqlServerDsc
- Fixed unit tests to call the function
Invoke-TestSetup
outside the
try-block. - Update GitVersion.yml with the correct regular expression.
- Fixed unit tests to call the function
- SqlAlwaysOnService
- When failing to enable AlwaysOn the resource should now fail with an
error (issue #1190).
- When failing to enable AlwaysOn the resource should now fail with an
v13.3.0-preview0003
[v13.3.0-preview0003]
Added
- SqlServerDsc
- Added continuous delivery with a new CI pipeline.
- Update build.ps1 from latest template.
- Added continuous delivery with a new CI pipeline.
Changed
- SqlServerDsc
- Add .gitattributes file to checkout file correctly with CRLF.
- Updated .vscode/analyzersettings.psd1 file to correct use PSSA rules
and custom rules in VS Code. - Fix hashtables to align with style guideline (issue #1437).
- Updated most examples to remove the need for the variable
$ConfigurationData
,
and fixed style issues. - Ignore commit in
GitVersion.yml
to force the correct initial release.
- SqlServerMaxDop
- Fix line endings in code which did not use the correct format.
- SqlAlwaysOnService
- The integration test has been temporarily disabled because when
the cluster feature is installed it requires a reboot on the
Windows Server 2019 build worker.
- The integration test has been temporarily disabled because when
- SqlDatabaseRole
- Update unit test to have the correct description on the
Describe
-block
for the test ofSet-TargetResource
.
- Update unit test to have the correct description on the
Fixed
- SqlServerDsc
- Fixed unit tests to call the function
Invoke-TestSetup
outside the
try-block.
- Fixed unit tests to call the function
- SqlAlwaysOnService
- When failing to enable AlwaysOn the resource should now fail with an
error (issue #1190).
- When failing to enable AlwaysOn the resource should now fail with an
v13.3.0-preview0002
[v13.3.0-preview0002]
Added
- SqlServerDsc
- Added continuous delivery with a new CI pipeline.
- Update build.ps1 from latest template.
- Added continuous delivery with a new CI pipeline.
Changed
- SqlServerDsc
- Add .gitattributes file to checkout file correctly with CRLF.
- Updated .vscode/analyzersettings.psd1 file to correct use PSSA rules
and custom rules in VS Code. - Fix hashtables to align with style guideline (issue #1437).
- Updated most examples to remove the need for the variable
$ConfigurationData
,
and fixed style issues. - Ignore commit in
GitVersion.yml
to force the correct initial release.
- SqlServerMaxDop
- Fix line endings in code which did not use the correct format.
- SqlAlwaysOnService
- The integration test has been temporarily disabled because when
the cluster feature is installed it requires a reboot on the
Windows Server 2019 build worker.
- The integration test has been temporarily disabled because when
- SqlDatabaseRole
- Update unit test to have the correct description on the
Describe
-block
for the test ofSet-TargetResource
.
- Update unit test to have the correct description on the
Fixed
- SqlAlwaysOnService
- When failing to enable AlwaysOn the resource should now fail with an
error (issue #1190).
- When failing to enable AlwaysOn the resource should now fail with an
v13.3.0-preview0001
[v13.3.0-preview0001]
Added
- SqlServerDsc
- Added continuous delivery with a new CI pipeline.
Changed
- SqlServerDsc
- Add .gitattributes file to checkout file correctly with CRLF.
- Updated .vscode/analyzersettings.psd1 file to correct use PSSA rules
and custom rules in VS Code. - Fix hashtables to align with style guideline (issue #1437).
- Updated most examples to remove the need for the variable
$ConfigurationData
,
and fixed style issues. - Ignore commit in
GitVersion.yml
to force the correct initial release.
- SqlServerMaxDop
- Fix line endings in code which did not use the correct format.
- SqlAlwaysOnService
- The integration test has been temporarily disabled because when
the cluster feature is installed it requires a reboot on the
Windows Server 2019 build worker.
- The integration test has been temporarily disabled because when
Fixed
- SqlAlwaysOnService
- When failing to enable AlwaysOn the resource should now fail with an
error (issue #1190).
- When failing to enable AlwaysOn the resource should now fail with an
v13.2.0
- Changes to SqlServerDsc
- Fix keywords to lower-case to align with guideline.
- Fix keywords to have space before a parenthesis to align with guideline.
- Fix typo in SqlSetup strings (issue #1419).
v13.1.0
- Changes to SqlServerDsc
- New DSC resource SqlAgentFailsafe
- New DSC resource SqlDatabaseUser (issue #846).
- Adds ability to create database users with more fine-grained control,
e.g. re-mapping of orphaned logins or a different login. Supports
creating a user with or without login name, and database users mapped
to a certificate or asymmetric key.
- Adds ability to create database users with more fine-grained control,
- Changes to helper function Invoke-Query
- Fixes issues in issue #1355.
- Works together with Connect-SQL now.
- Parameters now match that of Connect-SQL (issue #1392).
- Can now pass in credentials.
- Can now pass in 'Microsoft.SqlServer.Management.Smo.Server' object.
- Can also pipe in 'Microsoft.SqlServer.Management.Smo.Server' object.
- Can pipe Connect-SQL | Invoke-Query.
- Added default values to Invoke-Query.
- Now it will output verbose messages of the query that is run, so it
not as quiet of what it is doing when a user asks for verbose output
(issue #1404). - It is possible to redact text in the verbose output by providing
strings in the new parameterRedactText
.
- Minor style fixes in unit tests.
- Changes to helper function Connect-SQL
- When impersonating WindowsUser credential use the NetworkCredential UserName.
- Added additional verbose logging.
- Connect-SQL now uses parameter sets to more intuitive evaluate that
the correct parameters are used in different scenarios
(issue #1403).
- Changes to helper function Connect-SQLAnalysis
- Parameters now match that of Connect-SQL (issue #1392).
- Changes to helper function Restart-SqlService
- Parameters now match that of Connect-SQL (issue #1392).
- Changes to helper function Restart-ReportingServicesService
- Parameters now match that of Connect-SQL (issue #1392).
- Changes to helper function Split-FullSqlInstanceName
- Parameters and function name changed to use correct casing.
- Changes to helper function Get-SqlInstanceMajorVersion
- Parameters now match that of Connect-SQL (issue #1392).
- Changes to helper function Test-LoginEffectivePermissions
- Parameters now match that of Connect-SQL (issue #1392).
- Changes to helper function Test-AvailabilityReplicaSeedingModeAutomatic
- Parameters now match that of Connect-SQL (issue #1392).
- Changes to SqlServerSecureConnection
- Forced $Thumbprint to lowercase to fix issue #1350.
- Add parameter SuppressRestart with default value false.
This allows users to suppress restarts after changes have been made.
Changes will not take effect until the service has been restarted.
- Changes to SqlSetup
- Correct minor style violation issue #1387.
- Changes to SqlDatabase
- Get-TargetResource now correctly return
$null
for the collation property
when the database does not exist (issue #1395). - No longer enforces the collation property if the Collation parameter
is not part of the configuration (issue #1396). - Updated resource description in README.md
- Fix examples to use
PsDscRunAsCredential
(issue #760). - Added integration tests (issue #739).
- Updated unit tests to the latest template (issue #1068).
- Get-TargetResource now correctly return