v0.17.1
Highlights
Bicep team:
- Experimental support for user defined functions (#10465). (Requires the experimental feature flag "userDefinedFunctions" to enable).
- Added new CIDR network calculation functions (#10125). (We are working on official docs. For now, here's a link to function signatures and a sample: https://gist.github.com/majastrz/bdd776addfa72c0719334996c0aa78f5)
- Add support for Custom Kubernetes Resources (#10598)
- Add MaxAgeInDays config to use-recent-api-versions rule (#10344)
- Bump az types version (#10603)
- remove "experimental" from bicep.containerRegistryCompletions.useAllAccessible setting (#10457)
- Add new Bicep File Function: loadYamlContent (#10415)
- New parameter
--force
on Publish command (#9745)
Breaking changes
- Name resolution & scoping behavior for variables declared in lambdas & for loops is now consistent with variables declared at the global scope. This means that previously, the following would have been permitted, whereas now it is blocked:
See #10657 for more detail.
var foo = [for resourceGroup in []: { bar: resourceGroup('test') }]
Features and bug fixes
Bicep team:
- Attempt to fix e2e test failing. (#10389)
- Improve compiler detection of invalid runtime value usages. (#10250)
- Semantic highlighting for comma was missing within a string (#10472)
- Resource Type parameters should generate BCP120 (#10401)
- Fix for decompiler to support templatespec (#10329)