All notable changes to this extension will be documented in this file. This extension is available in two release channels for Visual Studio Code from the Visual Studio Marketplace. We recommend only installing one channel for the best experience. Installing both channels may cause unexpected behavior.
- Preview - More frequent releases but more likely to contain bugs.
- Preview is where updates are available before they released to Stable.
- This channel includes changes listed in the Unreleased heading.
- Versioning for Preview follows an
year.month.revision
that increments for each release.
- Stable - Less frequent releases, with more user testing, experimental features are disabled.
- Uses semantic versioning to declare changes.
- Aligned to versioning of PSRule.
Continue reading to see the changes included in the latest version.
What's changed since v2.9.0:
- New features
- Automatically acquire PSRule runtime components by @BernieWhite.
#1315
- PSRule runtime support is now included within the extension.
- Installing PSRule PowerShell module is no longer required for the extension to work.
- Automatically acquire PSRule runtime components by @BernieWhite.
#1315
- General improvements:
- Updated publisher to be under Microsoft by @BernieWhite. #1215
- Engineering:
- Bug fixes:
- Fixed notification of preview version by @BernieWhite. #1324
What's changed since v2.8.0:
- New features:
- Getting started walkthrough in Visual Studio Code is now generally available by @BernieWhite #1099
- CodeLens for open or editing documentation for a rule is now generally available by @BernieWhite #1139
- Added configuration to tune logging for excluded or suppressed rules by @BernieWhite.
#1068
- Use these options to reduce output noise when testing in Visual Studio Code.
- The
PSRule.execution.ruleExcluded
setting configures excluded rules. - The
PSRule.execution.ruleSuppressed
setting configures suppressed rules.
- Add running analysis to getting started walkthrough by @BernieWhite. #1093
- Important: Added support for new unprocessed object option by @BernieWhite.
#1127
- The
PSRule.execution.unprocessedObject
setting configures what happens when objects are not processed. - The
PSRule.execution.notProcessedWarning
setting has been deprecated inline with PSRule support. - For more information see deprecations.
- The
- Engineering:
What's changed since v2.7.0:
- Engineering:
- Updated PSRule schema files. #1060 #1062
- Bump vscode engine to v1.76.0. #1036
- Bump mocha to v10.2.0. #957
- Bump fs-extra to v11.1.1. #1058
- Bump glob to v8.1.0. #990
- Bump typescript to v5.0.2. #1053
- Bump minimist to v1.2.8. #1014
- Bump vscode-languageclient to v8.1.0. #1021
- Bump @vscode/test-electron to v2.3.0. #1035
What's changed since v2.6.0:
- General improvement:
- Update snippet versions and links by @BernieWhite #955
- Engineering:
- Bug fixes:
- Fixed extension badge URL by @BernieWhite. #981
What's changed since v2.5.0:
- Engineering:
What's changed since v2.4.0:
- General improvements:
- Engineering:
What's changed since v2.3.0:
- General improvements:
- Experimental: Added a walkthrough for getting started with PSRule by @BernieWhite.
#771
- Added steps for basic configuration and documentation.
- To use try this feature, install the preview channel with experimental features enabled.
- Experimental: Added a walkthrough for getting started with PSRule by @BernieWhite.
#771
- Engineering:
What's changed since v2.2.0:
- General improvements:
- Added configuration option for baseline by @BernieWhite.
#770
- Configure the default baseline in the extension settings.
- Baseline can be overridden using the
baseline
property on a PSRule task.
- Added configuration option for baseline by @BernieWhite.
#770
- Engineering:
What's changed since v2.1.0:
- General improvements:
- Added command to create options file by @BernieWhite.
#662
- From the command palette choose PSRule: Create options file.
- Added command to create options file by @BernieWhite.
#662
- Engineering:
What's changed since v2.0.0:
- New features:
- Experimental: CodeLens provides links to open or create rule documentation by @BernieWhite.
#227
- Link from rules allows markdown documentation to be created or edited.
- When existing markdown documentation exists, file is opened in editor.
- When documentation for a rule does not exist, a new file is created from a snippet.
- Added settings to configure the location for storing documentation, and the snippet used to create documentation.
- To use try this feature, install the preview channel with experimental features enabled.
- Experimental: CodeLens provides links to open or create rule documentation by @BernieWhite.
#227
- Engineering:
What's changed since v1.7.0:
- PSRule v2.0.0 support:
- General improvements:
- Engineering:
- Bug fixes:
- Fixed change syntax highlighting on PowerShell files. #495
What's changed since v1.6.0:
- General improvements:
- Engineering:
- Bump vscode engine to v1.64.0. #586
What's changed since v1.5.0:
- General improvements:
- Added
hasSchema
language expression. #520
- Added
- Engineering:
- Bump vscode engine to v1.63.0. #508
What's changed since v1.4.0:
- General improvements:
- Added
Rule.Baseline
option configuration the default baseline with module configuration. #475 - Added support for resources within
.Rule.json
,.Rule.jsonc
, and.Rule.yml
files. #476 - Configured workspace trust.
#304
- Currently the extension relies on PowerShell which only works when the workspace is trusted.
- Added
- Engineering:
- Bump vscode engine to v1.62.0. #473
What's changed since v1.3.0:
- General improvements:
- Added options schema to support additional options.
#395
#451
- Added support for
Input.IgnoreRepositoryCommon
,Output.Footer
,Output.JsonIndent
, andRule.IncludeLocal
.
- Added support for
- Added expressions improvements:
#452
- Added
SetOf
,Subset
, andCount
set conditions. - Added
name
, andtype
properties toExpression
objects.
- Added
- Added options schema to support additional options.
#395
#451
- Engineering:
- Bump vscode engine to v1.61.0. #432
What's changed since v1.2.0:
- General improvements:
- Engineering:
- Bump vscode engine to v1.59.0. #358
What's changed since v1.1.0:
- General improvements:
- Engineering:
- Bump vscode engine to v1.58.1. #325
What's changed since v1.0.0:
- New features:
- Added
PSRule: Run analysis
quick task to callAssert-PSRule
for the current workspace. #226- To configure set
path
,inputPath
,baseline
,module
, andoutcome
per task. - The default task will run analysis in the current workspace using rules in
.ps-rule/
. - Requires v1.4.0 or greater of PSRule PowerShell module installed.
- To configure set
- Added
$PSRule
problem matcher for analysis tasks. #234- Source locations for rules failures are detected when using the
VisualStudioCode
style.
- Source locations for rules failures are detected when using the
- Added
- General improvements:
- Engineering:
- Bump vscode engine to v1.56.0. #241
What's changed since v0.18.0:
- General improvements:
- Engineering:
What's changed since v0.17.0:
- General improvements:
- Engineering:
- Bump vscode engine to v1.55.0. #204
What's changed since v0.16.0:
- General improvements:
- Migrate repository to Microsoft GitHub org. #152
- Engineering:
- Bump vscode engine to v1.52.0.
What's changed since v0.15.0:
- General improvements:
- Engineering:
- Bump vscode engine to v1.50.0.
What's changed since v0.14.0:
- General improvements:
- Engineering:
- Bump vscode engine to v1.49.0.
What's changed since v0.13.0:
- General improvements:
- Updated options schema to v0.19.0. #87
What's changed since v0.12.0:
- New features:
- Added snippet for ModuleConfig resource. #75
- General improvements:
- Updated language schema to v0.17.0. #73
What's changed since v0.11.0:
- General improvements:
- Updated options schema to v0.16.0. #68
What's changed since v0.10.0:
- General improvements:
- Updated options schema to v0.14.0. #63
What's changed since v0.9.0:
- General improvements:
What's changed since v0.8.0:
- General improvements:
- Updated schemas to v0.12.0. #54
What's changed since v0.7.0:
- General improvements:
- Updated options schema to v0.11.0. #49
What's changed since v0.6.0:
- General improvements:
- Updated options schema to v0.10.0. #44
What's changed since v0.5.0:
- New features:
- General improvements:
- Updated options schema to v0.9.0. #38
What's changed since v0.4.0:
- New features:
- Added snippet and syntax support for Reason keyword. #32
- General improvements:
- Updated options schema to v0.8.0. #31
What's changed since v0.3.0:
- General improvements:
- Updated options schema to v0.7.0. #26
What's changed since v0.2.0:
- New features:
What's changed since v0.1.0:
- General improvements:
- Updated options schema to v0.5.0. #12
- Bug fixes:
- Initial release.