Skip to content

Releases: dsccommunity/SqlServerDsc

v17.6.0-preview0004

12 Apr 15:21
9fbc7a5

Choose a tag to compare

v17.6.0-preview0004 Pre-release
Pre-release

[v17.6.0-preview0004]

Fixed

  • SqlScript
    • Fixed logic in Get-TargetResource and Set-TargetResource to throw an error
      when the SQL script file is missing, instead of incorrectly reporting success
      or using a null variable.
    • Fixed Test-TargetResource to return $false (instead of throwing) when
      the SQL script file is missing, enabling DependsOn scenarios where the file
      is created at runtime.
  • SqlDatabase
    • Fixed logic in Set-SqlDscDatabaseProperty so pipeline input is properly
      handled in the cmdlet's Process block. (issue #2456)

Changed

  • SqlScript
    • Added integration test configuration that creates script files and executes
      the resource in a single configuration using DependsOn.
  • SqlLogin
    • Added parameter Sid to allow setting the sid of the new login. (issue #1470)

v17.6.0-preview0003

19 Feb 18:25
449a501

Choose a tag to compare

v17.6.0-preview0003 Pre-release
Pre-release

[v17.6.0-preview0003]

Fixed

  • SqlScript
    • Fixed logic in Get-TargetResource and Set-TargetResource to throw an error
      when the SQL script file is missing, instead of incorrectly reporting success
      or using a null variable.
    • Fixed Test-TargetResource to return $false (instead of throwing) when
      the SQL script file is missing, enabling DependsOn scenarios where the file
      is created at runtime.

Changed

  • SqlScript
    • Added integration test configuration that creates script files and executes
      the resource in a single configuration using DependsOn.
  • SqlLogin
    • Added parameter Sid to allow setting the sid of the new login. (issue #1470)

v17.6.0-preview0002

09 Feb 14:43
26616c7

Choose a tag to compare

v17.6.0-preview0002 Pre-release
Pre-release

[v17.6.0-preview0002]

Fixed

  • SqlScript
    • Fixed logic in Get-TargetResource and Set-TargetResource to throw an error
      when the SQL script file is missing, instead of incorrectly reporting success
      or using a null variable.
    • Fixed Test-TargetResource to return $false (instead of throwing) when
      the SQL script file is missing, enabling DependsOn scenarios where the file
      is created at runtime.

Changed

  • SqlScript
    • Added integration test configuration that creates script files and executes
      the resource in a single configuration using DependsOn.

v17.6.0-preview0001

07 Feb 23:27
a4cc440

Choose a tag to compare

v17.6.0-preview0001 Pre-release
Pre-release

[v17.6.0-preview0001]

Fixed

  • SqlScript
    • Fixed logic in Get-TargetResource and Set-TargetResource to throw an error
      when the SQL script file is missing, instead of incorrectly reporting success
      or using a null variable.
    • Fixed Test-TargetResource to return $false (instead of throwing) when
      the SQL script file is missing, enabling DependsOn scenarios where the file
      is created at runtime.

Changed

  • SqlScript
    • Added integration test configuration that creates script files and executes
      the resource in a single configuration using DependsOn.

v17.5.1

05 Feb 20:35
78a2c04

Choose a tag to compare

[v17.5.1]

Added

  • SqlServerDsc
    • Added private functions ConvertTo-SqlString and ConvertTo-EscapedQueryString
      to safely escape T-SQL string literals and query arguments
      (issue #2442).
  • DSC_SqlReplication
    • Updated Install-RemoteDistributor to escape T-SQL arguments for SQL Server
      2025 to prevent SQL injection and ensure proper password redaction
      (issue #2442).

Changed

  • SqlServerDsc
    • Updated Pester test guidance in AI instructions in community style guidelines.
    • Added SChannelDsc as a required module for integration tests and enabled the
      prerequisites tests Ensure TLS 1.2 is enabled (issue #2441).

v17.5.1-preview0001

02 Feb 07:26
78a2c04

Choose a tag to compare

v17.5.1-preview0001 Pre-release
Pre-release

[v17.5.1-preview0001]

Added

  • SqlServerDsc
    • Added private functions ConvertTo-SqlString and ConvertTo-EscapedQueryString
      to safely escape T-SQL string literals and query arguments
      (issue #2442).
  • DSC_SqlReplication
    • Updated Install-RemoteDistributor to escape T-SQL arguments for SQL Server
      2025 to prevent SQL injection and ensure proper password redaction
      (issue #2442).

Changed

  • SqlServerDsc
    • Updated Pester test guidance in AI instructions in community style guidelines.
    • Added SChannelDsc as a required module for integration tests and enabled the
      prerequisites tests Ensure TLS 1.2 is enabled (issue #2441).

v17.5.0

30 Jan 08:47
dfe01bc

Choose a tag to compare

[v17.5.0]

Changed

  • SqlServerDsc.Common
    • Moved functions into individual files and use ModuleBuilder to assemble.
  • SqlServerDsc
    • Refactor integration tests for SQL Server Reporting Services and Power BI
      Report Server (issue #2431).
    • Connect-Sql create connection and server objects as per documentation.
    • Invoke-SqlDscQuery remove disconnect as there is not an explicit connect.
    • Add SQL Server 2025 to integration tests (issue #2427).

Fixed

  • SqlServerDsc
    • Fixed PowerShell Gallery badge URL in README.md to correctly show
      prereleases (issue #2437).

v17.5.0-preview0001

28 Jan 16:55
dfe01bc

Choose a tag to compare

v17.5.0-preview0001 Pre-release
Pre-release

[v17.5.0-preview0001]

Changed

  • SqlServerDsc.Common
    • Moved functions into individual files and use ModuleBuilder to assemble.
  • SqlServerDsc
    • Refactor integration tests for SQL Server Reporting Services and Power BI
      Report Server (issue #2431).
    • Connect-Sql create connection and server objects as per documentation.
    • Invoke-SqlDscQuery remove disconnect as there is not an explicit connect.
    • Add SQL Server 2025 to integration tests (issue #2427).

Fixed

  • SqlServerDsc
    • Fixed PowerShell Gallery badge URL in README.md to correctly show
      prereleases (issue #2437).

v17.4.1-preview0002

26 Jan 19:51
19c7f47

Choose a tag to compare

v17.4.1-preview0002 Pre-release
Pre-release

[v17.4.1-preview0002]

Changed

  • SqlServerDsc.Common

    • Moved functions into individual files and use ModuleBuilder to assemble.
  • SqlServerDsc

    • Refactor integration tests for SQL Server Reporting Services and Power BI
      Report Server (issue #2431).
    • Connect-Sql create connection and server objects as per documentation.
    • Invoke-SqlDscQuery remove disconnect as there is not an explicit connect.

v17.4.1-preview0001

23 Jan 15:43
e971dc1

Choose a tag to compare

v17.4.1-preview0001 Pre-release
Pre-release

[v17.4.1-preview0001]

Changed

  • SqlServerDsc.Common

    • Moved functions into individual files and use ModuleBuilder to assemble.
  • SqlServerDsc

    • Refactor integration tests for SQL Server Reporting Services and Power BI
      Report Server (issue #2431).