v0.3.126
Highlights
- Improvements to child resource declarations
- Loop enhancements spec
- Parameter modifier syntax is now marked as deprecated in favor of decorators
- Support for the old syntax will be removed in v0.4
Features and bug fixes
Bicep Team:
- Avoid unhandled exception for duplicate properties (#1771)
- Correct codegen for module name reference (#1733)
- Fix for issue 1817 (#1825)
- Fixes for nested resource and scope interop issues (#1827)
- Add decompiler support for templateLink.relativePath (#1850)
- Add type definitions for providers() (#1877)
- Add rewriter to simplify loop statements generated by the decompiler (#1873)
- Add test framework to evaluate a template containing expressions (#1875)
- Avoid showing completions inside strings (#1933)
- Display custom warning for resource type with /providers/ (#1943)
- Upgrade types libraries to 0.1.94 (#1940)
- Negative integer literals are compile-time constants (#1836)
- fixed misc. scope issues (#1834)
- Snippet for resource/module conditions (#1856)
- Fixed property value context with partially typed identifiers (#1907)
- Fix stack overflow when formatting large templates (#1668)
- Fix issue #1627 (#1901)
- Ensure minLength and maxLength take non-negative values (#1902)
- Add a job to build Bicep CLI for linux-musl-x64 (#1752)
- Ban duplicate decorators (#1854)
- Return "custom" in bicep's version when AssemblyInfromationalVersion does not have commit hash. (#1721)
- Using ApiVersionComparer to sort Resource Types (#1784)
- Improved error message on existing resource properties (#1881)
Doc updates
Bicep Team:
- Add documentation on updating baselines via GH Action (#1878)
- Update examples to use decorators (#1685)
- Mark parameter modifiers as deprecated and update spec (#1693)
- Fix typos in docs, test names and comments (#1751)
- Changed 'name' parameter to avoid deployment errors while following the tutorial (#1861)
- fixed 'via Az CLI' link (#1678)
- curl download file extension added (#1896)
- fix sample code typo. without quote and extra comma. (#1666)
- Update 06-creating-modules.md (#1747)
- Update 05-loops-conditions-existing.md (#1844)
Examples
- Added example app-service-regional-vnet-integration (#1744)
- add DeployIfNotExists policy bicep example (#1763)
- Fixed comments (#1775)
- Add vm-copy-managed-disks example (#1700)
- Added example for looping outputs (#1681)