v0.25.3
Highlights
Bicep Team:
- Compile-time imports is now GA! (#13150)
- [EXPERIMENTAL] JSONRPC
- Add new methods "version", "getMetadata", "getDeploymentGraph" and .NET test class (#12975)
- Add type information to
bicep/getMetadata
parameters & outputs (#13051) - Add new method
bicep/getFileReferences
to obtain a list of files that are referenced by a given file (#13051) - Set up tracing so that
BICEP_TRACING_ENABLED
configures verbose JSONRPC logging (#13051)
- [EXPERIMENTAL] Use resource types for parameter validation:
- Allow usage of imports which reference user defined functions in .bicepparam files (#12900)
- Support load*Content() functions in UDFs (#12915)
Features and Bug Fixes
Bicep Team:
- use-resource-symbol-reference linter rule: detect .name access as well as .id (#12917)
- Permit newline in lambda arguments and function definition arguments (#13043)
- include
required
mark for parameters that doesn't have a default value (#12749) - Bug Fix: Failure when functions are imported via wildcard (#12898)
- Narrow object types when assigned value is not an object literal or variable reference (#12798)
- Bug Fix: Failure when when any compile-time imports are present with UDFs (#12902)
- Disallow secure decorator on statements using imported types (#12909)
- Bug Fix: Variable export bug when looping in variable (#13098)
- Ensure safe access of output guards against missing
value
property (#13162) - Code lenses to switch between bicep and JSON module source (#12762)
- Don't compile external module sources (#12765)
- Fix 12020 (better error for expr when expecting object) (#13102)