Releases: Azure/bicep
Releases · Azure/bicep
v0.3.539
Highlights
- Bicep visualizer (#2357)
- Scaffold required resource snippet based on the resourceType & apiVersion (#2172)
- also works for modules! (#2658)
- More snippets
- Two part resource type completion (#2485)
- This cleans up the completions list for resource types
- Lots of bug fixes
Features and bug fixes
Bicep team:
- Support type checking on intermediary variables (#2444)
- Generate correct resourceIds for 3rd generation resource with non-parent-property parent (#2273)
- Support 'outer' scopes for decompilation (plus other minor fixes) (#2338)
- Decompiler - format output with the 'parent' property where possible (#2363)
- Decompile variable copy loops (#2370)
- Decompile reference() functions with resource name references (#2381)
- block any() in scope, parent and dependsOn (#2359)
- slash validation for loops (#2387)
- added cross scoping for tenant resources (#2386)
- Added invariant properties warning & fixed duplicate error in loops (#2465)
- include colon in property name completions (#2482)
- removed "parent" property from syntactically nested resources (#2603)
- Removed the colon character from commit chars on property name completions. (#2661)
- Fix scope for conditional resources (#2250)
- Support decompiling templates with extensions that are not .json (#2201)
- Block referencing location of existing resources (#2261)
- Improve deploy-time constant checking (#2345)
- Deploy time constant and direct resource/module collection reference fixes (#2461)
- Fix issue #2484 (#2503)
- Fix syntax highlighting for expressions in string interpolations (#2554)
- Provide completions immediately after '{' in string expressions (#2596)
- Block runtime property refs in runtime functions, fix a stack overflow (#2623)
- Improve error recovery for expressions (#2640)
- Block completions in locations where inserting nodes makes no sense (Part I) (#2670)
- Support the same 'Options' on bicep decompile as with bicep build (#2460)
- Simplified Homebrew installation flow (#2208)
Docs, snippets, and examples
Bicep team:
- added docs for the msbuild task (#2191)
- Updated "known limitations" (#2492)
- added template spec deploy example (#2499)
- fix example to use parent syntax (#2550)
- completions for the "existing" keyword (#2253)
- decompile loops with conditions (#2259)
- Update AKS cluster snippet (#2244)
- Add snippets contribution guide (#2240)
- Remove diagnostics.json, add main.combined.bicep (#2257)
- Update snippets to latest api-versions (#2277)
- Snippet standards and naming conventions (#2307)
- Add
az bicep version
to bug report template (#2282)
- fix resource-scopes broken link missing
.md
(#2388)
- Fix param description (#2459)
- Contributed 3 new snippets for WVD resources (#2256)
- New Code Snippet example for Template Specs (#2298)
- New Snippet example for Shared Image Gallery (#2310)
- Corrected applicationGroupType Values (#2390)
- New example for a DINE policy Azure Monitor Agent and Data Collection Rule (DCR) association (#2142)
- fix issue #2311 - add location to firewall resource in examples/101/azurefirewall-create-with-zones (#2312)
- docs: add variable loops to spec (#2342)
- added private endpoint for file storage account (#1651)
- Update Homebrew to 0.3.255 (#2202)
- Added examples for Modular API Management (101) and Importing API to APIM (301) (#2223)
- Example: Add SQL Database with managemnet solution example (#2348)
- Added empty properties object to res-recovery-service-vault snippet (#2353)
- Added Virtual WAN Snippet (#2354)
- Minor formatting fixes for CONTRIBUTING.md (#2352)
- Updated all docs examples with higlighting (#2443)
- fixed parameter in loop example (#2480)
- Added VNet Peering snippet (#2383)
- Minor README.md fixes (#2570)
- Example - ARM Template Create a Private AKS Cluster (#2155)
- typo fix. Fixed listKey to listKeys. (#2206)
- updating cicd documentation s/files/file (#2657)
- Update readme.md (#2249)
- Update README.md (#2133)
- fixed invalid example (#2132)
- Example Improvements related to issue #2135 (KeyVault secretsObject) (#2139)
- Fix reference to the parent resource (#2309)
v0.3.255
Highlights
var
loops (#2077)- i.e.
var foo = [for i in range(0,10): 'value${i}']
- i.e.
- Add type descriptions to completions and hovers, support method hovers. (#1915)
- Initial support for resource snippets for specific resource types
- Eventually this will be at parity with the snippets in ARM Tools
- Add support for name discriminators on resource types (#1950)
- allows us to properly validate resources like
microsoft.keyVault/vaults/accessPolicies
andmicrosoft.web/sites/config
- allows us to properly validate resources like
- Add textmate grammar (#2069)
- this will power syntax highlighting in GitHub and Azure DevOps very soon
- msbuild task and cli nugets (#1992)
- this is to support converting our internal ARM Template usage to Bicep, but is available externally as well (docs available with #2191)
Features and bug fixes
Bicep team:
- Bump types package (#2200)
- Fix for issue 1985 (#1989)
- Flow dependsOn detection through 'existing' resource definitions (#1991)
- Fix bad string escaping in ARM template generation (#2006)
- Correct providers() return type (again...) (#2018)
- Added return types to signature help (#2089)
- no property value completions before the colon (#2121)
- Implement special handling for allowed array values (#2169)
- Update top level param with option to use @secure syntax (#2019)
- Update deprecated snippet for parameter types- secureObject, secureString (#2038)
- Update deprecated param snippet and move snippets to template files (#2130)
Docs and examples
Bicep Team:
- added unicode doc (#2094)
- Add badges for Good First Issue and Needs Feedback (#2083)
- Adding section for GetHelp, Report an Issue (#2035)
- Update to readme to include to common questions in FAQ (#1954)
- Update 05-loops-conditions-existing.md (#2102)
- Added Hello World syntax sample (#2011)
- Updates to example for deployifnotexists-policy-with-initiative-and-assignment (#1953)
- Corrections for operator descriptions (#2016)
- bad link (#1947)
- updated outputs link (#1998)
- Using Bicep CLI directly without installing binaries (#1903)
- Added missing colon to array output loop (#1948)
- Example - ARM Template Deployment Script development environment (#1961)
- Update nic.bicep (#1577)
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)
v0.3.1
Highlights
- Support for loops (#1469, #1521, #1628, #1647)
- Support for
existing
keyword (#1339) - New "decorators"-style parameter modifier syntax (#1324)
- Support for multi-line strings (#1542)
- Allow output names to overlap with symbols (#1623)
Feature work and bug fixes
Bicep team:
- Include API version for generated reference() function calls on 'existing' resources (#1466)
- Block runtime properties for resource/module 'scope' (#1467)
- Fix for duplicate semantic tokens (#1503)
- Fix erroneous environment() type definition (#1528)
- Allow decompilation of and() & or() with >2 params (#1526)
- Add --outdir, --outfile params to build command (#1519)
- Block cross-scope resource deployment without modules (#1559)
- Added basic unicode support (#1370)
- module file path completions (#1236)
- Added ResourceGroup and SubscriptionId fields to nested deployment resource (#1433)
- Added generated metadata info (#1533)
- Fixed interpolated StringSyntax used in object's property name (#1375)
- ARM Integer type is now long instead int (#1334)
- Permitted resourceGroup -> subscription (self and named) and subscription -> resourceGroup in named subscription deployments. (#1420)
- Added single qoute as completion trigger character (#1377)
- Replacing coalesce function with double question mark
??
operator (#1489)
- Updated Bicep Playground Favicon (#1543)
Doc updates
- Fix typos in creating modules tutorial (#1654)
- Update Readme 'life better' section (#1481)
- Add new community contribution to README.md (#1419)
Examples
- New exmaple: Vnet with Subnet and USer Defined Route (#1459)
- added automation account with logging (#1381)
- Fix default HTTPS port number in Front Door examples (#1397)
- Add example for HTTP-triggered function (#1437)
- Add sample for adding storage static website (with deployment script) (#1442)
- Add example to deploy app + data + identity + monitoring (#1395)
- Added example for custom policy definition with assignment (#1394)
- Add traffic-manager-webapp example (#1414)
- Azure Portal Dashboard sample (#1486)
v0.2.328 (alpha)
v0.2.317 (alpha)
Features and fixes
Bicep Team:
- setup.exe (
bicep-setup-win-x64
) and bicep.exe (bicep-release-win-x64
) for windows are now both signed, so you will no longer trigger smartscreen on windows (#1344) - Filter available resource types by target scope (#1321)
- Support resourceGroup function with
targetScope
set totenant
&managementGroup
scopes (#1211) - Added signature help (#1273)
- Enable completions inside parenthesized expressions (#1221)
- Block Runtime property references for resource and module names (#928)
- Detecting duplicate resource and module names (#1204)
- Added deployment().properties.templateLink.id property (#1311)
Docs
Bicep Team:
- misc updates to readme, added PR template, added small ci/cd doc (#1245)
- markdown fix for: Conditionally declare a property value (#1194)
- Updating modules to illustrate if condition (#1210)
Examples
- Adding Windows10 with NVidia Extension example (#1232)
- New Example: SIG with Image Definition and Role Assignment (#1251)
- Suggestion to use implicit Depends On for the DomaiJoin extension (#1258)
- Adding Example of modules with deploying web application with log analytics (#1200)
- Example of Condition deploy logging resource for Web App (#1199)
- Add vnet-to-vnet-peering example (#1274)
- Add templatespec-create example (#1288)
- Add create-and-enable-ddos-protection-plans example (#1287)
- Add event-grid-servicebus-queue example (#1294)
- Add web-app-asev2-create example (#1295)
- Add private-endpoint-webapp example (#1296)
- Add media-services-create example (#1297)
- Add sqlmi-new-vnet example (#1298)
- Add expressroute-circuit-vnet-connection example (#1309)
- Add insights-alertrules-application-insights example (#1308)
- Add webapp-managed-mysql example (#1305)
- Add asev2-ilb-with-web-app example (#1307)
v0.2.212 (alpha)
Highlights
- Support for conditional resources (#1014) spec
- Supported for decompilation (#1150)
- Support for the
scope
property for extension resources (#1162) spec- This allows you to configure resources like resource locks and role assignments on individual resources
- Supported for decompilation (#1190)
- Major perf improvement when loading the extension (#1147)
Feature work and bug fixes
Bicep team:
- Add type definition for properties.templateLink.uri to deployments() return value (#986)
- Remove some limitations for decompiling nested/linked templates (#1001)
- Allow the list() function (#1065)
- Emit location automatically for non-rg module scopes (#1129)
- Allow cross-subscription deployments (#1165)
- Fix inlining behavior for modules (#1181)
- Set intellisense defaults (#1019)
- Fixed declaration type completions when extra whitespace is present (#1107)
- Fixed functions signatures in vararg functions (#1124)
- Added a function overload builder (#1126)
- upload language server artifact (#1152)
- Added function descriptions and parameter names (#1180)
- Implement retrying logic for VSCode E2E tests (#1096)
- Use relative path for user data and add logging (#1112)
- Fix an example file (#1184)
- Expanding Completion of objects & arrays to multiple lines (#1012)
- Update bicep.rb (#993)
Doc updates
Bicep team:
- Add pointer to playground for decompilation (#1005)
- Brief document on
decompile
command (#998) - Add decompiler info to README (#1172)
- Update CONTRIBUTING.md (#1068)
- Add blank file create command (#1008)
- Update CONTRIBUTING.md with instruction to run Bicep VSCode extension when using WSL2 (#972)
- Add note about using devcontainer to get started (#1090)
@emilguden:
- Update 02-deploying-a-bicep-file.md (#1157)
- Update 03-using-expressions.md (#1160)
- Update 04-using-symbolic-resource-name.md (#1163)
Examples
Bicep team:
- deployment script example with no managed identity (#1006)
- TypeDiagnostics DesktopVirtualization (#1007)
- Bicep file that creates a basic WVD Backplane (#1003)
- added wvd-backplane example (#1009)
- diagnosticSettings WVD Workspaces (#1011)
- multi-module WVD deployment with some prereqs (#1010)
- Added readme.md (#1047)
- adding windows web app (#996)
- Added DataFactory Blob Copy Example, reordered missing types tests (#999)
- ReOrder examples on how they appear in Playground (#1040)
- Update CONTRIBUTING.md (#1068)
- Cosmosdb free (#1110)
- adding eventhub and missing type (#1111)
- [Example] Function App on Consumption Plan with Custom Domain and App Serivce Managed Certificate (#971)
- Added example modules-vwan-to-vnet-s2s-with-fw (#1018)
- Add sample for custom role definition and assignment (#1045)
- LR90 aadds example (#1158)
- Add web-app-linux example (#1148)
- Example: Azure Front Door w/ Web Application Firewall (#1076)
- Add Data Lake Store example (#1029)
- Add Azure Search example (#1025)
- Add SQL database example (#1022)
- Add Azure DataFactory example (#1027)
- Add ACI Linux Public IP example (#1039)
- Add VM domain join example (#1038)
- Add API management with MSI example (#1037)
- Add ServiceBus and Queue example (#1032)
- Add VM scaleset with autoscaling example (#1033)
- Add Application Gateway v2 example (#1036)
- Add CDN with storage account example (#1030)
- Add WebApp and SQL database example (#1034)
- Add Cognitive Services example (#1052)
- Add WebApps Private Endpoint and Vnet-Injection example (#1053)
- Add expressroute-circuit-create example (#1059)
- Add function-premium-vnet-integration example (#1057)
- Add event-hub-and-consumer-group example (#1056)
- Add ServiceBus Namespace VNet (#1054)
- Add missing examples and sort them by name (#1066)
- Add nat-gateway-vnet example (#1091)
- Add azure-bastion example (#1122)
- Add azurefirewall-create-with-zones example (#1144)
- Add cosmosdb-private-endpoint example (#1127)
- Add hdinsight-spark-linux example (#1128)
- Add private-dns-zone example (#1130)
- Add azure-spring-cloud example (#1133)
- Add azure-sentinel example (#1132)
- Add aci-sftp-files example (#1159)
- Add api-management-create-all-resources example (#1131)
v0.2.59 (alpha)
- Update documentation (#908)
- Add missing examples (#919)
- Add Redis Cache example (#976)
- Fix string concatenation in Redis example (#984)
- Bump homebrew from v0.2.6 to v0.2.14 (#915)
- Do not show completions inside comments (#974)
- Fixed typos (#975)
- Add sample for hub & spoke topology (#927)
- Update resource-scopes.md (#937)
Team Bicep:
- new any() doc, updates to arm2bicep doc, example cleanup (#936)
- Fix vscode launch commands (#913)
- Implement
bicep decompile
command (#833) - Rename namespaces to avoid clashes with class names (#967)
- Make playground buttons look like buttons, display tooltips (#981)
- Add syntax rewriter framework and some decompiler simplification rewriters (#953)
- Add type definitions for environment() & deployment() built-ins (#983)
- Updated to .net 5 (#911)
- initial type system documentation (#914)
- Run VSIX tests on all platforms (#930)
- Create E2E tests for Bicep CLI commands (#938)
- Set PrivateAssets to all for analyzer packages (#948)
- Fix Span of ProgramSyntax (#954)
- Update spec for resource conditions (#966)
v0.2.14 (alpha)
Minor fixes/improvements:
- Pass extension info during dotnet acquisition (#907)
- Fix for dotnet acquisition in .net5 container (#910)
- Fix auto-formatting for targetScope syntax (#895)
- Update homebrew version (#879) (@ljtill)
- Update CONTRIBUTING guidelines (#901) (@JFolberth)
New/updated examples:
- Placement group examples (#890) (@lr90)
- Frontdoor examples (#902) (@johndowns)
v0.2.3 (alpha)
Major new features:
- Intellisense - full details in the VS Code Extension README
- Validation of all azure resource types
- Modules (spec, tutorial)
- Code formatting
- Bicep VS Code extension is now available in the VS Marketplace
- Ability to set
targetScope
for a given.bicep
file (spec)
Minor improvements:
- Allow example selection in playground (#485)
- Allow string interpolation in property keys (#566)
- Add a homebrew formula. (#597) (@brendandburns)
- adjust span to cover the key of the object (#767) (@sebastus)
- Don't add empty template properties - Issue 221 (#713) (@glav)
New/updated examples:
- Updated API versions to latest stable version (#574) (@azurekid)
- added vnet-vnet-bgp example (#509) (@bhummerstone)
- adding example for vwan w/ shared services (#734) (@bhummerstone)
- adding example for web app log analytics (#874) (@JFolberth)
- Add Policy with Initiative Definition and Assignment Example (#620) (@joshuawaddell)
- Azure Firewall with public IP from IP Prefix sample (#535) (@StefanIvemo)
- add bicep azure container registry example (#644) (@dewolfs)
- AKS cluster with Virtual Machine Scale Sets Agent Pool and System-assigned managed identity (#675) (@dewolfs)
- Added cyclecloud example + snippets (#843) (@lr90)
- Add Azure Function example (#488) (@mikemassa84)