Skip to content

Releases: dsccommunity/SqlServerDsc

v16.4.0-preview0001

08 May 20:41
d296853
Compare
Choose a tag to compare
v16.4.0-preview0001 Pre-release
Pre-release

[v16.4.0-preview0001]

Added

  • SqlServerDsc
    • Added a new build task fastbuild that can be used during development
      process when there are no need to generate documentation.
    • Added new public command:
      • Get-SqlDscConfigurationOption - Returns the available configuration
        options that can be used with the DSC resource SqlConfiguration.

Changed

  • SqlServerDsc
    • Re-enable integration tests for dbatools.
    • Bumped dbatools to v2.0.1 for the integration tests.

v16.3.1

06 May 14:15
d9a84f4
Compare
Choose a tag to compare

[v16.3.1]

Changed

  • SqlServerDsc
    • Temporary disable integration tests for dbatools.
  • SqlAg
    • Added optional parameter SeedingMode that will set the SeedingMode for the
      SQL Server 2016 and higher. This parameter can only be used together with the
      module SqlServer installed (tested v21.0.17099). The parameter will be
      ignored if SQLPS module will be used.
  • SqlAgReplica
    • Added optional parameter SeedingMode that will set the SeedingMode for the
      SQL Server 2016 and higher (issue #487).
      This parameter can only be used together with the module SqlServer installed
      (tested v21.0.17099). The parameter will be ignored if SQLPS module will be
      used.

Fixed

  • Import-SqlDscPreferredModule
    • Now the command does not fail when checking if SQLPS is loaded into the
      session (issue #1928).

v16.3.1-preview0002

06 May 11:50
d9a84f4
Compare
Choose a tag to compare
v16.3.1-preview0002 Pre-release
Pre-release

[v16.3.1-preview0002]

Changed

  • SqlServerDsc
    • Temporary disable integration tests for dbatools.
  • SqlAg
    • Added optional parameter SeedingMode that will set the SeedingMode for the
      SQL Server 2016 and higher. This parameter can only be used together with the
      module SqlServer installed (tested v21.0.17099). The parameter will be
      ignored if SQLPS module will be used.
  • SqlAgReplica
    • Added optional parameter SeedingMode that will set the SeedingMode for the
      SQL Server 2016 and higher (issue #487).
      This parameter can only be used together with the module SqlServer installed
      (tested v21.0.17099). The parameter will be ignored if SQLPS module will be
      used.

Fixed

  • Import-SqlDscPreferredModule
    • Now the command does not fail when checking if SQLPS is loaded into the
      session (issue #1928).

v16.3.1-preview0001

04 May 15:38
753c556
Compare
Choose a tag to compare
v16.3.1-preview0001 Pre-release
Pre-release

[v16.3.1-preview0001]

Changed

  • SqlServerDsc
    • Temporary disable integration tests for dbatools.
  • SqlAg
    • Added optional parameter SeedingMode that will set the SeedingMode for the
      SQL Server 2016 and higher. This parameter can only be used together with the
      module SqlServer installed (tested v21.0.17099). The parameter will be
      ignored if SQLPS module will be used.
  • SqlAgReplica
    • Added optional parameter SeedingMode that will set the SeedingMode for the
      SQL Server 2016 and higher (issue #487).
      This parameter can only be used together with the module SqlServer installed
      (tested v21.0.17099). The parameter will be ignored if SQLPS module will be
      used.

v16.3.0

26 Apr 17:04
be2f562
Compare
Choose a tag to compare

[v16.3.0]

Remove

  • SqlServerDsc.Common
    • Removed the function Invoke-Query. It is replaced by the command
      Invoke-SqlDscQuery (issue #1902).

Added

  • 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.
  • SqlServerDsc.Common
    • Connect-SQL.
      • Add new parameter Encrypt.
  • Connect-SqlDscDatabaseEngine
    • Add new parameter Encrypt.
  • Invoke-SqlDscQuery
    • Add new parameter Encrypt.

Changed

  • Now able to use DbaTools as a preferred module
    (with some restrictions).
  • Gitversion no longer evaluates bumping major version using the word "major".
  • Update private commands:
    • Assert-SetupActionProperties was changed to throw
      an exception when a feature is not supported (calls Assert-Feature).
      The private command is indirectly used by the setup action commands.
    • Invoke-SetupAction was changed to expand environment variables that
      is passed as the media path.
  • SqlSetup
    • Update to support checking non-supported features using the command
      SqlDscIsSupportedFeature (issue #1872).
  • Update SqlServerDsc.Common Module:
    • Connect-SQL - Function will now wait for the SMO Status property to be
      'Online' or throw an exception if time exceeds the statement timeout.
  • SqlRS
    • Now uses the command Invoke-SqlDscQuery instead of Invoke-SqlCmd
      (issue #1917).
    • The parameter Encrypt has changed so that Mandatory or Strict
      will turn on encryption when connecting to the database instance.
  • SqlDatabaseMail
    • Update integration tests to verify multiple instances of SqlDatabaseMail
      in the same configuration (issue #1871).
    • Changed comparison logic to use Compare-DscParameterState (issue #1871).
    • Return the correct profile name and mail server name from the current
      state (issue #1871).
  • Invoke-SqlDscQuery
    • Now shows the correct instance name when called using a server object
      (issue #1918).
    • Correctly outputs query in verbose message when parameter RedactText
      is not passed.
  • Import-SqlDscPreferredModule
    • Better handle preferred module and re-uses logic in Get-SqlDscPreferredModule.

v16.3.0-preview0006

26 Apr 11:49
be2f562
Compare
Choose a tag to compare
v16.3.0-preview0006 Pre-release
Pre-release

[v16.3.0-preview0006]

Remove

  • SqlServerDsc.Common
    • Removed the function Invoke-Query. It is replaced by the command
      Invoke-SqlDscQuery (issue #1902).

Added

  • 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.
  • SqlServerDsc.Common
    • Connect-SQL.
      • Add new parameter Encrypt.
  • Connect-SqlDscDatabaseEngine
    • Add new parameter Encrypt.
  • Invoke-SqlDscQuery
    • Add new parameter Encrypt.

Changed

  • Now able to use DbaTools as a preferred module
    (with some restrictions).
  • Gitversion no longer evaluates bumping major version using the word "major".
  • Update private commands:
    • Assert-SetupActionProperties was changed to throw
      an exception when a feature is not supported (calls Assert-Feature).
      The private command is indirectly used by the setup action commands.
    • Invoke-SetupAction was changed to expand environment variables that
      is passed as the media path.
  • SqlSetup
    • Update to support checking non-supported features using the command
      SqlDscIsSupportedFeature (issue #1872).
  • Update SqlServerDsc.Common Module:
    • Connect-SQL - Function will now wait for the SMO Status property to be
      'Online' or throw an exception if time exceeds the statement timeout.
  • SqlRS
    • Now uses the command Invoke-SqlDscQuery instead of Invoke-SqlCmd
      (issue #1917).
    • The parameter Encrypt has changed so that Mandatory or Strict
      will turn on encryption when connecting to the database instance.
  • SqlDatabaseMail
    • Update integration tests to verify multiple instances of SqlDatabaseMail
      in the same configuration (issue #1871).
    • Changed comparison logic to use Compare-DscParameterState (issue #1871).
    • Return the correct profile name and mail server name from the current
      state (issue #1871).
  • Invoke-SqlDscQuery
    • Now shows the correct instance name when called using a server object
      (issue #1918).
    • Correctly outputs query in verbose message when parameter RedactText
      is not passed.

v16.3.0-preview0005

25 Apr 20:02
8106945
Compare
Choose a tag to compare
v16.3.0-preview0005 Pre-release
Pre-release

[v16.3.0-preview0005]

Remove

  • SqlServerDsc.Common
    • Removed the function Invoke-Query. It is replaced by the command
      Invoke-SqlDscQuery (issue #1902).

Added

  • 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.
  • SqlServerDsc.Common
    • Connect-SQL.
      • Add new parameter Encrypt.
  • Connect-SqlDscDatabaseEngine
    • Add new parameter Encrypt.
  • Invoke-SqlDscQuery
    • Add new parameter Encrypt.

Changed

  • Now able to use DbaTools as a preferred module
    (with some restrictions).
  • Gitversion no longer evaluates bumping major version using the word "major".
  • Update private commands:
    • Assert-SetupActionProperties was changed to throw
      an exception when a feature is not supported (calls Assert-Feature).
      The private command is indirectly used by the setup action commands.
    • Invoke-SetupAction was changed to expand environment variables that
      is passed as the media path.
  • SqlSetup
    • Update to support checking non-supported features using the command
      SqlDscIsSupportedFeature (issue #1872).
  • Update SqlServerDsc.Common Module:
    • Connect-SQL - Function will now wait for the SMO Status property to be
      'Online' or throw an exception if time exceeds the statement timeout.
  • SqlRS
    • Now uses the command Invoke-SqlDscQuery instead of Invoke-SqlCmd
      (issue #1917).
    • The parameter Encrypt has changed so that Mandatory or Strict
      will turn on encryption when connecting to the database instance.
  • Invoke-SqlDscQuery
    • Now shows the correct instance name when called using a server object
      (issue #1918).
    • Correctly outputs query in verbose message when parameter RedactText
      is not passed.

v16.3.0-preview0004

24 Apr 15:49
43a080e
Compare
Choose a tag to compare
v16.3.0-preview0004 Pre-release
Pre-release

[v16.3.0-preview0004]

Remove

  • SqlServerDsc.Common
    • Removed the function Invoke-Query. It is replaced by the command
      Invoke-SqlDscQuery (issue #1902).

Added

  • 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.
  • SqlServerDsc.Common
    • Connect-SQL.
      • Add new parameter Encrypt.
  • Connect-SqlDscDatabaseEngine
    • Add new parameter Encrypt.
  • Invoke-SqlDscQuery
    • Add new parameter Encrypt.

Changed

  • Now able to use DbaTools as a preferred module
    (with some restrictions).
  • Gitversion no longer evaluates bumping major version using the word "major".
  • Update private commands:
    • Assert-SetupActionProperties was changed to throw
      an exception when a feature is not supported (calls Assert-Feature).
      The private command is indirectly used by the setup action commands.
    • Invoke-SetupAction was changed to expand environment variables that
      is passed as the media path.
  • SqlSetup
    • Update to support checking non-supported features using the command
      SqlDscIsSupportedFeature (issue #1872).
  • SqlRS
    • Now uses the command Invoke-SqlDscQuery instead of Invoke-SqlCmd
      (issue #1917).
    • The parameter Encrypt has changed so that Mandatory or Strict
      will turn on encryption when connecting to the database instance.
  • Invoke-SqlDscQuery
    • Now shows the correct instance name when called using a server object
      (issue #1918).
    • Correctly outputs query in verbose message when parameter RedactText
      is not passed.

v16.3.0-preview0003

23 Apr 15:26
44c654a
Compare
Choose a tag to compare
v16.3.0-preview0003 Pre-release
Pre-release

[v16.3.0-preview0003]

Remove

  • SqlServerDsc.Common
    • Removed the function Invoke-Query. It is replaced by the command
      Invoke-SqlDscQuery (issue #1902).

Added

  • 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.
  • SqlServerDsc.Common
    • Connect-SQL.
      • Add new parameter Encrypt.
  • Connect-SqlDscDatabaseEngine
    • Add new parameter Encrypt.
  • Invoke-SqlDscQuery
    • Add new parameter Encrypt.

Changed

  • Gitversion no longer evaluates bumping major version using the word "major".
  • Update private commands:
    • Assert-SetupActionProperties was changed to throw
      an exception when a feature is not supported (calls Assert-Feature).
      The private command is indirectly used by the setup action commands.
    • Invoke-SetupAction was changed to expand environment variables that
      is passed as the media path.
  • SqlSetup
    • Update to support checking non-supported features using the command
      SqlDscIsSupportedFeature (issue #1872).
  • SqlRS
    • Now uses the command Invoke-SqlDscQuery instead of Invoke-SqlCmd
      (issue #1917).
    • The parameter Encrypt has changed so that Mandatory or Strict
      will turn on encryption when connecting to the database instance.
  • Invoke-SqlDscQuery
    • Now shows the correct instance name when called using a server object
      (issue #1918).
    • Correctly outputs query in verbose message when parameter RedactText
      is not passed.

v16.3.0-preview0002

18 Apr 17:19
3e81805
Compare
Choose a tag to compare
v16.3.0-preview0002 Pre-release
Pre-release

[v16.3.0-preview0002]

Remove

  • SqlServerDsc.Common
    • Removed the function Invoke-Query. It is replaced by the command
      Invoke-SqlDscQuery (issue #1902).

Added

  • 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

  • Gitversion no longer evaluates bumping major version using the word "major".
  • Update private commands:
    • Assert-SetupActionProperties was changed to throw
      an exception when a feature is not supported (calls Assert-Feature).
      The private command is indirectly used by the setup action commands.
    • Invoke-SetupAction was changed to expand environment variables that
      is passed as the media path.
  • SqlSetup
    • Update to support checking non-supported features using the command
      SqlDscIsSupportedFeature (issue #1872).