Skip to content

Releases: microsoft/PSRule

v3.0.0-B0203

24 May 16:11
884f6b6
Compare
Choose a tag to compare
v3.0.0-B0203 Pre-release
Pre-release

What's changed since pre-release v3.0.0-B0198:

  • New features:
    • Breaking change: Simplify handling of inputs from files using emitters by @BernieWhite.
      #1179
      • Files are automatically read from input paths and emitted as objects to the pipeline.
      • Emitter interface can be used to implement custom file readers and expansion of custom file types.
      • The File and Detect input formats are no longer required and have been removed.
      • Processing files and objects with rules is no longer recommended, and disabled by default.
      • The Input.FileObjects can be set to true to enable processing of files as objects with rules.
  • Engineering:
    • Bump Microsoft.NET.Test.Sdk to v17.10.0.
      #1826
  • Bug fixes:

See change log.

v3.0.0-B0198

18 May 06:08
2ae3ef7
Compare
Choose a tag to compare
v3.0.0-B0198 Pre-release
Pre-release

What's changed since pre-release v3.0.0-B0153:

  • Engineering:
    • Bump System.Drawing.Common to v8.0.5.
      #1817
    • Bump Bump xunit to v2.8.0.
      #1809
    • Bump xunit.runner.visualstudio to v2.8.0.
      #1808
    • Bump YamlDotNet to v15.1.4.
      #1816
    • Bump Microsoft.CodeAnalysis.Common to v4.9.2.
      #1773
  • Bug fixes:

See change log.

v3.0.0-B0153

14 Feb 03:51
e6d8214
Compare
Choose a tag to compare
v3.0.0-B0153 Pre-release
Pre-release

What's changed since pre-release v3.0.0-B0151:

See change log.

v3.0.0-B0151

13 Feb 07:19
fc1e550
Compare
Choose a tag to compare
v3.0.0-B0151 Pre-release
Pre-release

What's changed since pre-release v3.0.0-B0141:

  • General improvements:
  • Engineering:
    • Breaking change: Bump development tools to .NET 8.0 SDK by @BernieWhite.
      #1673
      • Running PSRule from PowerShell 7.x is supported on 7.4 and above.
      • Running PSRule from Windows PowerShell 5.1 is still supported but deprecated and will be removed in PSRule v4.
    • Bump Microsoft.NET.Test.Sdk to v17.9.0.
      #1752
  • Bug fixes:

See change log.

v3.0.0-B0141

27 Jan 07:23
48cf81f
Compare
Choose a tag to compare
v3.0.0-B0141 Pre-release
Pre-release

What's changed since pre-release v3.0.0-B0137:

  • General improvements:
    • SARIF output has been improved to include effective configuration from a run by @BernieWhite.
      #1739
    • SARIF output has been improved to include file hashes for source files from a run by @BernieWhite.
      #1740
    • Added support to allow disabling PowerShell features that can be run from a repository by @BernieWhite.
      #1742
      • Added the Execution.RestrictScriptSource option to disable running scripts from a repository.
  • Engineering:
    • Bump YamlDotNet to v15.1.0.
      #1737

See change log.

v3.0.0-B0137

16 Jan 23:41
e30d754
Compare
Choose a tag to compare
v3.0.0-B0137 Pre-release
Pre-release

What's changed since pre-release v3.0.0-B0122:

  • General improvements:
    • Breaking change: Moved the restore command to a sub-command of module by @BernieWhite.
      #1730
      • The functionality of the restore command is now available as module restore.
    • Added CLI commands to list and report status of locked modules by @BernieWhite.
      #1729
      • Added module init sub-command to initialize the lock file from configured options.
      • Added module list sub-command to list locked and unlocked modules associated with the workspace.
      • Added version property to the lock file schema to support versioning of the lock file.
  • Engineering:
    • Bump BenchmarkDotNet to v0.13.12.
      #1725
    • Bump BenchmarkDotNet.Diagnostics.Windows to v0.13.12.
      #1728
    • Bump xunit to v2.6.6.
      #1732
    • Bump xunit.runner.visualstudio to v2.5.6.
      #1717
    • Bump System.Drawing.Common to v8.0.1.
      #1727

See change log.

v3.0.0-B0122

21 Dec 14:33
796af43
Compare
Choose a tag to compare
v3.0.0-B0122 Pre-release
Pre-release

What's changed since pre-release v3.0.0-B0093:

  • General improvements:
  • Engineering:
    • Bump xunit to v2.6.3.
      #1699
    • Bump xunit.runner.visualstudio to v2.5.5.
      #1700
    • Bump Microsoft.NET.Test.Sdk to v17.8.0.
      #1659
    • Bump Microsoft.CodeAnalysis.NetAnalyzers to v8.0.0.
      #1674
    • Bump Microsoft.CodeAnalysis.Common to v4.8.0.
      #1686
    • Bump BenchmarkDotNet to v0.13.11.
      #1694
    • Bump BenchmarkDotNet.Diagnostics.Windows to v0.13.11.
      #1697

See change log.

v3.0.0-B0093

22 Nov 04:13
a3055ec
Compare
Choose a tag to compare
v3.0.0-B0093 Pre-release
Pre-release

What's changed since pre-release v3.0.0-B0084:

  • Engineering:
    • Bump xunit to v2.6.1.
      #1656
    • Bump System.Drawing.Common to v8.0.0.
      #1669
  • Bug fixes:

See change log.

v3.0.0-B0084

12 Nov 03:18
3db1546
Compare
Choose a tag to compare
v3.0.0-B0084 Pre-release
Pre-release

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.
  • 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.
  • 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

See change log.

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.