Skip to content

Releases: dsccommunity/SqlServerDsc

v16.6.0-preview0004

11 May 21:34
a5c29fe
Compare
Choose a tag to compare
v16.6.0-preview0004 Pre-release
Pre-release

[v16.6.0-preview0004]

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
  • 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-preview0003

03 Mar 18:51
026647c
Compare
Choose a tag to compare
v16.6.0-preview0003 Pre-release
Pre-release

[v16.6.0-preview0003]

Added

  • SqlServerDsc
    • Added build tasks to generate Wiki documentation for public commands.
  • SqlDatabaseMail
    • Added the parameter UseDefaultCredentials to control use of the DatabaseEngine
      service account for SMTP server authentication.

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

Changed

  • SqlServer
    • Updated pipeline files to support pre-releases with ModuleFast (when
      resolving dependencies).
  • SqlAG
    • Converted unit test to Pester 5
    • DtcSupportEnabled option in Set-TargetResource and TestTargetResource
  • SqlServerDsc
    • 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.
  • SqlSetup
    • Updated integration tests to use PSResourceGet to download required modules.

v16.6.0-preview0002

20 Jan 12:59
0ffc7ad
Compare
Choose a tag to compare
v16.6.0-preview0002 Pre-release
Pre-release

[v16.6.0-preview0002]

Added

  • SqlServerDsc
    • Added build tasks to generate Wiki documentation for public commands.

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

Changed

  • SqlServer
    • Updated pipeline files to support pre-releases with ModuleFast (when
      resolving dependencies).
  • SqlAG
    • Converted unit test to Pester 5
    • DtcSupportEnabled option in Set-TargetResource and TestTargetResource
  • SqlServerDsc
    • 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.
  • SqlSetup
    • Updated integration tests to use PSResourceGet to download required modules.

v16.6.0-preview0001

19 Jan 16:45
c26c06f
Compare
Choose a tag to compare
v16.6.0-preview0001 Pre-release
Pre-release

[v16.6.0-preview0001]

Added

  • SqlServerDsc
    • Added build tasks to generate Wiki documentation for public commands.

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.

Changed

  • SqlServer
    • Updated pipeline files to support pre-releases with ModuleFast (when
      resolving dependencies).
  • SqlAG
    • Converted unit test to Pester 5
    • DtcSupportEnabled option in Set-TargetResource and TestTargetResource
  • SqlServerDsc
    • 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.
  • SqlSetup
    • Updated integration tests to use PSResourceGet to download required modules.

v16.5.1-preview0003

15 Dec 22:07
a9f8f26
Compare
Choose a tag to compare
v16.5.1-preview0003 Pre-release
Pre-release

[v16.5.1-preview0003]

Fixed

  • SqlServerDsc
    • Get-SMOModuleCalculatedVersion
      • Return SQLPS version as 12.0 instead of 120
    • Get-SqlDscPreferredModule
      • Fix sort to get the latest version
  • Assert-Feature
    • Fixed unit tests.
  • SqlAGReplica
    • Fix unit test FailedRemoveAvailabilityGroupReplica

Changed

  • SqlAG
    • Converted unit test to Pester 5
    • DtcSupportEnabled option in Set-TargetResource and TestTargetResource
  • SqlServerDsc
    • Bump PSResourceGet to v1.0.0 (used when resolving dependencies).
    • Update markdown highlights with newly supported keywords.

v16.5.1-preview0002

19 Nov 11:46
e9639fd
Compare
Choose a tag to compare
v16.5.1-preview0002 Pre-release
Pre-release

[v16.5.1-preview0002]

Fixed

  • SqlServerDsc
    • Get-SMOModuleCalculatedVersion
      • Return SQLPS version as 12.0 instead of 120
    • Get-SqlDscPreferredModule
      • Fix sort to get the latest version

Changed

  • SqlServerDsc
    • Bump PSResourceGet to v1.0.0 (used when resolving dependencies).
    • Update markdown highlights with newly supported keywords.

v16.5.1-preview0001

02 Nov 17:43
85f8523
Compare
Choose a tag to compare
v16.5.1-preview0001 Pre-release
Pre-release

[v16.5.1-preview0001]

Fixed

  • SqlServerDsc
    • Get-SMOModuleCalculatedVersion
      • Return SQLPS version as 12.0 instead of 120
    • Get-SqlDscPreferredModule
      • Fix sort to get the latest version

Changed

  • SqlServerDsc
    • Bump PSResourceGet to v1.0.0 (used when resolving dependencies).

v16.5.0

05 Oct 11:40
350c705
Compare
Choose a tag to compare

[v16.5.0]

Fixed

  • SqlDatabase
    • Add Version160 to CompatibilityLevel ValidateSet

Added

  • SqlServerDsc
    • Updated pipeline files to support ModuleFast and PSResourceGet.
    • Get-SqlDscPreferredModule
      • Optionally specify what version of the the SQL preferred module to
        be imported using the SMODefaultModuleVersion environment variable
        (issue #1965).
    • Now package the Wiki content and adds it as a GitHub Release asset so it
      is simpler to get the documentation for a specific version.
    • CODEOWNERS file was added to support automatically set reviewer.
  • New private command:
    • Get-SMOModuleCalculatedVersion - Returns the version of the SMO module
      as a string. SQLPS version 120 and 130 do not have the correct version set,
      so the file path is used to calculate the version.
  • SqlSetup
    • Added the parameter SqlVersion that can be used to set the SQL Server
      version to be installed instead of it looking for version in the setup
      executable of the SQL Server media. This parameter is not allowed for
      the setup action Upgrade, if specified it will throw an exception
      (issue #1946).

Changed

  • SqlRs
    • Updated examples to use xPSDesiredStateConfiguration instead of PSDScResources.
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlScript
    • Updated examples to use xPSDesiredStateConfiguration instead of PSDScResources.
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlScriptQuery
    • Updated examples to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlSetup
    • Updated examples to use xPSDesiredStateConfiguration instead of PSDScResources.
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlAlwaysOnService
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlLogin
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlReplication
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlRSSetup
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlServiceAccount
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlWindowsFirewall
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlServerDsc
    • Get-SqlDscPreferredModule
      • Now returns a PSModuleInfo object instead of just the module name.
    • Import-SqlDscPreferredModule
      • Handles PSModuleInfo objects from Get-SqlDscPreferredModule instead of strings.
      • Sets -ErrorAction 'Stop' on Get-SqlDscPreferredModule to throw an error if
        no SQL module is found. The script-terminating error is caught and made into
        a statement-terminating error.
    • Bump GitHub Action Checkout to v4.
  • SqlAGListener
    • Made the resource cluster aware. When ProcessOnlyOnActiveNode is specified,
      the resource will only determine if a change is needed if the target node
      is the active host of the SQL Server instance (issue #871).

Remove

  • SqlServerDsc
    • Removed PreferredModule_ModuleFound string in favor for more verbose PreferredModule_ModuleVersionFound.

v16.5.0-preview0004

01 Oct 10:21
350c705
Compare
Choose a tag to compare
v16.5.0-preview0004 Pre-release
Pre-release

[v16.5.0-preview0004]

Fixed

  • SqlDatabase
    • Add Version160 to CompatibilityLevel ValidateSet

Added

  • SqlServerDsc
    • Updated pipeline files to support ModuleFast and PSResourceGet.
    • Get-SqlDscPreferredModule
      • Optionally specify what version of the the SQL preferred module to
        be imported using the SMODefaultModuleVersion environment variable
        (issue #1965).
    • Now package the Wiki content and adds it as a GitHub Release asset so it
      is simpler to get the documentation for a specific version.
    • CODEOWNERS file was added to support automatically set reviewer.
  • New private command:
    • Get-SMOModuleCalculatedVersion - Returns the version of the SMO module
      as a string. SQLPS version 120 and 130 do not have the correct version set,
      so the file path is used to calculate the version.
  • SqlSetup
    • Added the parameter SqlVersion that can be used to set the SQL Server
      version to be installed instead of it looking for version in the setup
      executable of the SQL Server media. This parameter is not allowed for
      the setup action Upgrade, if specified it will throw an exception
      (issue #1946).

Changed

  • SqlRs
    • Updated examples to use xPSDesiredStateConfiguration instead of PSDScResources.
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlScript
    • Updated examples to use xPSDesiredStateConfiguration instead of PSDScResources.
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlScriptQuery
    • Updated examples to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlSetup
    • Updated examples to use xPSDesiredStateConfiguration instead of PSDScResources.
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlAlwaysOnService
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlLogin
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlReplication
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlRSSetup
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlServiceAccount
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlWindowsFirewall
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlServerDsc
    • Get-SqlDscPreferredModule
      • Now returns a PSModuleInfo object instead of just the module name.
    • Import-SqlDscPreferredModule
      • Handles PSModuleInfo objects from Get-SqlDscPreferredModule instead of strings.
      • Sets -ErrorAction 'Stop' on Get-SqlDscPreferredModule to throw an error if
        no SQL module is found. The script-terminating error is caught and made into
        a statement-terminating error.
    • Bump GitHub Action Checkout to v4.
  • SqlAGListener
    • Made the resource cluster aware. When ProcessOnlyOnActiveNode is specified,
      the resource will only determine if a change is needed if the target node
      is the active host of the SQL Server instance (issue #871).

Remove

  • SqlServerDsc
    • Removed PreferredModule_ModuleFound string in favor for more verbose PreferredModule_ModuleVersionFound.

v16.5.0-preview0003

29 Sep 19:31
2fe45da
Compare
Choose a tag to compare
v16.5.0-preview0003 Pre-release
Pre-release

[v16.5.0-preview0003]

Fixed

  • SqlDatabase
    • Add Version160 to CompatibilityLevel ValidateSet

Added

  • SqlServerDsc
    • Updated pipeline files to support ModuleFast and PSResourceGet.
    • Get-SqlDscPreferredModule
      • Optionally specify what version of the the SQL preferred module to
        be imported using the SMODefaultModuleVersion environment variable
        (issue #1965).
    • Now package the Wiki content and adds it as a GitHub Release asset so it
      is simpler to get the documentation for a specific version.
    • CODEOWNERS file was added to support automatically set reviewer.
  • New private command:
    • Get-SMOModuleCalculatedVersion - Returns the version of the SMO module
      as a string. SQLPS version 120 and 130 do not have the correct version set,
      so the file path is used to calculate the version.
  • SqlSetup
    • Added the parameter SqlVersion that can be used to set the SQL Server
      version to be installed instead of it looking for version in the setup
      executable of the SQL Server media. This parameter is not allowed for
      the setup action Upgrade, if specified it will throw an exception
      (issue #1946).

Changed

  • SqlRs
    • Updated examples to use xPSDesiredStateConfiguration instead of PSDScResources.
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlScript
    • Updated examples to use xPSDesiredStateConfiguration instead of PSDScResources.
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlScriptQuery
    • Updated examples to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlSetup
    • Updated examples to use xPSDesiredStateConfiguration instead of PSDScResources.
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlAlwaysOnService
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlLogin
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlReplication
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlRSSetup
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlServiceAccount
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlWindowsFirewall
    • Updated integration tests to use xPSDesiredStateConfiguration instead of PSDScResources.
  • SqlServerDsc
    • Get-SqlDscPreferredModule
      • Now returns a PSModuleInfo object instead of just the module name.
    • Import-SqlDscPreferredModule
      • Handles PSModuleInfo objects from Get-SqlDscPreferredModule instead of strings.
      • Sets -ErrorAction 'Stop' on Get-SqlDscPreferredModule to throw an error if
        no SQL module is found. The script-terminating error is caught and made into
        a statement-terminating error.
    • Bump GitHub Action Checkout to v4.

Remove

  • SqlServerDsc
    • Removed PreferredModule_ModuleFound string in favor for more verbose PreferredModule_ModuleVersionFound.