github Azure/bicep v0.4.1124

latest releases: v0.28.1, v0.27.1, v0.26.170...
2 years ago

Highlights

Bicep team:

  • "Insert Resource" command implementation (#4945)

  • Implement type completions & validation for resource list*() functions (#5145). You will now get completions for cases like:

    resource stg 'Microsoft.Storage/storageAccounts@2019-04-01' = { ... }
    
    var keys = stg.
  • Updated to .net 6 (#4936)

  • Add ability to suppress next line diagnostics inline (#5107). For example:

    #disable-next-line BCP081
    resource stg 'Microsoft.Storage/storageAccounts@2024-01-01' existing = {
      name: 'foo'
    }
  • Visualizer improvements (#5158)

  • New linter rules

    • no-unnecessary-dependson (#4838)
    • linter: use-protectedsettings-for-commandtoexecute-secrets (#4925)
    • linter rule: outputs-should-not-contain-secrets (#4716)
    • Linter rule to use stable VM image (#4883)
  • Added descriptions for function completions. (#5398)

  • removing docs from github repo (#4978)

Bug fixes and features

Bicep team:

  • Update error message for if() & add if-else snippet (#5302)
  • Improve parser handling of single-line array/object (#4956)
  • Migrate brew to https://github.com/Azure/homebrew-bicep (#5039)
  • Fix highlight.js finding keywords in strings (#5128)
  • Add other useful CLI utils to devcontainer (#5137)
  • Remove "preview" flag from VSCode extension (#5140)
  • Flow declared type information to function arguments (#5188)
  • Speed up playground (#5300)
  • bicep restore now logs restore failure diagnostics (#4985)
  • support digests in br module references (#5024)
  • Updated to c# 10 (#5198)
  • added win-arm64, linux-arm64, and osx-arm64 targets (#5346)
  • Fix an issue where module references are not refreshed when cloud config changes (#4916)
  • Allow publishing modules with aliases (#4926)
  • Implement go2def for module references with aliases (#4934)
  • Add telemetry for all registered commands (#5218)
  • RG().location/et al => location param in snippets (#5226)
  • Added support for description upon completions (#4999)
  • Improve string + string error message (#5075)
  • Cleaned up description decorator logic to allow loops (#5160)
  • Improve test execution time (#4889)
  • Remove light bulb that allows disabling linter rules in the bicep.config (#5314)
  • Update disable next line string in light bulb (#5332)
  • Add telemetry for linter rule changes in bicepconfig.json (#5312)
  • Log telemetry about linter state on bicep file open (#5352)
  • Updated linter related telemetry event names (#5369)
  • Log telemetry on bicep file open (#5373)

@polatengin

  • adding devcontainer support (#4974)

@GKotfis

  • Increase exposure of 'Open Visualizer' command in context menus (#4977)

@wedoazure

  • updated Networking visualizer icons (#5130)
  • Updated Compute and Web visualizer icons (#5168)
  • database, security, storage visualizer icons (#5203)
  • updated ai, analytics, containers, devops and identity Visualizer icons (#5240)

@miqm

  • Allow using parameter as value for a discriminator property (#4887)

@stan-sz

  • Update required SDK (#5274)
  • Update the PackageProjectUrl (#5235)
  • Bicep nuget packages fixes (#5254)
  • Fix access to the same test file (#5329)

Docs and snippet updates

@johndowns

  • Update Cosmos DB snippets (#5038)

@johnnyreilly

  • fix: correct "as" typo to "at" (#5182)

@StefanIvemo

  • Added --no-restore to CLI help (#5385)

Don't miss a new bicep release

NewReleases is sending notifications on new releases.