Skip to content

Releases: Azure/bicep

v0.29.47

22 Jul 21:09
132ade5
Compare
Choose a tag to compare

Bugs and Features

  • Handle special characters in use-safe-access rule correctly (#14593)
  • Fix bug with local-deploy CLI command group when using OCI (#14592)

v0.29.45

18 Jul 21:44
57a44c0
Compare
Choose a tag to compare

Highlights

Breaking Changes

  • Replace the provider keyword with the extension keyword (#14379)
  • Deprecate provider in Bicep configuration files (#14468)

For more details about the breaking changes, see #14374.

Bugs and Features

  • Added info about missing CLI option --outdir (#14188) - thanks @o-l-a-v!
  • Add trace log message when failing to find Env Var (#13777) - thanks @SimonWahlin!
  • Correctly decompile negative numbers in TLEs (#14317)
  • Remove experimental flag for JSONRPC command group (#14368)
  • Avoid putting URLs into 'code' field in diagnostics (#14583)
  • Escape strings correctly in snippets (#14582)
  • Update Microsoft Graph Bicep types (#14382)
  • Fix UDT syntax highlighting (#14372)
  • Ensure \n is used when emitting template (#14581)
  • Fix Intellisense and other features of Bicep in Visual Studio that were broken by VS 17.10 (#14532)

Refactoring

  • Use string.Method(char) instead of string.Method(string) when possible (#14255) - thanks @Meir017!
  • Use collection expression (#14318) - thanks @Meir017!

v0.28.1

04 Jun 23:27
ba1e9f8
Compare
Choose a tag to compare

Highlights

Bicep Team

  • MS Graph Extensibility is now in Public Preview!
  • Support spread completions inside ternary and parenthesized expressions (#14058)
  • Allow dot property access on union of objects with undeclared property (#14060)
  • Allow importing from Bicep templates with required parameters (#14070)

Bugs and Features

Bicep Team

  • Improve BCP395 error message (#14094)
  • Fix index out of range for bicep format with --insert-final-newline (#14193)

v0.27.1

07 May 21:10
4b41cb6
Compare
Choose a tag to compare

Highlights

Bicep Team

  • "publishSource" is now GA! (#13899)
  • Implement the spread ... operator, other new functions, and indices on lambdas (#13658)
    • Support completions inside object spread (#14000)
  • Normalize indenting for multi-line descriptions (#14013)
  • Default levels for linting rules finalized (#13847)
  • Permit validation for property access on union types (#14017)

Bugs and Features

Bicep Team

  • Clarify on JSONRPC format (#13825)
  • Support --outdir param with build-params (#13890)
  • Create 'use-secure-value-for-secure-inputs' linter rule (#13905)
  • Add detailed validation for UDFs with UDTs (#14011)
  • Fix for stack overflow issue (#14049)
  • Check namespaces in prefer-interpolation linter rule (#14050)
  • Support codefix for missing Bicep params (#14012)
  • Formatting rule improvements (#13945)
  • Recognize common keywords for resource type completions (#13721)
  • Show full path of built JSON file so it's clickable in vscode (#13787)
  • Try to fix 13333 (#13788)
  • Make some minor improvements to resource filter keywords and add filter keyword support for resource snippets (#13731)
  • 13842 Bicep linter doesn't recognise managementGroupResourceId as a r… (#13889)

v0.26.170

12 Apr 00:29
e9abaf1
Compare
Choose a tag to compare

Features and Bug Fixes

Bicep Team:

  • Support including imported types in user-defined tagged unions (#13728)
  • Preserve distinction between {} and object in compiled JSON (#13597)
  • Distinguish between type syntax vs expression syntax in the parser (#13671)
  • Fix bug with parsing expressions in object keys from ARM templates (#13665)
  • Avoid running no-hardcoded-env-urls linter rule in .bicepparam files (#13608)
  • Fix importing tagged unions from compiled JSON (#13733)
  • Fix importing tuples from JSON (#13736)
  • Clarify wording for BCP081 warning (#13739)

@davidlloyduk

@itpropro

v0.26.54

13 Mar 18:27
5e20b29
Compare
Choose a tag to compare

Highlights

Bicep Team:

  • User Defined Functions are now GA! (#13458)
  • Allow function imports in .bicepparam files (#13459)
  • Handle single-member unions imported from JSON templates (#13464)
  • Raise diagnostic when whole resource body is used as a type (#13494)
  • Added support for recursive build and publish output (#13292)
  • V1 Formatter Deprecated: new feature flag legacyFormatter (#13394)
  • Support loading source dynamically for nested external modules (#13495)

Features and Bug Fixes

Bicep Team

  • Fix for issue 13531 (#13532)
  • Fix for various issues noticed with provider syntax (#13542)
  • Show tooltips on hover for type property definitions and type additional properties accesses (#13546)
  • Remove v1 formatter (#13290)
  • Allow dot in resource type version pattern (#13331)
  • Fix formatting for comma-separated arguments list (#13504)
  • Preserve nullability when loading resource-derived type from ARM JSON template (#13536)

@olegKoshmeliuk

v0.25.53

12 Feb 20:26
c0ad57d
Compare
Choose a tag to compare

Features and Bug Fixes

Bicep Team:

  • Fix an issue where use-recent-api-versions triggers unhandled exception (#13240)
  • Make sure types from wildcard imports are assigned the correct type when pulling from ARM JSON models. (#13255)
  • Don't raise missing properties diagnostic if assigned object value has an additional properties type (#13272)
  • Fix for double-evaluation issue with compile-time imports (#13277)
  • Ensure language server refreshes modules on force refresh (#13278)

v0.25.3

07 Feb 01:08
8627085
Compare
Choose a tag to compare

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:
    • Add a resource<'type@version'> utility type (#12591)
    • Allow use of type properties as type expressions (#13047)
  • 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)

v0.24.24

14 Dec 19:29
5646341
Compare
Choose a tag to compare

Highlights

  • User Defined Types are no longer experimental! (#12577)
  • [EXPERIMENTAL] Optional module names (#12600)
  • [EXPERIMENTAL] Add bicep jsonrpc command to CLI for programmatic consumption (#12397)
  • Implement pretty-printing for union types (#12584)

Features and Bug Fixes

  • Fix for ParameterAssignmentSymbol not present in the dictionary (#12420)
  • Fix: Avoid emitting parameters if there are parse errors (#12641)
  • Implement consistent markdown handling for hovers & completions (#12654)
  • Support overriding of default values when building .bicepparam files (#12648)
  • Write lint sarif output to stdout instead of stderr (#12703)
  • Fix dynamic loading feature to load providers from custom bicepconfig.json aliases (#12267)
  • Prompt warning when an unidentified flag is detected (#12480)
  • Update Microsoft Graph Bicep Types (#12578)
  • Use a symbolic name target if any functions are imported (#12408)
  • Use discriminator constraint to declare tagged union types when loading ARM JSON models (#12388)
  • Update UseResourceIdFunctionsRule to account for nullable and aggregate types (#12421)
  • Centralize imported symbol to ARM expression conversion (#12405)
  • Add support for importing variables that enclose synthesized variables (#12473)
  • Handle nested UDF calls during import migration (#12575)
  • Fixed exception during decompilation of object properties (#12410)
  • Deprecate Bicep CLI parameters using camel case (#12469)
  • Change format of requests to show module sources (#12351)

v0.23.1

02 Nov 13:20
b02de2d
Compare
Choose a tag to compare

Highlights

Bicep Team

  • [Experimental] Compile-time function imports (#12221)
  • [Experimental] Allow user-defined functions to call each other (#12145)
  • MSBuild support for .bicepparam (#12272)
  • [BREAKING CHANGE] Changes to our Module Manifests (#12057)
  • Add user-assigned identity credential options to Bicep configuration (#12265)

Features and Bug Fixes

Bicep Team

  • Publish semantic tokens for object type keys (#12199)
  • Add bicepparam support to lint command (#12280)
  • Add sarif support to build-params command (#12283)
  • [Experimental] Switch experimental deploy pane from opt-in to opt-out model (#12215)
  • [Experimental] Implement provider declaration aliasing (#12127)
  • Update ExpressionRewriteVisitor to rewrite param and output type clauses (#12055)
  • Update CyclicCheckVisitor to prohibit self references within an access expression in type syntax (#12072)
  • Correct terminating token for tuple parsing recovery (#12140)
  • Collapse unions of objects with an inferable discriminator into tagged unions (#12129)
  • Don't report exported variables as unused (#12275)
  • Allow both provider and import keywords for extensibility statements (#12281)
  • Load documentationUri from Bicep registry module index data (#12207)
  • Block direct resource access in top level properties (#12291)
  • [Experimental] --with-source argument for publish command (#12128)
  • Fix 11467 by disabling virtual workspaces (#12259)

@miqm

  • Allow declaring decorators on nested child resources (#12209)