Skip to content

Releases: Azure/bicep

v0.31.34

06 Nov 18:43
ec82b47
Compare
Choose a tag to compare

Highlights

  • Improve ternary type inference (#15399)
  • Allow dependsOn for existing resources (#15459)
  • Tree-shake existing resources where possible (#15447)
  • Sort public registry module version completion items (#15400)
  • Refactor: Extract variable, parameter, type (#14701)
  • Allow imported variable access from within User Defined Functions (#15142)
  • Nameof function (#14704) - Thanks @miqm !

Bugs and Features

  • Add deprecation warning for microsoftGraph builtin extension (#15149)
  • Add deployment script snippets (#15191)
  • Fix reduce() return type signature (#15386)
  • Clarify newlines before/after extractions (#15194)
  • 15266 Completion for "resource<...>" should include the necessary str… (#15267)
  • Allow extracting param as resource-derived type (#15282)
  • Fix linter rule: Max variables limit increased from 256 -> 512 (#15464)

v0.30.23

24 Sep 17:46
ec3612e
Compare
Choose a tag to compare

What's Changed

  • Support named pipe fallback for IPC in local mode on unsupported platforms (#15046)

New Contributors

v0.30.3

17 Sep 14:57
2f0e78d
Compare
Choose a tag to compare

Highlights

  • Bicep error codes for core diagnostics documentation (#14881)
  • Allow Variable Symbol Access from within user defined functions (#14531)

Bugs and Features

  • Use minutes in VS Code default bicep deployment name (#14764) - thanks @Strandfelt !
  • Support completions for import file paths (#14659)
  • Handle operator precedence correctly in use-safe-access linter rule codefix (#14710)
  • Local mode Bicep issue fixes for #14770 (#14830)
  • Support validation & completions for property access on array element (#14846)
  • Rename provider -> extension in many places (#14872)
  • adding code completion for extends keyword in bicepparam files (#14986)
  • adding none in the suggested completions list (#14988)
  • Avoid assigning invalid cyclic types to declarations (#14874)
  • Trim descriptions in compiled JSON (#14870)
  • Deploy pane: link to correct Portal blade for nested deployments (#14880)
  • Relax bicepconfig.json validation for extensions, to allow file paths (#14873)
  • Add spread & multiline objects + arrays to grammar (#14983)
  • Use imported symbol identifiers rather than identity in memory to deduplicate imports when building closure (#14615)
  • Enable type narrowing on assignment of non-variable symbols (#14989)
  • Fix go to def for template spec modules (#14871)
  • Fix obsoletion warnings (#14992)
  • What If Short Circuiting Linter Rule (Default Off) (#14910)
  • Added Documentation on Extendable Bicep Params (#14865)
  • Fix for issue 12800 function arguments with comment before end token (#14699)

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)