What's changed since v2.1.0:
- New features:
- Added
notCount
expression and assertion helper by @ArmaanMcleod.
#1091
- Added
- General improvements:
- Improved reporting of the object path that caused rule failures by @BernieWhite.
#1092- Output includes a new
Detail
property with details of the reason and the object path. - Custom methods
ReasonFrom
andReasonIf
accept apath
parameter to specify the object path.
- Output includes a new
- Added informational message when output has been written to disk by @BernieWhite.
#1074- The
Output.Footer
option now supportsOutputFile
which reports the output file path.
This is enabled by default.
- The
- Added descendant selector to object path syntax by @BernieWhite.
#1133- Use
..
to traverse into child objects, for example$..name
finds names for all nested objects.
- Use
- Improved reporting of the object path that caused rule failures by @BernieWhite.
- Engineering:
- Bump Newtonsoft.Json to 13.0.1.
#1137 - Added more object path tests by @ArmaanMcleod.
#1110 - Bump xunit.runner.visualstudio to 2.4.5.
#1084 - Bump Pester to 5.3.3.
#1079 - Bump Microsoft.NET.Test.Sdk to 17.2.0.
#1089 - Added NuGet packaging publishing by @BernieWhite.
#1093 - Updated NuGet packaging metadata by @BernieWhite.
#1093
- Bump Newtonsoft.Json to 13.0.1.
- Bug fixes:
- Fixed output of reason with wide format by @BernieWhite.
#1117 - Fixed piped input does not respect excluded paths by @BernieWhite.
#1114- By default, objects are not excluded by source.
- To exclude piped input based on source configure the
Input.IgnoreObjectSource
option.
- Fixed issue building a PSRule project by removing PSRule.psd1 from compile target by @BernieWhite.
#1140 - Fixed grouping of logical operators in object path by @BernieWhite.
#1101
- Fixed output of reason with wide format by @BernieWhite.
What's changed since pre-release v2.2.0-B0175:
- No additional changes.
See change log