22 KiB
Change log
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.
Unreleased
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:
- Updated PSRule schema files. #1209 #1261 #1314 #1330 #1344
- Bump vscode engine to v1.92.0. #1469
- Bump typescript to v5.4.5. #1396
- Bump @vscode/test-electron to v2.4.1. #1468
- Bump @vscode/vsce to v2.31.1. #1478
- Bump glob to v11.0.0. #1470
- Bump vscode-languageclient to v9.0.1. #1252
- Bump fs-extra to v11.2.0. #1298
- Bug fixes:
- Fixed notification of preview version by @BernieWhite. #1324
v2.9.0
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:
v2.8.0
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
v2.7.0
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
v2.6.0
What's changed since v2.5.0:
- Engineering:
v2.5.0
What's changed since v2.4.0:
- General improvements:
- Engineering:
v2.4.0
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:
v2.3.0
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:
v2.2.0
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:
v2.1.0
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:
v2.0.0
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
v1.7.0
What's changed since v1.6.0:
- General improvements:
- Engineering:
- Bump vscode engine to v1.64.0. #586
v1.6.0
What's changed since v1.5.0:
- General improvements:
- Added
hasSchema
language expression. #520
- Added
- Engineering:
- Bump vscode engine to v1.63.0. #508
v1.5.0
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
v1.4.0
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
v1.3.0
What's changed since v1.2.0:
- General improvements:
- Engineering:
- Bump vscode engine to v1.59.0. #358
v1.2.0
What's changed since v1.1.0:
- General improvements:
- Engineering:
- Bump vscode engine to v1.58.1. #325
v1.1.0
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
v1.0.0
What's changed since v0.18.0:
- General improvements:
- Engineering:
v0.18.0
What's changed since v0.17.0:
- General improvements:
- Engineering:
- Bump vscode engine to v1.55.0. #204
v0.17.0
What's changed since v0.16.0:
- General improvements:
- Migrate repository to Microsoft GitHub org. #152
- Engineering:
- Bump vscode engine to v1.52.0.
v0.16.0
What's changed since v0.15.0:
- General improvements:
- Engineering:
- Bump vscode engine to v1.50.0.
v0.15.0
What's changed since v0.14.0:
- General improvements:
- Engineering:
- Bump vscode engine to v1.49.0.
v0.14.0
What's changed since v0.13.0:
- General improvements:
- Updated options schema to v0.19.0. #87
v0.13.0
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
v0.12.0
What's changed since v0.11.0:
- General improvements:
- Updated options schema to v0.16.0. #68
v0.11.0
What's changed since v0.10.0:
- General improvements:
- Updated options schema to v0.14.0. #63
v0.10.0
What's changed since v0.9.0:
- General improvements:
v0.9.0
What's changed since v0.8.0:
- General improvements:
- Updated schemas to v0.12.0. #54
v0.8.0
What's changed since v0.7.0:
- General improvements:
- Updated options schema to v0.11.0. #49
v0.7.0
What's changed since v0.6.0:
- General improvements:
- Updated options schema to v0.10.0. #44
v0.6.0
What's changed since v0.5.0:
- New features:
- General improvements:
- Updated options schema to v0.9.0. #38
v0.5.0
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
v0.4.0
What's changed since v0.3.0:
- General improvements:
- Updated options schema to v0.7.0. #26
v0.3.0
What's changed since v0.2.0:
- New features:
v0.2.0
What's changed since v0.1.0:
- General improvements:
- Updated options schema to v0.5.0. #12
- Bug fixes:
v0.1.0
- Initial release.