Releases: microsoft/PSRule
Releases · microsoft/PSRule
v3.0.0-B0093
What's changed since pre-release v3.0.0-B0084:
- Engineering:
- Bug fixes:
- Fixed CLI IndexOutOfRangeException with lock file by @BernieWhite.
#1676
- Fixed CLI IndexOutOfRangeException with lock file by @BernieWhite.
See change log.
v3.0.0-B0084
What's changed since release v2.9.0:
- New features:
- Added lock file support when using CLI and related tools by @BernieWhite.
#1660- The lock file used used during analysis and when installing modules to select a specific version.
- Added lock file support when using CLI and related tools by @BernieWhite.
- General improvements:
- Breaking change: Switch to use SHA-512 for generating unbound objects by @BernieWhite.
#1155- Objects that have no bound name will automatically be assigned a name based on the SHA-512 hash of the object.
- Previously a SHA-1 hash was used, however this is no longer considered secure.
- The name for unbound objects that are suppressed will change as a result.
- Additionally the hash can be changed by setting the
Execution.HashAlgorithm
option.
- Breaking change: Removed deprecated execution options by @BernieWhite.
#1457 - Breaking change: Removed deprecated object properties by @BernieWhite.
#1601 - Expanded support for
FileHeader
assertion by @BernieWhite.
#1521- Added support for
.bicepparam
,.tsp
,.tsx
,.editorconfig
,.ipynb
, and.toml
files.
- Added support for
- Breaking change: Switch to use SHA-512 for generating unbound objects by @BernieWhite.
- Engineering:
- Breaking change: Bump development tools to .NET 7.0 SDK by @BernieWhite.
#1631- Running PSRule from PowerShell 7.x is supported on 7.3 and above.
- Running PSRule from Windows PowerShell 5.1 is still supported but deprecated and will be removed in PSRule v4.
- Bump Microsoft.CodeAnalysis.NetAnalyzers to v7.0.4.
#1602 - Bump Microsoft.CodeAnalysis.Common to v4.7.0.
#1593 - Bump Microsoft.NET.Test.Sdk to v17.7.2.
#1608 - Bump YamlDotNet to v13.7.1.
#1647 - Bump xunit to v2.5.3.
#1648 - Bump xunit.runner.visualstudio to v2.5.3.
#1644 - Bump BenchmarkDotNet to v0.13.10.
#1654 - Bump BenchmarkDotNet.Diagnostics.Windows to v0.13.10.
#1654
- Breaking change: Bump development tools to .NET 7.0 SDK by @BernieWhite.
See change log.
v2.9.0
What's changed since release v2.8.1:
- New features:
- Added sub-selector quantifiers for
allOf
oranyOf
operators by @BernieWhite.
#1423- Quantifiers allow you to specify the number of matches with
count
,less
,lessOrEqual
,greater
, orgreaterOrEqual
. - See Sub-selectors for more information.
- Quantifiers allow you to specify the number of matches with
- Added support for new functions by @BernieWhite.
#1422- Added support for
padLeft
, andpadRight
.
- Added support for
- Experimental: Added support for baseline groups by @BernieWhite.
#1541- Baseline groups allow you to reference a baseline by a friendly name.
- Update the baseline group to point to a new baseline.
- Currently only a single baseline can be referenced by a baseline group.
- See baselines for more information.
- Added sub-selector quantifiers for
- General improvements:
- Added style and improved handling for restore command by @BernieWhite.
#1152 - Important change: Rename of execution options by @BernieWhite.
#1456- Renamed options allow configuration of output level as
Ignore
,Warn
,Error
, orDebug
. Execution.AliasReferenceWarning
is replaced withExecution.AliasReference
.Execution.InconclusiveWarning
is replaced withExecution.RuleInconclusive
.Execution.InvariantCultureWarning
is replaced withExecution.InvariantCulture
.Execution.NotProcessedWarning
is replaced withExecution.UnprocessedObject
.- Deprecated
AliasReferenceWarning
option, which will be removed in v3. - Deprecated
InconclusiveWarning
option, which will be removed in v3. - Deprecated
InvariantCultureWarning
option, which will be removed in v3. - Deprecated
NotProcessedWarning
option, which will be removed in v3.
- Renamed options allow configuration of output level as
- Improved schema display names by @BernieWhite.
#1488
- Added style and improved handling for restore command by @BernieWhite.
- Engineering:
- Bug fixes:
- Fixed tool output on access denied to path by @BernieWhite.
#1490 - Fixed tool exit code on error or failure by @BernieWhite.
#1491 - Fixed include local not automatically being enabled for default module baseline by @BernieWhite.
#1506
- Fixed tool output on access denied to path by @BernieWhite.
What's changed since pre-release v2.9.0-B0068:
- No additional changes.
See change log.
v2.9.0-B0068
What's changed since pre-release v2.9.0-B0033:
- New features:
- Experimental: Added support for baseline groups by @BernieWhite.
#1541- Baseline groups allow you to reference a baseline by a friendly name.
- Update the baseline group to point to a new baseline.
- Currently only a single baseline can be referenced by a baseline group.
- See baselines for more information.
- Experimental: Added support for baseline groups by @BernieWhite.
- General improvements:
- Added style and improved handling for restore command by @BernieWhite.
#1152
- Added style and improved handling for restore command by @BernieWhite.
- Engineering:
- Bug fixes:
- Fixed include local not automatically being enabled for default module baseline by @BernieWhite.
#1506
- Fixed include local not automatically being enabled for default module baseline by @BernieWhite.
See change log.
v2.9.0-B0033
What's changed since pre-release v2.9.0-B0013:
- New features:
- Added sub-selector quantifiers for
allOf
oranyOf
operators by @BernieWhite.
#1423- Quantifiers allow you to specify the number of matches with
count
,less
,lessOrEqual
,greater
, orgreaterOrEqual
. - See Sub-selectors for more information.
- Quantifiers allow you to specify the number of matches with
- Added support for new functions by @BernieWhite.
#1422- Added support for
padLeft
, andpadRight
.
- Added support for
- Added sub-selector quantifiers for
See change log.
v2.9.0-B0013
What's changed since release v2.8.1:
- General improvements:
- Important change: Rename of execution options by @BernieWhite.
#1456- Renamed options allow configuration of output level as
Ignore
,Warn
,Error
, orDebug
. Execution.AliasReferenceWarning
is replaced withExecution.AliasReference
.Execution.InconclusiveWarning
is replaced withExecution.RuleInconclusive
.Execution.InvariantCultureWarning
is replaced withExecution.InvariantCulture
.Execution.NotProcessedWarning
is replaced withExecution.UnprocessedObject
.- Deprecated
AliasReferenceWarning
option, which will be removed in v3. - Deprecated
InconclusiveWarning
option, which will be removed in v3. - Deprecated
InvariantCultureWarning
option, which will be removed in v3. - Deprecated
NotProcessedWarning
option, which will be removed in v3.
- Renamed options allow configuration of output level as
- Improved schema display names by @BernieWhite.
#1488
- Important change: Rename of execution options by @BernieWhite.
- Engineering:
- Bug fixes:
- Fixed tool output on access denied to path by @BernieWhite.
#1490 - Fixed tool exit code on error or failure by @BernieWhite.
#1491
- Fixed tool output on access denied to path by @BernieWhite.
See change log.
v2.8.1
What's changed since release v2.8.0:
- Bug fixes:
- Fixed wrong message for excluded rules by @BernieWhite.
#1493 - Fixed job summary reports completed time by @BernieWhite.
#1492
- Fixed wrong message for excluded rules by @BernieWhite.
See change log.
v2.8.0
What's changed since release v2.7.0:
- General improvements:
- Important change: Replaced
SuppressedRuleWarning
execution option withRuleSuppressed
by @BernieWhite.
#1456- Improved options for output of suppressed rules with
RuleSuppressed
option. - Deprecated
SuppressedRuleWarning
option, which will be removed in v3.
- Improved options for output of suppressed rules with
- Added support for logging excluded rules by @BernieWhite.
#1432 - Added additional options to schema for PSRule for Azure by @BernieWhite.
#1446 - Improved error message for failing to read options file by @BernieWhite.
#1433 - Added support for import within initialize block by @BernieWhite.
#1448 - Added support for direct typing on import by @BernieWhite.
#1449- Use the
$PSRule.ImportWithType
method to import an object with a specific type.
- Use the
- Added support for case sensitivity matching with
match
andnotMatch
expressions by @BernieWhite.
#1480
- Important change: Replaced
- Engineering:
- Bump Pester to v5.4.0.
#1414
Bump Microsoft.CodeAnalysis.Common to v4.4.0.
#1341 - Bump BenchmarkDotNet to v0.13.5.
#1413 - Bump BenchmarkDotNet.Diagnostics.Windows to v0.13.5.
#1413 - Bump Microsoft.NET.Test.Sdk to v17.5.0.
#1442 - Bump Newtonsoft.Json to v13.0.3.
#1467 - Bump Microsoft.CodeAnalysis.NetAnalyzers to v7.0.1.
#1468
- Bump Pester to v5.4.0.
- Bug fixes:
- Fixes handling of numerics in tests for that are impacted by regional format by @BernieWhite.
#1405 - Fixed no output with using job summary with as summary by @BernieWhite.
#1483- Fixed output and added error for unsupported scenarios.
- Fixed LocalizedData is not exposed to if pre-conditions by @BernieWhite.
#1083 - Fixed LocalizedData is not exposed to conventions by @BernieWhite.
#1477 - Fixed problem binding when not set locally by @BernieWhite.
#1473
- Fixes handling of numerics in tests for that are impacted by regional format by @BernieWhite.
What's changed since pre-release v2.8.0-B0171:
- No additional changes.
See change log.
v2.8.0-B0171
What's changed since pre-release v2.8.0-B0121:
- General improvements:
- Added support for case sensitivity matching with
match
andnotMatch
expressions by @BernieWhite.
#1480
- Added support for case sensitivity matching with
- Bug fixes:
- Fixed no output with using job summary with as summary by @BernieWhite.
#1483- Fixed output and added error for unsupported scenarios.
- Fixed no output with using job summary with as summary by @BernieWhite.
See change log.
v2.8.0-B0121
What's changed since pre-release v2.8.0-B0076:
- Bug fixes:
- Fixed LocalizedData is not exposed to if pre-conditions by @BernieWhite.
#1083 - Fixed LocalizedData is not exposed to conventions by @BernieWhite.
#1477
- Fixed LocalizedData is not exposed to if pre-conditions by @BernieWhite.
See change log.