Skip to content

v0.32.4

Latest
Compare
Choose a tag to compare
@jmorerice jmorerice released this 09 Dec 22:23
· 138 commits to main since this release
b326faa

Highlights

  • New deployer() function to retrieve ObjectId of the principal that is deploying the Bicep file (#15340)
resource roleAssignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  // can be used to help make GUID unique
  name: guid(deployer().objectId, readerRoleDefinitionId, resourceGroup().id)
  properties: {
    principalId: deployer().objectId // easily retrieve objectId
    roleDefinitionId: readerRoleDefinitionId
  }
}
  • Support partial public registry completions (#15646). Previously, if typing the entire module reference, you would lose completions after typing a /
    image

Other bugs and features

Bicep team:

  • Support deploying to other clouds in Deploy Pane (#15635) - thank you @alaskascooter for filing
  • Only add an explicit dependency on an existing resource when the deployments engine will use the GET response (#15693) - thank you @AleksandrKomarov for filing
  • Move all indexing expressions when calculating dependsOn expressions (#15580) - thank you @slavizh for filing
  • Local Deploy: Support null for InnerError field (#15583)
  • InsertResource - correctly strip read-only properties (#15689)
  • MS Graph type loader accepts resource identifier property flag (#15518)
  • Fixed stack overflow when requesting completion in an object literal (#15579)
  • Use vscode authentication instead of Azure Account extension (#15403)
  • Move deploy-pane to vscode-bicep-ui (#15584)
  • Emit type and apiVersion separately for local and v2 ext resources (#15762)

@emmanuel-ferdman

  • Update jsonrpc.test.ts reference (#15657)

@GabinL21

  • Add case-insensitive equality operators to grammar (#15640)