Skip to content

Releases: Azure/bicep

v0.16.1

05 Apr 02:38
d77dcc7
Compare
Choose a tag to compare

Highlights

  • Remove the block on Bicep parameters files (#10191)
    • You can now enable support for .bicepparam files using the experimentalFeaturesEnabled.paramsFiles setting in bicepconfig.json
  • Allow all type syntax in output declarations (#10052)
  • Removal experimental flag for public module completions (#10261)

Features and bug fixes

Bicep team:

  • Bicep CLI binaries for Mac are now signed.
  • use-resource-symbol-reference - fix for unhandled exception (#10246)
  • Support scope & parent properly on child resources (#10254)
  • Warn instead of error for resource name discriminator mismatch (#10256)
  • Expressions in Bicep parameters files (#10248)
  • Refinement types (#9870)
  • Refine return types for built-in functions (#10102)
  • Prioritize resource/module completions for 'resource.dependsOn' array item completions (#10043)
  • Enable array item completions for single line arrays. (#10193)
  • Fine-tune priorities for module completions (#10262)
  • Bump az types (#10310)

@levimatheri

  • Emit error diagnostic on negative array index (#10187)

@manishkulkarni

  • Increment nested deployment API version to 2022-09-01 (#10128)

@jabbera

  • Inline Resource Type Parameters (#10053)

@realsrikar

v0.15.31

07 Mar 17:49
3ba6e06
Compare
Choose a tag to compare

Highlights

  • Add implementation for use-resource-symbol-reference linter rule (#9742)
  • Nullable types (#9454) - must have experimentalFeaturesEnabled.userDefinedTypes set to true
  • Remove experimental flag for Paste as Bicep (#9905)
  • Add view type definition support for MCR modules (#9709)
  • Support module registry reference completions (#9913)
  • Bumping Types version (#9986)

Bug fixes and features

Bicep team:

  • Add a fix for a known cause of issue 1931 (#9711)
  • Add issue redirect link (#9731)
  • Fix issue 9467 (#9858)
  • Fix for issue 9855 (#9859)
  • Remove coalesce from list of functions (#9914)
  • Fix for issue 7952 (#9910)
  • VSCode: Show less obtrusive and more granular loading indicator (#9920)
  • Emit a warning rather than an error for inappropriately nullable function arguments (#9721)
  • Warn (don't error) on nullables throughout (#9730)
  • Replace loop-local variable references on the scope of descendent resources (#9651)
  • Update join signature (#9954)
  • Prevent stack overflow in use-stable-resource-identifiers linter (#10001)
  • Fixed restore from ACR with anonymous pull enabled when az or PS are not logged in (#9922)
  • Fix language server starup issue in visual studio (#9739)

@dciborow

  • Update devcontainer.json to latest schema (#9849)

@levimatheri

  • Add linter rule to simplify json('null') to null (#9744)
Read more

v0.14.85

21 Feb 16:55
f4a4d48
Compare
Choose a tag to compare

Features and bug fixes

@dciborow

  • Update devcontainer.json to latest schema (#9849)

Bicep team:

  • Fix issue 9467 (#9858)
  • Fix for issue 9855 (#9859)
  • Don't convert on paste if converted bicep is empty (#9789)
  • Keep 'Paste as Bicep' always enabled (#9799)
  • Replace not insert on Paste as Bicep (9631) (#9800)
  • Make "yes" the first (default?) survey button (#9835)
  • Update survey dialog text (#9837)

v0.14.46

08 Feb 18:54
ef2ceb1
Compare
Choose a tag to compare

Highlights

  • Prompt for annual survey in (#9664)
  • Add "View type definition" support for MCR modules to view readme for that module (#9709)

Features and bug fixes

Bicep team:

  • Add a fix for a known cause of issue 1931 (#9711)
  • Add issue redirect link (#9731)
  • Handle tuples in allowed([...])-derived param type (#9717)
  • Emit a warning rather than an error for inappropriately nullable function arguments (#9721)
  • Type inference for tuple index access (#9724)
  • Warn (don't error) on nullables throughout (#9730)
  • Update literal return type deriver to take account of object additionalProperties (#9735)
  • Replace loop-local variable references on the scope of descendent resources (#9651)
  • Fix language server starup issue in visual studio (#9739)

v0.14.6

31 Jan 22:24
f1dae16
Compare
Choose a tag to compare

Highlights

Bicep team:

  • Add linter rule use-parent-property to recommend usage of parent property (#9305)
  • Add decompilation support for lambda functions (#9592)
  • Paste as Bicep (enable in Bicep VS Code extension settings)
    • Full templates and resources (#9174)
    • Paste JSON value as Bicep (#9519)
  • Add "View type definition" support for modules in the public registry (#9647)
    • Documentation can be associated with the registry using the --documentationUrl parameter
    • Works for all modules in the public registry
  • Updating Azure.Bicep.Types.Az version for Bicep Release 0.14.0 (#9697)
  • Block expressions that generate nested references (#9646)

Features and Bug fixes

Bicep team:

  • Expose the toObject function in Bicep (#8982)
  • Simplify codegen for myRes['id'] (#9299)
  • Fix for Insert Resource in a blank file (#9447)
  • Published Bicep modules now include artifactType in the OCI manifest (#9520)
  • Various fixes for deploy-time constant validation (#9531)
  • Custom types enhancements
    • Add tuple types (#9153)
    • Allow union declarations to be include a newline before any pipe (#9441)
    • Additional properties syntax (#9511)
    • Add a null forgiving operator (#9585)

@admodras

  • Update App Service icon to match proper resource type for visualizer (#9390)

@levimatheri

  • Add '=' as output type follower (#9525)
  • Handle types in first and last functions (#9533)

@dciborow

  • fix: nested functions not detected in strings (#9587)

@miqm

  • LoadJsonContent supports file with comments (#9222)

@vbossica

  • Change casing of secureString to comply with deploymentTemplate schema (#9225)
Read more

v0.13.1

05 Dec 22:40
e3ac80d
Compare
Choose a tag to compare

Highlights

Bicep team:

  • Bicep deploy - support deployment to azure cloud (#9097)

@miqm

  • Emitting getSecret inside a ternary expression (#8658)

Bug fixes and features

Bicep team:

  • Fix for partially-typed resource type completions (#9158)
  • InsertResource: Use json() function to format non-integer number (#9162)
  • Support fully-qualified ambient type symbols in output declaration type clauses (#8961)
  • Fix flatten signature (#9117)
  • Block nested runtime functions (#8965)

@matsest

  • fix(vscode): add icons for container apps (#9101)

v0.12.40

08 Nov 00:33
41892bd
Compare
Choose a tag to compare

Features and bug fixes

This is a hotfix for some unintended breaking changes that went out with the v0.12.1 release. Apologies for any inconvenience this may have caused!

Bicep team:

  • Make sure that single-item allowed decorators on arrays are treated the same as decorators with multiple items (#8893)
  • Correct union assignability check when both sides of the assignment are unions (#8899)
  • Use imported type rather than narrowed type for union branches within resource declaration (#8902)
  • Incorporate type names into Bicep symbol table (#8876)
  • Update TypeHelper.IsLiteralType to avoid catching LanguageConstants.Object (#8952)
  • Fix an issue where building file with deeply nested external modules throws (#8903)
  • Allow 'asazure.windows.net' for no-hardcoded-env-urls (#8871)

v0.12.1

03 Nov 19:00
e43d137
Compare
Choose a tag to compare

Highlights

Bicep team:

  • Add support for sourcing feature flags from bicepconfig.json (#8559)
  • Add experimental support for aggregate type declarations (#8673)
  • Add decompile command (#8804)

@SimonWahlin

  • Add format command to bicep CLI (#8580)

Features and bug fixes

Bicep team:

  • Improve performance of NoUnusedVariablesRule & NoUnusedParametersRule (#8853)
  • Fix a formatter issue where formatting invalid nested resource keeps on indenting further (#8666)
  • Emit API version for deployment references (#8656)
  • Fix 7752 don't allow non-param files to be selected (#8521)
  • Rule to detect compiler fluff (decompiler-cleanup) (#8648)
  • Fix decompile of "metadata" in resources/modules (#8848)
  • Bicep Deploy: add support to name deployments (#8717)
  • Refresh compilation before build and deploy to fix 8239 (#8721)

Documentation and snippets

@johnlokerse

  • Added DNS Private Resolver resource snippet (#8787)

v0.11.1

04 Oct 23:50
030248d
Compare
Choose a tag to compare

Bug fixes and features

Bicep team:

  • Improve module path completions (#8560)
  • Fixed false positives for use-resourceid-functions (#8445, #8437, #8446)
  • Improve decompiler naming of resources: remove trailing "Name" from resources (#8500)

@bjompen

  • add support for URL encoded local paths (#8418)

@dciborow

  • Update SecretsInParamsMustBeSecureRule.cs (#8420)

@johnthcall

  • Reuse indexed types in AzResourceTypeLoader (#8509)

v0.10.61

13 Sep 20:56
8f44805
Compare
Choose a tag to compare

Bug fixes and features

Bicep Team:

  • Allow more build steps to run in parallel (#8273)
  • Add validation for ambiguous resource scopes (#8300)
  • Use locally cached tpn files (#8330)
  • Fixed typo in the trigger for the notice job (#8375)
  • Add nested resources to document outline (#2037)
  • Fix ArtifactsLocationSasToken MissingMethodException Issue (#8327)
  • Fix language configs not found issue (#8338)
  • Update bicep visual studio extension name (#8303)
  • Update visual studio vsix id (#8341)

@ellismg

  • Support @metadata decorator on outputs (#8302)

@SimonWahlin

  • Add metadata keyword (#6360)