Releases: microsoft/PSRule
Releases · microsoft/PSRule
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.
v2.8.0-B0076
What's changed since pre-release v2.8.0-B0034:
- Engineering:
- Bug fixes:
- Fixed problem binding when not set locally by @BernieWhite.
#1473
- Fixed problem binding when not set locally by @BernieWhite.
See change log.
v2.8.0-B0034
What's changed since 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
- Important change: Replaced
- Engineering:
- Bug fixes:
- Fixes handling of numerics in tests for that are impacted by regional format by @BernieWhite.
#1405
- Fixes handling of numerics in tests for that are impacted by regional format by @BernieWhite.
See change log.
v2.7.0
What's changed since v2.6.0:
- New features:
- Added API version date comparison assertion method and expression by @BernieWhite.
#1356 - Added support for new functions by @BernieWhite.
#1227- Added support for
trim
,replace
,split
,first
, andlast
.
- Added support for
- Added API version date comparison assertion method and expression by @BernieWhite.
- General improvements:
- Added support target scope by @BernieWhite.
#1350 - Added support for
hasValue
expression withscope
by @BernieWhite.
#1382 - Return target object scope as an array by @BernieWhite.
#1383 - Improve support of string comparisons to support an array of strings by @BernieWhite.
#1384 - Added help properties to rules from YAML/ JSON resources by @BernieWhite.
#1386
- Added support target scope by @BernieWhite.
- Engineering:
- Bug fixes:
- Fixed exception with comments in JSON baselines by @BernieWhite.
#1336 - Fixed handling of constrained language mode with PowerShell 7.3 by @BernieWhite.
#1348 - Fixed exception calling
RuleSource
value cannot be null by @BernieWhite.
#1343 - Fixed null reference for link property by @BernieWhite.
#1393 - Fixed reason are emitted for pre-condition sub-selectors by @BernieWhite.
#1394 - Fixed CLI failed to load required assemblies by @BernieWhite.
#1361 - Fixed CLI ignores modules specified in
Include.Modules
by @BernieWhite.
#1362 - Fixed job summary directory creation by @BernieWhite.
#1353 - Fixed same key for ref and name by @BernieWhite
#1354 - Fixed object path fails to iterate JSON object with wildcard selector by @BernieWhite.
#1376 - Fixed rule annotations are not included from YAML/ JSON definition by @BernieWhite.
#1378 - Fixed loop stuck parsing JSON
allOf
not
rule condition by @BernieWhite.
#1370 - Fixed handling of uint64 with
LessOrEqual
assertion method by @BernieWhite.
#1366
- Fixed exception with comments in JSON baselines by @BernieWhite.
What's changed since pre-release v2.7.0-B0126:
- No additional changes.
See change log.
v2.7.0-B0126
What's changed since pre-release v2.7.0-B0097:
- Bug fixes:
- Fixed null reference for link property by @BernieWhite.
#1393 - Fixed reason are emitted for pre-condition sub-selectors by @BernieWhite.
#1394
- Fixed null reference for link property by @BernieWhite.
See change log.
v2.7.0-B0097
What's changed since pre-release v2.7.0-B0070:
- General improvements:
- Added support for
hasValue
expression withscope
by @BernieWhite.
#1382 - Return target object scope as an array by @BernieWhite.
#1383 - Improve support of string comparisons to support an array of strings by @BernieWhite.
#1384 - Added help properties to rules from YAML/ JSON resources by @BernieWhite.
#1386
- Added support for
- Engineering:
See change log.
v2.7.0-B0070
What's changed since pre-release v2.7.0-B0049:
- Bug fixes:
- Fixed object path fails to iterate JSON object with wildcard selector by @BernieWhite.
#1376 - Fixed rule annotations are not included from YAML/ JSON definition by @BernieWhite.
#1378
- Fixed object path fails to iterate JSON object with wildcard selector by @BernieWhite.
See change log.