Skip to content

Releases: microsoft/PSRule

v2.9.0

08 Jun 12:49
24eda55
Compare
Choose a tag to compare

What's changed since release v2.8.1:

  • New features:
    • Added sub-selector quantifiers for allOf or anyOf operators by @BernieWhite.
      #1423
      • Quantifiers allow you to specify the number of matches with count, less, lessOrEqual, greater, or greaterOrEqual.
      • See Sub-selectors for more information.
    • Added support for new functions by @BernieWhite.
      #1422
      • Added support for padLeft, and padRight.
    • 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.
  • 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, or Debug.
      • Execution.AliasReferenceWarning is replaced with Execution.AliasReference.
      • Execution.InconclusiveWarning is replaced with Execution.RuleInconclusive.
      • Execution.InvariantCultureWarning is replaced with Execution.InvariantCulture.
      • Execution.NotProcessedWarning is replaced with Execution.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.
    • Improved schema display names by @BernieWhite.
      #1488
  • Engineering:
    • Bump Pester to v5.4.1.
      #1510
    • Bump Microsoft.NET.Test.Sdk to v17.6.2.
      #1544
    • Bump Microsoft.CodeAnalysis.Common to v4.6.0.
      #1534
  • Bug fixes:

What's changed since pre-release v2.9.0-B0068:

  • No additional changes.

See change log.

v2.9.0-B0068

06 Jun 23:34
ed4a978
Compare
Choose a tag to compare
v2.9.0-B0068 Pre-release
Pre-release

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.
  • General improvements:
  • Engineering:
    • Bump Microsoft.NET.Test.Sdk to v17.6.2.
      #1544
    • Bump Microsoft.CodeAnalysis.Common to v4.6.0.
      #1534
  • Bug fixes:
    • Fixed include local not automatically being enabled for default module baseline by @BernieWhite.
      #1506

See change log.

v2.9.0-B0033

07 May 04:20
ad260dd
Compare
Choose a tag to compare
v2.9.0-B0033 Pre-release
Pre-release

What's changed since pre-release v2.9.0-B0013:

  • New features:
    • Added sub-selector quantifiers for allOf or anyOf operators by @BernieWhite.
      #1423
      • Quantifiers allow you to specify the number of matches with count, less, lessOrEqual, greater, or greaterOrEqual.
      • See Sub-selectors for more information.
    • Added support for new functions by @BernieWhite.
      #1422
      • Added support for padLeft, and padRight.

See change log.

v2.9.0-B0013

23 Apr 12:39
3206b39
Compare
Choose a tag to compare
v2.9.0-B0013 Pre-release
Pre-release

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, or Debug.
      • Execution.AliasReferenceWarning is replaced with Execution.AliasReference.
      • Execution.InconclusiveWarning is replaced with Execution.RuleInconclusive.
      • Execution.InvariantCultureWarning is replaced with Execution.InvariantCulture.
      • Execution.NotProcessedWarning is replaced with Execution.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.
    • Improved schema display names by @BernieWhite.
      #1488
  • Engineering:
    • Bump Pester to v5.4.1.
      #1510
    • Bump Microsoft.CodeAnalysis.Common to v4.5.0.
      #1455
  • Bug fixes:

See change log.

v2.8.1

07 Apr 07:23
d5c86be
Compare
Choose a tag to compare

What's changed since release v2.8.0:

See change log.

v2.8.0

27 Mar 13:52
9d6e8e6
Compare
Choose a tag to compare

What's changed since release v2.7.0:

  • General improvements:
    • Important change: Replaced SuppressedRuleWarning execution option with RuleSuppressed by @BernieWhite.
      #1456
      • Improved options for output of suppressed rules with RuleSuppressed option.
      • Deprecated SuppressedRuleWarning option, which will be removed in v3.
    • 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.
    • Added support for case sensitivity matching with match and notMatch expressions by @BernieWhite.
      #1480
  • 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
  • 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

What's changed since pre-release v2.8.0-B0171:

  • No additional changes.

See change log.

v2.8.0-B0171

25 Mar 08:43
8222899
Compare
Choose a tag to compare
v2.8.0-B0171 Pre-release
Pre-release

What's changed since pre-release v2.8.0-B0121:

  • General improvements:
    • Added support for case sensitivity matching with match and notMatch expressions by @BernieWhite.
      #1480
  • Bug fixes:
    • Fixed no output with using job summary with as summary by @BernieWhite.
      #1483
      • Fixed output and added error for unsupported scenarios.

See change log.

v2.8.0-B0121

17 Mar 14:57
e8f1d43
Compare
Choose a tag to compare
v2.8.0-B0121 Pre-release
Pre-release

What's changed since pre-release v2.8.0-B0076:

See change log.

v2.8.0-B0076

12 Mar 15:43
007cbc2
Compare
Choose a tag to compare
v2.8.0-B0076 Pre-release
Pre-release

What's changed since pre-release v2.8.0-B0034:

  • Engineering:
    • Bump Newtonsoft.Json to v13.0.3.
      #1467
    • Bump Microsoft.CodeAnalysis.NetAnalyzers to v7.0.1.
      #1468
  • Bug fixes:

See change log.

v2.8.0-B0034

02 Mar 05:45
bfc501d
Compare
Choose a tag to compare
v2.8.0-B0034 Pre-release
Pre-release

What's changed since v2.7.0:

  • General improvements:
    • Important change: Replaced SuppressedRuleWarning execution option with RuleSuppressed by @BernieWhite.
      #1456
      • Improved options for output of suppressed rules with RuleSuppressed option.
      • Deprecated SuppressedRuleWarning option, which will be removed in v3.
    • 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.
  • Engineering:
    • Bump Pester to v5.4.0.
      #1414
    • Bump Microsoft.CodeAnalysis.NetAnalyzers to v7.0.0.
      #1374
      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
  • Bug fixes:
    • Fixes handling of numerics in tests for that are impacted by regional format by @BernieWhite.
      #1405

See change log.