github Azure/bicep v0.6.1

latest releases: v0.30.23, v0.30.3, v0.29.47...
2 years ago

Highlights

Bicep team:

  • Adding managementGroupResourceId function to Bicep (#6625)
  • Update types to 0.1.486 (#6729)

@miqm

  • File content is loaded into special variables (#6275)
    • will keep ARM Template file size smaller through more efficient code-generation when accessing properties of json(loadTextContent('myStuff.json'))

@slapointe

  • Add force modules restore support in CLI and VS Code (#6382)
    • will clear the local module cache and re-pull module registry references for cases where the registry content is different than the locally cached content.
    • In VS Code, search for the command Bicep: Restore Bicep FIle (force)
    • In CLI, run command bicep restore main.bicep --force
      • We do not yet support the --force flag in Az CLI or Azure PowerShell

Features and bug fixes

Bicep team:

  • Use function argument declared types (or function declared type signature when available) instead of resolved types (#6592)
  • Enforce .bicep extension on Bicep build command (#6609)
  • Convert createArray and createObject function calls to array and object literals, respectively. (#6645)
  • User-specified paths involving files named con on windows 10 no longer freeze the language server (#6636)
  • Fix 6437 Edit config with rule but no 'level' (#6440)
  • Add Insert Resource to context menus (#6695)
  • Add Scaffold Bicep Config snippet (#6600)

Don't miss a new bicep release

NewReleases is sending notifications on new releases.