Skip to content

Releases: dsccommunity/SqlServerDsc

v13.3.0

17 Jan 20:26
Compare
Choose a tag to compare

[v13.3.0]

Added

  • SqlServerDsc
    • Added continuous delivery with a new CI pipeline.
      • Update build.ps1 from latest template.

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.
  • SqlDatabaseRole
    • Update unit test to have the correct description on the Describe-block
      for the test of Set-TargetResource.
  • 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.
  • SqlAlwaysOnService
    • When failing to enable AlwaysOn the resource should now fail with an
      error (issue #1190).
  • SqlAgListener
    • Fix IPv6 addresses failing Test-TargetResource after listener creation.

v13.3.0-preview0007

17 Jan 16:05
Compare
Choose a tag to compare
v13.3.0-preview0007 Pre-release
Pre-release

[v13.3.0-preview0007]

Added

  • SqlServerDsc
    • Added continuous delivery with a new CI pipeline.
      • Update build.ps1 from latest template.

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.
  • SqlDatabaseRole
    • Update unit test to have the correct description on the Describe-block
      for the test of Set-TargetResource.
  • 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.
  • SqlAlwaysOnService
    • When failing to enable AlwaysOn the resource should now fail with an
      error (issue #1190).
  • SqlAgListener
    • Fix IPv6 addresses failing Test-TargetResource after listener creation.

v13.3.0-preview0006

12 Jan 11:01
Compare
Choose a tag to compare
v13.3.0-preview0006 Pre-release
Pre-release

[v13.3.0-preview0006]

Added

  • SqlServerDsc
    • Added continuous delivery with a new CI pipeline.
      • Update build.ps1 from latest template.

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.
  • SqlDatabaseRole
    • Update unit test to have the correct description on the Describe-block
      for the test of Set-TargetResource.
  • 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.
  • SqlAlwaysOnService
    • When failing to enable AlwaysOn the resource should now fail with an
      error (issue #1190).

v13.3.0-preview0005

08 Jan 17:05
911ce6a
Compare
Choose a tag to compare
v13.3.0-preview0005 Pre-release
Pre-release

[v13.3.0-preview0005]

Added

  • SqlServerDsc
    • Added continuous delivery with a new CI pipeline.
      • Update build.ps1 from latest template.

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.
  • SqlDatabaseRole
    • Update unit test to have the correct description on the Describe-block
      for the test of Set-TargetResource.

Fixed

  • SqlServerDsc
    • Fixed unit tests to call the function Invoke-TestSetup outside the
      try-block.
    • Update GitVersion.yml with the correct regular expression.
  • SqlAlwaysOnService
    • When failing to enable AlwaysOn the resource should now fail with an
      error (issue #1190).

v13.3.0-preview0004

07 Jan 10:01
388d107
Compare
Choose a tag to compare
v13.3.0-preview0004 Pre-release
Pre-release

[v13.3.0-preview0004]

Added

  • SqlServerDsc
    • Added continuous delivery with a new CI pipeline.
      • Update build.ps1 from latest template.

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.
  • SqlDatabaseRole
    • Update unit test to have the correct description on the Describe-block
      for the test of Set-TargetResource.

Fixed

  • SqlServerDsc
    • Fixed unit tests to call the function Invoke-TestSetup outside the
      try-block.
    • Update GitVersion.yml with the correct regular expression.
  • SqlAlwaysOnService
    • When failing to enable AlwaysOn the resource should now fail with an
      error (issue #1190).

v13.3.0-preview0003

03 Jan 18:10
ea2f8f0
Compare
Choose a tag to compare
v13.3.0-preview0003 Pre-release
Pre-release

[v13.3.0-preview0003]

Added

  • SqlServerDsc
    • Added continuous delivery with a new CI pipeline.
      • Update build.ps1 from latest template.

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.
  • SqlDatabaseRole
    • Update unit test to have the correct description on the Describe-block
      for the test of Set-TargetResource.

Fixed

  • SqlServerDsc
    • Fixed unit tests to call the function Invoke-TestSetup outside the
      try-block.
  • SqlAlwaysOnService
    • When failing to enable AlwaysOn the resource should now fail with an
      error (issue #1190).

v13.3.0-preview0002

02 Jan 17:53
30f5e14
Compare
Choose a tag to compare
v13.3.0-preview0002 Pre-release
Pre-release

[v13.3.0-preview0002]

Added

  • SqlServerDsc
    • Added continuous delivery with a new CI pipeline.
      • Update build.ps1 from latest template.

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.
  • SqlDatabaseRole
    • Update unit test to have the correct description on the Describe-block
      for the test of Set-TargetResource.

Fixed

  • SqlAlwaysOnService
    • When failing to enable AlwaysOn the resource should now fail with an
      error (issue #1190).

v13.3.0-preview0001

02 Jan 10:55
abea9e8
Compare
Choose a tag to compare
v13.3.0-preview0001 Pre-release
Pre-release

[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.

Fixed

  • SqlAlwaysOnService
    • When failing to enable AlwaysOn the resource should now fail with an
      error (issue #1190).

v13.2.0

25 Dec 09:18
f71cdc4
Compare
Choose a tag to compare
  • 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

25 Dec 09:18
596ff25
Compare
Choose a tag to compare
  • 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.
    • 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 parameter RedactText.
    • 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
  • 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).