Highlights
- GA release for optional types in variables (#17055)
// current variable syntax var foo = 'hello' // new variable syntax with optional type var foo string = 'hello'
- Add
userPrincipalName
todeployer()
function return type (#17099)
Example usage:var myUser = deployer().userPrincipalName
- [Experimental] New CLI command group
bicep snapshot
for snapshot validation. See Using thesnapshot
command for usage information. - [Experimental] Local Deploy: Various improvements to support end-to-end scenarios (#17048, #17195, #17234, #17235, #17095)
- [Requires the
moduleIdentity
Experimental feature] Support identity assignments on modules (#17150, #17233)
Example usage:Note that this is introduced for future capabilities, and is not currently supported by the backend service.param identityId string module mod './module.bicep' = { identity: { type: 'UserAssigned' userAssignedIdentities: { '${identityId}': {} } } }
- Bicep Extensibility feature flag has been removed (#17094)
Documentation available at Use Bicep Extensions
Fixes
- Fix completions for function arguments (#17146)
- Enable decompilation of KV reference in parameters json (#17196)
- Allow outer variable completions in user-defined functions (#17198)
- Handle case insensitive name clashes for imported variable, func, and type symbols (#17200)
- Add value bounds to loop index variable (#17201)
- Raise error diagnostic on ambiguous scope (#17202)
- Fix F12 for imported symbols from oci modules (#16941)
use-secure-value-for-secure-inputs
linter rule: Remove some false positives (#17107)- adding cases to handle user defined typed params (#16864)
- adding completion support for 'extends' keyword (#17194)
- Fix F12 for imported symbols from oci modules (#16941)
Community Contributions
- Add linter rule to warn on unused compile-time imports (#16990) - thanks @GABRIELNGBTUC !
- Disable linter rule "Maximum number of variables used" when the file does not contain declarations used in files meant to deployed and variables are exported (#17149) - thanks @GABRIELNGBTUC !