PSRule-vscode/CHANGELOG.md

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.

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.
  • 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.
  • Engineering:
    • Updated PSRule schema files. #1092 #1110 #1125 #1156
    • Bump vscode engine to v1.78.1. #1146
    • Bump typescript to v5.1.3. #1152
    • Bump and rename vsce package to @vscode/vsce v2.19.0 by @BernieWhite. #1090
    • Bump @vscode/test-electron to v2.3.2. #1124

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:
    • Updated PSRule schema files. #933
    • Bump vscode engine to v1.74.0. #952
    • Bump fs-extra to v11.1.0. #939
    • Bump vsce to v2.15.0. #943
    • Bump typescript to v4.9.4. #954
    • Bump @vscode/test-electron to v2.2.1. #946
  • Bug fixes:
    • Fixed extension badge URL by @BernieWhite. #981

v2.6.0

What's changed since v2.5.0:

  • Engineering:
    • Updated PSRule schema files. #920
    • Bump vscode engine to v1.73.1. #922
    • Bump vsce to v2.14.0. #916
    • Bump @vscode/test-electron to v2.2.0. #902
    • Bump typescript to v4.9.3. #925

v2.5.0

What's changed since v2.4.0:

  • General improvements:
    • Added starter pipeline snippet for Azure Pipelines by @BernieWhite. #851
    • Added a warning when multiple channels are installed by @BernieWhite. #870
      • Installing both the Preview and Stable channels is not supported and may cause issues.
  • Engineering:
    • Updated PSRule schema files. #844 #863
    • Bump vscode engine to v1.71.0. #843
    • Bump typescript to v4.8.4. #873

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.
  • Engineering:
    • Updated PSRule schema files. #812
    • Bump vscode engine to v1.70.0. #800
    • Bump vsce to v2.10.2. #821
    • Bump typescript to v4.8.2. #830

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.
  • Engineering:
    • Updated PSRule schema files. #767
    • Bump vscode-languageclient v8.0.2. #777
    • Bum vscode engine to v1.69.1. #797

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.
  • Engineering:
    • Bump vscode engine to v1.68.1. #753
    • Bump vscode-languageclient from v8.0.1. #703
    • Updated PSRule schema files. #743

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.
  • Engineering:
    • Bump fs-extra to v10.1.0. #670
    • Updated PSRule schema files. #688

v2.0.0

What's changed since v1.7.0:

  • PSRule v2.0.0 support:
    • Added resource snippets for Suppression Groups. #588
    • Updated schema to support Suppression Groups. #574
    • Updated schema to support convert and case sensitive properties. #626 #630
    • Updated schema to support improved validation of resource names. #638
  • General improvements:
    • Added resource snippets for JSON and JSONC files. #477
    • Improved compatibility with PowerShell extension. #607
      • Supports either PowerShell or PowerShell Preview installed for running tasks.
      • If PowerShell extension is not installed or enabled, basic functions are still available.
  • Engineering:
    • Added workflow to sync PSRule schemas. #592
    • Bump vscode engine to v1.66.0. #653
  • Bug fixes:
    • Fixed change syntax highlighting on PowerShell files. #495

v1.7.0

What's changed since v1.6.0:

  • General improvements:
    • Added version language expression. #539
    • Added hasDefault language expression. #540
  • 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
  • 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.
  • 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, and Rule.IncludeLocal.
    • Added expressions improvements: #452
      • Added SetOf, Subset, and Count set conditions.
      • Added name, and type properties to Expression objects.
  • Engineering:
    • Bump vscode engine to v1.61.0. #432

v1.3.0

What's changed since v1.2.0:

  • General improvements:
    • Added YAML Rule support to language schema. #361
    • Added starter snippet for GitHub Actions workflow. #362
    • Updated options schema to support include option within PSRule v1.6.0. #363
  • Engineering:
    • Bump vscode engine to v1.59.0. #358

v1.2.0

What's changed since v1.1.0:

  • General improvements:
    • Updated extension to latest icon. #356
    • Added string selector support to language schema. #327
    • Updated options schema to support PSRule v1.5.0. #328
  • 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 call Assert-PSRule for the current workspace. #226
      • To configure set path, inputPath, baseline, module, and outcome 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.
    • Added $PSRule problem matcher for analysis tasks. #234
      • Source locations for rules failures are detected when using the VisualStudioCode style.
  • General improvements:
    • Preview channel will notify that a stable version is available. #235
    • Added PSRule options schema support updates.
      • Added Output.Banner option. #264
      • Improved validation for the requires option. #265
      • Added support for new style options VisualStudioCode and Detect. #266
  • Engineering:
    • Bump vscode engine to v1.56.0. #241

v1.0.0

What's changed since v0.18.0:

  • General improvements:
    • Added support for input.ignoreGitPath option. #231
    • Added feature documentation. #151
  • Engineering:
    • Split extension into two release channels, Preview and Stable. #150
      • Preview channel appears as PSRule (Preview), with stable appearing as PSRule. #229
    • Improved extension performance and size by bundling. #222

v0.18.0

What's changed since v0.17.0:

  • General improvements:
    • Added support for configuring conventions. #199
    • Added support for selectors. #206
    • Updated options and language schema to support binding.preferTargetInfo option. #207
    • Updated language schema to add apiVersion property. #208
  • 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:
    • Updated options schema to v0.21.0. #135
    • Updated language schema to v0.21.0. #134
  • Engineering:
    • Bump vscode engine to v1.50.0.

v0.15.0

What's changed since v0.14.0:

  • General improvements:
    • Updated options schema to v0.20.0. #106
    • Updated language schema to v0.20.0. #107
  • 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:
    • Updated markdown snippet to include links section and online version. #60
    • Updated options schema to v0.13.0. #59

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:
    • Added language schema. #39
    • Added snippet for baseline resource. #40
    • Added highlighting for Synopsis: resource comments. #41
  • 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:
    • Added highlighting for Synopsis: metadata in comments. #16
    • Added syntax highlighting and snippet for Recommend keyword. #17
    • Added markdown snippet for rule documentation. #19

v0.2.0

What's changed since v0.1.0:

  • General improvements:
    • Updated options schema to v0.5.0. #12
  • Bug fixes:
    • Fixed CI badge not displaying in VSCode extension tab. #8
    • Fixed syntax highlighting for keywords that are included in comments. #10

v0.1.0

  • Initial release.