Releases: dsccommunity/SqlServerDsc
Releases · dsccommunity/SqlServerDsc
v17.6.0-preview0004
[v17.6.0-preview0004]
Fixed
- SqlScript
- Fixed logic in
Get-TargetResourceandSet-TargetResourceto throw an error
when the SQL script file is missing, instead of incorrectly reporting success
or using a null variable. - Fixed
Test-TargetResourceto return$false(instead of throwing) when
the SQL script file is missing, enablingDependsOnscenarios where the file
is created at runtime.
- Fixed logic in
- SqlDatabase
- Fixed logic in
Set-SqlDscDatabasePropertyso pipeline input is properly
handled in the cmdlet'sProcessblock. (issue #2456)
- Fixed logic in
Changed
- SqlScript
- Added integration test configuration that creates script files and executes
the resource in a single configuration usingDependsOn.
- Added integration test configuration that creates script files and executes
- SqlLogin
- Added parameter
Sidto allow setting the sid of the new login. (issue #1470)
- Added parameter
v17.6.0-preview0003
[v17.6.0-preview0003]
Fixed
- SqlScript
- Fixed logic in
Get-TargetResourceandSet-TargetResourceto throw an error
when the SQL script file is missing, instead of incorrectly reporting success
or using a null variable. - Fixed
Test-TargetResourceto return$false(instead of throwing) when
the SQL script file is missing, enablingDependsOnscenarios where the file
is created at runtime.
- Fixed logic in
Changed
- SqlScript
- Added integration test configuration that creates script files and executes
the resource in a single configuration usingDependsOn.
- Added integration test configuration that creates script files and executes
- SqlLogin
- Added parameter
Sidto allow setting the sid of the new login. (issue #1470)
- Added parameter
v17.6.0-preview0002
[v17.6.0-preview0002]
Fixed
- SqlScript
- Fixed logic in
Get-TargetResourceandSet-TargetResourceto throw an error
when the SQL script file is missing, instead of incorrectly reporting success
or using a null variable. - Fixed
Test-TargetResourceto return$false(instead of throwing) when
the SQL script file is missing, enablingDependsOnscenarios where the file
is created at runtime.
- Fixed logic in
Changed
- SqlScript
- Added integration test configuration that creates script files and executes
the resource in a single configuration usingDependsOn.
- Added integration test configuration that creates script files and executes
v17.6.0-preview0001
[v17.6.0-preview0001]
Fixed
- SqlScript
- Fixed logic in
Get-TargetResourceandSet-TargetResourceto throw an error
when the SQL script file is missing, instead of incorrectly reporting success
or using a null variable. - Fixed
Test-TargetResourceto return$false(instead of throwing) when
the SQL script file is missing, enablingDependsOnscenarios where the file
is created at runtime.
- Fixed logic in
Changed
- SqlScript
- Added integration test configuration that creates script files and executes
the resource in a single configuration usingDependsOn.
- Added integration test configuration that creates script files and executes
v17.5.1
[v17.5.1]
Added
- SqlServerDsc
- Added private functions
ConvertTo-SqlStringandConvertTo-EscapedQueryString
to safely escape T-SQL string literals and query arguments
(issue #2442).
- Added private functions
- DSC_SqlReplication
- Updated
Install-RemoteDistributorto escape T-SQL arguments for SQL Server
2025 to prevent SQL injection and ensure proper password redaction
(issue #2442).
- Updated
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 testsEnsure TLS 1.2 is enabled(issue #2441).
v17.5.1-preview0001
[v17.5.1-preview0001]
Added
- SqlServerDsc
- Added private functions
ConvertTo-SqlStringandConvertTo-EscapedQueryString
to safely escape T-SQL string literals and query arguments
(issue #2442).
- Added private functions
- DSC_SqlReplication
- Updated
Install-RemoteDistributorto escape T-SQL arguments for SQL Server
2025 to prevent SQL injection and ensure proper password redaction
(issue #2442).
- Updated
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 testsEnsure TLS 1.2 is enabled(issue #2441).
v17.5.0
[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-Sqlcreate connection and server objects as per documentation.Invoke-SqlDscQueryremove disconnect as there is not an explicit connect.- Add SQL Server 2025 to integration tests (issue #2427).
- Refactor integration tests for SQL Server Reporting Services and Power BI
Fixed
- SqlServerDsc
- Fixed PowerShell Gallery badge URL in
README.mdto correctly show
prereleases (issue#2437).
- Fixed PowerShell Gallery badge URL in
v17.5.0-preview0001
[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-Sqlcreate connection and server objects as per documentation.Invoke-SqlDscQueryremove disconnect as there is not an explicit connect.- Add SQL Server 2025 to integration tests (issue #2427).
- Refactor integration tests for SQL Server Reporting Services and Power BI
Fixed
- SqlServerDsc
- Fixed PowerShell Gallery badge URL in
README.mdto correctly show
prereleases (issue#2437).
- Fixed PowerShell Gallery badge URL in
v17.4.1-preview0002
[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-Sqlcreate connection and server objects as per documentation.Invoke-SqlDscQueryremove disconnect as there is not an explicit connect.
- Refactor integration tests for SQL Server Reporting Services and Power BI
v17.4.1-preview0001
[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).
- Refactor integration tests for SQL Server Reporting Services and Power BI