Skip to content

Releases: dsccommunity/SqlServerDsc

v17.0.1-preview0003

29 Oct 11:59
85ea1ed
Compare
Choose a tag to compare
v17.0.1-preview0003 Pre-release
Pre-release

[v17.0.1-preview0003]

Changed

  • SqlServerDsc
    • The examples that was located in the README in the examples folder has
      now been moved to the WikiSource folder. The examples are published to
      the repository Wiki. The README has been updated to link to the new
      location (issue #2051).
  • SqlSetup
    • Fixed issue with AddNode where cluster IP information was not being passed to
      setup.exe (issue #1171).

Fixed

  • SqlServerDsc
    • Fix localization tests.

v17.0.1-preview0002

26 Oct 14:22
1bf09ec
Compare
Choose a tag to compare
v17.0.1-preview0002 Pre-release
Pre-release

[v17.0.1-preview0002]

Changed

  • SqlSetup
    • Fixed issue with AddNode where cluster IP information was not being passed to
      setup.exe. (issue #1171)

Fixed

  • SqlServerDsc
    • Fix localization tests.

v17.0.1-preview0001

07 Oct 12:31
5677cd5
Compare
Choose a tag to compare
v17.0.1-preview0001 Pre-release
Pre-release

[v17.0.1-preview0001]

  • SqlSetup
    • Fixed issue with AddNode where cluster IP information was not being passed to
      setup.exe. (issue #1171)

v17.0.0

30 Sep 17:12
dd56306
Compare
Choose a tag to compare

[v17.0.0]

Added

  • SqlSetup
    • Added new parameter ProductCoveredbySA which is introduced in SQL 2022.

Added

  • Connect-SqlDscDatabaseEngine
    • Added integration test for the command.
  • Uninstall-SqlDscServer
    • Added integration test for the command.

Changed

  • SqlScript

    • BREAKING CHANGE: The parameter Id is now required to allow
      reuse of a script with different variables. Set this to a unique value.
      The information entered is never used to actually run the script.
      (issue #596).
    • Fix unit test to fully check Set-TargetResource using timeout.
  • SqlScriptQuery

    • BREAKING CHANGE: The parameter Id is now required to allow
      reuse of a script with different variables. Set this to a unique value.
      The information entered is never used to actually run the script.
      (issue #596).
    • Fix unit test to fully check Set-TargetResource using timeout.
  • SqlServerDsc

    • Replaced inline task Package_Wiki_Content with the one now available
      in the module DscResource.DocGenerator.
  • Connect-SqlDscDatabaseEngine

    • Update comment-based help with more examples.
  • SqlSetup

    • The parameter SecurityMode now only (correctly) allows the value
      SQL (issue #1185).

Fixed

  • SqlServerDsc
    • Fix issue template.
  • Connect-SqlDscDatabaseEngine
    • Comment-based help for parameter LoginType was corrected.
    • An integration test now runs to test the command.
  • SqlAudit
    • Fixed unit tests.
  • SqlDatabaseMail
    • Fix unit test, removing Assert-VerifiableMock that was left over from
      Pester 5 conversion.

v17.0.0-preview0002

29 Sep 18:57
dd56306
Compare
Choose a tag to compare
v17.0.0-preview0002 Pre-release
Pre-release

[v17.0.0-preview0002]

Added

  • SqlSetup
    • Added new parameter ProductCoveredbySA which is introduced in SQL 2022.

Added

  • Connect-SqlDscDatabaseEngine
    • Added integration test for the command.
  • Uninstall-SqlDscServer
    • Added integration test for the command.

Changed

  • SqlScript

    • BREAKING CHANGE: The parameter Id is now required to allow
      reuse of a script with different variables. Set this to a unique value.
      The information entered is never used to actually run the script.
      (issue #596).
    • Fix unit test to fully check Set-TargetResource using timeout.
  • SqlScriptQuery

    • BREAKING CHANGE: The parameter Id is now required to allow
      reuse of a script with different variables. Set this to a unique value.
      The information entered is never used to actually run the script.
      (issue #596).
    • Fix unit test to fully check Set-TargetResource using timeout.
  • SqlServerDsc

    • Replaced inline task Package_Wiki_Content with the one now available
      in the module DscResource.DocGenerator.
  • Connect-SqlDscDatabaseEngine

    • Update comment-based help with more examples.
  • SqlSetup

    • The parameter SecurityMode now only (correctly) allows the value
      SQL (issue #1185).

Fixed

  • SqlServerDsc
    • Fix issue template.
  • Connect-SqlDscDatabaseEngine
    • Comment-based help for parameter LoginType was corrected.
    • An integration test now runs to test the command.
  • SqlAudit
    • Fixed unit tests.
  • SqlDatabaseMail
    • Fix unit test, removing Assert-VerifiableMock that was left over from
      Pester 5 conversion.

v17.0.0-preview0001

13 Aug 13:01
3c30929
Compare
Choose a tag to compare
v17.0.0-preview0001 Pre-release
Pre-release

[v17.0.0-preview0001]

Added

  • Connect-SqlDscDatabaseEngine
    • Added integration test for the command.
  • Uninstall-SqlDscServer
    • Added integration test for the command.

Changed

  • SqlScript

    • BREAKING CHANGE: The parameter Id is now required to allow
      reuse of a script with different variables. Set this to a unique value.
      The information entered is never used to actually run the script.
      (issue #596).
    • Fix unit test to fully check Set-TargetResource using timeout.
  • SqlScriptQuery

    • BREAKING CHANGE: The parameter Id is now required to allow
      reuse of a script with different variables. Set this to a unique value.
      The information entered is never used to actually run the script.
      (issue #596).
    • Fix unit test to fully check Set-TargetResource using timeout.
  • SqlServerDsc

    • Replaced inline task Package_Wiki_Content with the one now available
      in the module DscResource.DocGenerator.
  • Connect-SqlDscDatabaseEngine

    • Update comment-based help with more examples.
  • SqlSetup

    • The parameter SecurityMode now only (correctly) allows the value
      SQL (issue #1185).

Fixed

  • SqlServerDsc
    • Fix issue template.
  • Connect-SqlDscDatabaseEngine
    • Comment-based help for parameter LoginType was corrected.
    • An integration test now runs to test the command.
  • SqlAudit
    • Fixed unit tests.
  • SqlDatabaseMail
    • Fix unit test, removing Assert-VerifiableMock that was left over from
      Pester 5 conversion.

v16.6.1-preview0002

23 May 13:23
c5e7fe7
Compare
Choose a tag to compare
v16.6.1-preview0002 Pre-release
Pre-release

[v16.6.1-preview0002]

Added

  • Connect-SqlDscDatabaseEngine
    • Added integration test for the command.

Changed

  • Connect-SqlDscDatabaseEngine
    • Update comment-based help with more examples.
  • SqlSetup
    • The parameter SecurityMode now only (correctly) allows the value
      SQL (issue #1185).

Fixed

  • Connect-SqlDscDatabaseEngine
    • Comment-based help for parameter LoginType was corrected.
    • An integration test now runs to test the command.

v16.6.1-preview0001

22 May 13:29
47e02f2
Compare
Choose a tag to compare
v16.6.1-preview0001 Pre-release
Pre-release

[v16.6.1-preview0001]

Added

  • Connect-SqlDscDatabaseEngine
    • Added integration test for the command.

Changed

  • Connect-SqlDscDatabaseEngine
    • Update comment-based help with more examples.

Fixed

  • Connect-SqlDscDatabaseEngine
    • Comment-based help for parameter LoginType was corrected.
    • An integration test now runs to test the command.

v16.6.0

17 May 08:08
d806199
Compare
Choose a tag to compare

[v16.6.0]

Added

  • SqlServerDsc
    • Added build tasks to generate Wiki documentation for public commands.
    • Initial integration tests for commands.
  • SqlDatabaseMail
    • Added the parameter UseDefaultCredentials to control use of the DatabaseEngine
      service account for SMTP server authentication.
  • New public commands
    • Save-SqlDscSqlServerMediaFile - Downloads the content on the provided URL
      and if it is an executable it will use the executable to download the
      ISO image media.

Fixed

  • SqlServerDsc
    • Get-SMOModuleCalculatedVersion
      • Return SQLPS version as 12.0 instead of 120
    • Get-SqlDscPreferredModule
      • Fix sort to get the latest version
    • Public commands no handles when both -Force and -Confirm $true
      would be passed to command.
    • Enabled NUnit results for HQRM tests.
  • Assert-Feature
    • Fixed unit tests.
  • SqlAGReplica
    • Fix unit test FailedRemoveAvailabilityGroupReplica
  • SqlAgentOperator
    • Integration test for changing e-mail address on an existing operator.
  • DatabasePermission
    • New method ToString() for making verbose output better.
  • ServerPermission
    • New method ToString() for making verbose output better.
  • SqlAgDatabase
  • SqlDatabaseObjectPermission
    • Added foreach loop in Get-TargetResource to fix issues with INSERT
      permissions when it's not the only permission on the table ([issue #2006]).
  • Install-SqlDscServer
    • No longer throws with duplicate parameter error if the parameter
      ErrorAction is passed to the command.
  • Add-SqlDscNode
    • No longer throws with duplicate parameter error if the parameter
      ErrorAction is passed to the command.
  • Complete-SqlDscFailoverCluster
    • No longer throws with duplicate parameter error if the parameter
      ErrorAction is passed to the command.
  • Complete-SqlDscImage
    • No longer throws with duplicate parameter error if the parameter
      ErrorAction is passed to the command.
  • Initialize-SqlDscRebuildDatabase
    • No longer throws with duplicate parameter error if the parameter
      ErrorAction is passed to the command.
  • Remove-SqlDscNode
    • No longer throws with duplicate parameter error if the parameter
      ErrorAction is passed to the command.
  • Repair-SqlDscServer
    • No longer throws with duplicate parameter error if the parameter
      ErrorAction is passed to the command.
  • Uninstall-SqlDscServer
    • No longer throws with duplicate parameter error if the parameter
      ErrorAction is passed to the command.
  • Private functions
    • Invoke-SetupAction no longer throws when secure strings is passed on
      Windows PowerShell.

Changed

  • SqlServerDsc
    • Updated pipeline files to support pre-releases with ModuleFast (when
      resolving dependencies).
    • Bump PSResourceGet to v1.0.0 (used when resolving dependencies).
    • Update markdown highlights with newly supported keywords.
    • Bump GitHub Action Stale to v9.
    • Bump GitHub Action CodeQL-Action to v3.
    • Documentation is now built using a separate meta task docs.
      It is run with the meta task pack which is run by the pipeline.
      To run the meta task docs the SMO assemblies must be loaded into the
      session, either by importing SqlServer module or loading SMO stubs.
    • QA test improved to speed up quality testing.
    • The pipeline test stages has been split into different stages.
  • SqlAG
    • Converted unit test to Pester 5
    • DtcSupportEnabled option in Set-TargetResource and TestTargetResource
  • SqlSetup
    • Updated integration tests to use PSResourceGet to download required modules.
  • SqlRS
    • Integration tests for SQL Server 2022 has been temporarily disabled due
      to a unknown problem. More information in issue #2009.

v16.6.0-preview0005

12 May 16:15
d806199
Compare
Choose a tag to compare
v16.6.0-preview0005 Pre-release
Pre-release

[v16.6.0-preview0005]

Added

  • SqlServerDsc
    • Added build tasks to generate Wiki documentation for public commands.
    • Initial integration tests for commands.
  • SqlDatabaseMail
    • Added the parameter UseDefaultCredentials to control use of the DatabaseEngine
      service account for SMTP server authentication.
  • New public commands
    • Save-SqlDscSqlServerMediaFile - Downloads the content on the provided URL
      and if it is an executable it will use the executable to download the
      ISO image media.

Fixed

  • SqlServerDsc
    • Get-SMOModuleCalculatedVersion
      • Return SQLPS version as 12.0 instead of 120
    • Get-SqlDscPreferredModule
      • Fix sort to get the latest version
    • Public commands no handles when both -Force and -Confirm $true
      would be passed to command.
    • Enabled NUnit results for HQRM tests.
  • Assert-Feature
    • Fixed unit tests.
  • SqlAGReplica
    • Fix unit test FailedRemoveAvailabilityGroupReplica
  • SqlAgentOperator
    • Integration test for changing e-mail address on an existing operator.
  • DatabasePermission
    • New method ToString() for making verbose output better.
  • ServerPermission
    • New method ToString() for making verbose output better.
  • SqlAgDatabase
  • SqlDatabaseObjectPermission
    • Added foreach loop in Get-TargetResource to fix issues with INSERT
      permissions when it's not the only permission on the table ([issue #2006]).
  • Install-SqlDscServer
    • No longer throws with duplicate parameter error if the parameter
      ErrorAction is passed to the command.
  • Add-SqlDscNode
    • No longer throws with duplicate parameter error if the parameter
      ErrorAction is passed to the command.
  • Complete-SqlDscFailoverCluster
    • No longer throws with duplicate parameter error if the parameter
      ErrorAction is passed to the command.
  • Complete-SqlDscImage
    • No longer throws with duplicate parameter error if the parameter
      ErrorAction is passed to the command.
  • Initialize-SqlDscRebuildDatabase
    • No longer throws with duplicate parameter error if the parameter
      ErrorAction is passed to the command.
  • Remove-SqlDscNode
    • No longer throws with duplicate parameter error if the parameter
      ErrorAction is passed to the command.
  • Repair-SqlDscServer
    • No longer throws with duplicate parameter error if the parameter
      ErrorAction is passed to the command.
  • Uninstall-SqlDscServer
    • No longer throws with duplicate parameter error if the parameter
      ErrorAction is passed to the command.
  • Private functions
    • Invoke-SetupAction no longer throws when secure strings is passed on
      Windows PowerShell.

Changed

  • SqlServerDsc
    • Updated pipeline files to support pre-releases with ModuleFast (when
      resolving dependencies).
    • Bump PSResourceGet to v1.0.0 (used when resolving dependencies).
    • Update markdown highlights with newly supported keywords.
    • Bump GitHub Action Stale to v9.
    • Bump GitHub Action CodeQL-Action to v3.
    • Documentation is now built using a separate meta task docs.
      It is run with the meta task pack which is run by the pipeline.
      To run the meta task docs the SMO assemblies must be loaded into the
      session, either by importing SqlServer module or loading SMO stubs.
    • QA test improved to speed up quality testing.
    • The pipeline test stages has been split into different stages.
  • SqlAG
    • Converted unit test to Pester 5
    • DtcSupportEnabled option in Set-TargetResource and TestTargetResource
  • SqlSetup
    • Updated integration tests to use PSResourceGet to download required modules.
  • SqlRS
    • Integration tests for SQL Server 2022 has been temporarily disabled due
      to a unknown problem. More information in issue #2009.