Skip to content

Releases: microsoft/vscode-azurearmtools

v0.14.0-alpha

26 Oct 16:16
27095c3
Compare
Choose a tag to compare
v0.14.0-alpha Pre-release
Pre-release

Contains performance fixes for large numbers of parameters/variables, plus preview of extract var/params.

v0.13.0

08 Oct 20:29
c182322
Compare
Choose a tag to compare
v0.13.0 Pre-release
Pre-release

Added

  • Completions for dependsOn array elements
  • Intellisense improvements:
    • Fixed:
      • Completions cause entire current word to be deleted #903
      • Tab completion of params/vars wipes out remainder of string #349
      • Sparse filtering does not work for our expression Intellisense #572
  • Child/parent code lenses for resources

Changed

  • If we find just a single matching parameter file, we now automatically use it without asking. It can be manually disassociated or associated with a different parameter file, and this behavior can be turned off via VS Code settings #911
  • ARM Template Outline view and Intellisense now use a more compact format for the name and type of resources that are expressions, based on the new string interpolation format for Bicep
  • ARM Template Outline view now shows only the last segment of a resource's name
  • ARM Template Outline view now also shows the last segment of a resource's type
  • For a cleaner look, parameter code lenses just show "Using default value" for parameters with default values, and do not actually repeat the default value #999

Fixed

  • Missing one warning in the error list after changing the property from "inner" to "outer" #891
  • Added location property to deployment() function metadata #936
  • "Cannot read property 'start' of undefined: TypeError: Cannot read property 'start' of undefined" in suites #858
  • List function is not recognized #949
  • Support for new template functions: createObject(), false(), true(), null()
  • resourceId completion should pull from within the correct scope of resources #775
  • Unable to remove file reference from parameter file to template file if template file is deleted #952
  • Using schema with http instead of https sets language to arm-template but schema Intellisense/validation don't work #834

v0.12.0

03 Aug 23:55
60683a9
Compare
Choose a tag to compare
v0.12.0 Pre-release
Pre-release

Contextualized snipptets, nested template parameters

Version 0.12.0

Added

  • Snippet contextualization #654
    • Snippets now appear only in locations where they make sense
    • Automatically bring up snippets for new parameters, variables, outputs, etc. when the first double quote is typed
    • Automatically bring up snippets for new resources, user function parameters, etc. when the first curly brace is typed
  • Support code lenses, errors, intellisense and code actions for nested templates, just like for parameter files #837

Fixed

  • "filename.json does not appear to be an Azure Resource Manager deployment template file" #838
  • The notification information is inconsistent with the status bar "Select/Create Parameter File…" #873
  • Show error icon in pick list for current parameter file if not found [#693](https://github.com/microsoft/Sscode-azurearmtools/icon issues/693)
  • Revision comparison shows unexpected problems #601
  • The ARM function listchannelwithkeys is not recognized as a valid function. #846
  • Error shows when selecting parameter file for an unsaved template file #841
  • Status bar doesn't show up when changing a file to arm-template #839
  • Assertion failure in parameter file with no "parameters" object if there are missing parameters #829
  • Adding in Resource Group snippet (thanks Ryan Yates @kilasuit!) #726
  • SetDiagnosticsFromTask for source 'arm-template (validation)' throws an exception during suites #875
  • Disable display of "documentColumnIndex (29) cannot be greater than the line's maximum index" assertion #843
  • "value cannot be null" when providing keyvault reference to a nested deployment parameter #827
  • Error message and !!MISSING: command!! messages in code lenses opening template file when params file missing #810
  • Error shows when selecting parameter file for an unsaved template file #666
  • Invalid location given for error when resource name evaluates to empty string #816
  • Using 'copy' in nested template variables triggered an template validation error #730

v0.11.0

23 Jun 04:53
c9e0d25
Compare
Choose a tag to compare
v0.11.0 Pre-release
Pre-release

Added

  • Better support for nested templates #484
    • Support for inner-scoped expressions (expressionEvaluationOptions.scope = 'inner') for parameters, variables and user functions #554
    • Fixed null reference exception with nested templates when a parameter file is used #716
    • Code lenses mark nested and linked template and their effective expression scope
    • Warning about unreachable parameters/variables in a nested template with outer scope
  • New code lenses show effective source and value of top-level parameters #675
  • First step taken to allow us to restrict snippets to appropriate locations in a template file #789
  • Unused parameters and variables are now displayed grayed out like unused code #679
  • Recognition for the listKeyValue function #720

Fixed

  • 'Load Balancer Internal' snippet: incorrect placement of subnet for frontendIPConfigurations (thanks Anatoly Basharin @abasharin!) #725
  • Format document breaks when using multi-line functions #435
  • Made prompt for "Type a parameter name" more explanatory #765
  • Improvements for Insert Item... menu (thanks Nils Hedström @nilshedstrom!) #670
  • Fails to create a parameter file for arm template when encoded with UTF-8 BOM #721
  • Schema validation is not identifying correct location in nested templates #625
  • Shortened many schema-related warning messages #623
  • "Internal Error: Validation threw an exception" with assembly including linked templates #773
  • Completion list for "location" shows incorrect icons #676
  • Formatting: empty object blocks should be left alone, not expanded to multi-line #753
  • Template validation reports parameter value not specified when it uses a keyvault reference #609
  • Template with apiProfile not honored among resources #635
  • Microsoft.Logic/workflows snippet apiVersion references removed schema #700

Changed

  • Made naming of linked template snippet consistent with the terminology in current docs and added a new snippet for nested templates #744
  • Updated schema cache #790

v0.10.0

11 May 16:18
f74c925
Compare
Choose a tag to compare
v0.10.0 Pre-release
Pre-release

Added

  • Improved parameter file support:
    • Completions for missing and new parameter values (type double quote or CTRL+SPACE)
    • Quick fix and code actions for adding missing parameter values
    • Rename parameters across template and parameter file
    • Go To Definition and Find References for parameters across both files
  • Insert item... (variables, parameters, resources, functions, outputs) implemented by Nils Hedström @nilshedstrom, thanks!
    Look for this in the editor context menu or the ARM Template Outline view!
  • Completions for resourceId arguments based on resources found inside the template
  • New Application Gateway and Application Gateway and Firewall snippets (thanks Emmanuel Auffray @ManuInNZ!)

Changed

  • Suggestion: Auto-complete should not insert "()" #501
  • Removed arm-param-value snippet in parameter files (replaced by new parameter auto-completions)
  • Add lightbulbs to increase discoverability of parameter/variable renames

Fixed

  • Variable autocomplete does not show variables without quotes #361
  • Use latest schema version for ARM Template parameter file (thanks Wilfried Woivre @wilfriedwoivre!) #622
  • Ensure snippet resource definitions align with best practices doc #525
  • Snippets should use tabs instead of spaces so the editor can adjust the tabs to the current editor settings #633
  • dateTimeAdd function not recognized #636
  • Rename dialog should not include quotes (#660)(#660)
  • Rename doesn't work on a variable/parameter with a hyphen #661
  • Template validation doesn't recognize 'environment()' function when full validation enabled [#531]((#531)
  • Space after colon (:) removes IntelliSense Selection List #482
  • Pop up 2 dialogs when renaming a resource that can't be renamed #407
  • autocomplete of params/var replaces needed code #127
  • ARM template validation cannot handle "copy" in outputs section #600
    • Note: Currently works only for resource group deployment, see #695

v0.9.2

29 Apr 22:11
fb5e061
Compare
Choose a tag to compare
v0.9.2 Pre-release
Pre-release

Changed

  • Use .NET Install Tool for Extension Authors (ms-dotnettools.vscode-dotnet-runtime) to download and install .NET core runtime

v0.9.1

20 Apr 17:16
ebd8586
Compare
Choose a tag to compare
v0.9.1 Pre-release
Pre-release

Fixed

  • There are problems with this document's schema impacting one or more items in the document (ignore invalid formats in schemas) #570
  • Use dotnet core v3.1
  • Attempt to fix problems installing dotnet core involving TLS

v0.9.0

20 Apr 17:06
9903373
Compare
Choose a tag to compare
v0.9.0 Pre-release
Pre-release

Added

  • First round of support for parameter files
    • Specify a parameter file to associate with a template file
    • Parameter file will be used to enable additional validation
    • Create new parameter file from parameters within the template
  • Support filtering for child resource type name and apiVersion values
  • Template sorting (implemented by Nils Hedström @nilshedstrom, thanks!)
  • Snippet improvements
    • apiVersions updated
    • various fixes and standardization
  • Added more resource type icons for ARM TEMPLATE OUTLINE view (thanks Nils Hedström @nilshedstrom!) #253
  • Support for schema auto-completion inside nested templates

Changed

  • Now using a single output for extension and language server

Fixed

  • "Found more than 1 match" (oneOf error) in some ARM templates
  • Reading schemas from .zip file does not work on Mac
  • Arm Template Outline doesn't show up when you first open a file, but does when you tab back to it (thanks Nils Hedström @nilshedstrom!) #470
  • Snippets should follow the recommendations in https://github.com/Azure/azure-quickstart-templates/blob/master/1-CONTRIBUTION-GUIDE/best-practices.md #456
  • Not getting any completion for subscription().xxx #526
  • autocomplete list for child resources should be filtered based on the parent #350
  • autocomplete list for apiVersions on child resources is empty #351
  • Null ref exception in validation with empty doc or doc containing only a comment
  • Add space after colon with IntelliSense #460

v0.8.5 hot fix

30 Mar 17:53
2d108ca
Compare
Choose a tag to compare
v0.8.5 hot fix Pre-release
Pre-release

Fixed

  • "Error loading Schemas" #536

v0.8.4

07 Feb 19:29
ee11527
Compare
Choose a tag to compare
v0.8.4 Pre-release
Pre-release

Added

  • Added new snippets for subscription, management group and tenant deployments scaffolding (arm!s, arm!mg and arm!t) #449

Fixed

  • An error in loading ARM schemas from 2014 Preview #438
  • Fallback on cached schemas on Linux and MacOS
  • arm! and armp! snippets are using old $schema (thanks Nils Hedström @nilshedstrom!) #432
  • Fixed icons for "Functions" entry in treeview (thanks Nils Hedström @nilshedstrom!) #427
  • Assertion Failed when opening ARM Templates #441
  • Add optional customer survey
  • Updated web-app and web-app-deploy schema to 2018-11-01 #451
  • "Format Document" and schema validation don't work against unsaved ARM templates #464
  • Error downloading dotnet - VERSION_ID: unbound variable #422
  • Engineering improvements