What's changed since pre-release v3.0.0-B0351:
- New features:
- Simplify type conditions for selectors and suppression groups with 2025-01-01 API by @BernieWhite.
#2702- A precondition
type
property has been added to selectors and suppression groups. - This simplifies type conditions that are common used in selectors and suppression groups.
- To use this feature, set the
apiVersion
togithub.com/microsoft/PSRule/2025-01-01
.
- A precondition
- Add support for declaring required capabilities in workspaces and modules by @BernieWhite.
#2707- A module or workspace can declare required capabilities that must be supported by the runtime.
- When a capability is not supported or disabled, the runtime will fail with a specific error.
- This provides a way to ensure that rules execute consistently across environments.
- Simplify type conditions for selectors and suppression groups with 2025-01-01 API by @BernieWhite.
- General improvements:
- Added support for registering custom emitters by @BernieWhite.
#2681
- Added support for registering custom emitters by @BernieWhite.
- Engineering:
- Migrate samples into PSRule repository by @BernieWhite.
#2614
- Migrate samples into PSRule repository by @BernieWhite.
- Bug fixes:
- Fixed string formatting of semantic version and constraints by @BernieWhite.
#1828 - Fixed directory handling of input paths without trailing slash by @BernieWhite.
#1842 - Fixed duplicate reasons are reported for the same rule by @BernieWhite.
#2553 - Fixed JSON output format returns exception when no results are produced by @BernieWhite.
#1832 - Fixed path navigation with XML nodes by @BernieWhite.
#1518 - Fixed CLI output format argument not working by @BernieWhite.
#2699
- Fixed string formatting of semantic version and constraints by @BernieWhite.
See change log.