Skip to content

Releases: Azure/bicep

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)

v0.10.13

08 Sep 17:43
026b4da
Compare
Choose a tag to compare

Features and bug fixes:

Bicep Team:

  • Add fix for locale-independent number conversion (#7829)
  • Add appInsights, ability to load quickstart samples to playground (#7832)
  • Add ability to generate .bicep file from a Kubernetes manifest (#7812)
  • Extensibility - fix namespace completions, make kubernetes a singleton namespace (#7870)
  • Fix up support for provider config completions (#7895)
  • Enable lambdas in Bicep (#7867)
  • Add script & GHA to bump dependency versions (#8225)
  • Update use-stable-resource-identifiers linter rule to support multiple violations on the same root (#7910)
  • Registry module tool improvements (#8191)
  • Preserve underscores in names in decompilation (#8221)
  • Linter:
    • Port linter rule secure-params-in-nested-deploy (#7741)
    • Port TTK linter rule: use-recent-api-version (#7612)
    • Port TTK rule use-resourceid-functions (#7907)
    • Fix #8028 (#8040)
    • Fix 8016 ignore artifacts params without underscores (#8067)
    • Fix 8047 (#8048)
    • Fix 8030, modules with use-resource-id-functions (#8143)
    • use-recent-api-versions should check function calls (#8135)

@alexangas

  • Fix: Bogus no-unused-existing-resources for nested resources (#7906)

@tonybaloney

  • Add flexible servers and private DNS zone fall through switches (#7996)

@johnlokerse

  • Added private endpoint Bicep snippet (#7929)

@sammeel

  • Add helpful error when builtin function is shadowed by local variable (#6027)

@StefanIvemo

  • Changed the tooltip description for uniqueString() to include length (#8007)
  • [Snippet] - Azure Firewall Standard SKU for VWAN (#6302)
  • [Snippet] - Azure Firewall Standard SKU (#6301)

@iamvighnesh

  • Snippet - Service Bus Namespace (#5273)

v0.9.1

02 Aug 16:47
a2950a1
Compare
Choose a tag to compare

Highlights

Bicep team:

@alexangas

Features and bug fixes

Bicep team:

  • Block indexed access into a module/resource collection inside a lambda (#7512)
  • fixed exception due to loop-invariant index expression (#7754)
  • Handle race condition in visualizer (#7514)

v0.8.9

06 Jul 10:28
33a8517
Compare
Choose a tag to compare

Bug fixes

Bicep team:

  • Fix for issue 7455 (#7483)
  • Fix for issue 7482 (#7484)
  • Fix default type definition for 'identity' property (#7489)

@NenoLoje

  • Fixed typo: "free free" --> "feel free" (#7438)

v0.8.2

01 Jul 20:54
78a65ae
Compare
Choose a tag to compare

Highlights

  • Add support for join() function (#7327)
  • Add deprecation notice for providers() function (#7365)
  • Add support for readonly resource types (i.e. built-in policy definitions) (#7397)
  • Remove setting for bicep deploy and make it available by default (#7349)
  • Updated types for 0.8 release (#7431)

Features and bug fixes

Bicep team:

  • Generate params: ensure parameters file is replaced in full (#7240)
  • Update LangServer CodeAction test to account for spans that have multiple proposed code fixes (#7369)
  • Add a linter rule to suggest using identifier tokens and property access for object properties when the property name permits it. (#6584)
  • Fixed type checking exception with overloaded binary operators and operands of any type (#7337)
  • Fixed dependency generation with existing resources (#7433)
  • Improve scaffolding experience with new config file (#7250)
  • Added default type definitions. (#7174)
  • Add validation for parent property (#7254)

@miqm

  • LoadJsonContent fix selecting multiple tokens and handling copy object property (#7293)
  • Load Functions' path argument completions and navigation (#7237)

@nonik0

  • Bicep Source Mapping (map ARM JSON lines back to Bicep source lines) (#6852)

@stan-sz

Docs and snippets

Bicep team:

  • Remove limitation from README (#7299)
  • Update contribution guide to mention that we are no longer taking example contributions (#7230)

@johnlokerse

  • Add Bicep snippets: res-lock and res-scoped-lock (#7085)

@mgreenegit

v0.7.4

13 Jun 18:19
5afc312
Compare
Choose a tag to compare

Highlights

Bicep team:

  • Allow single-line array and object declarations, and multi-line function declarations (#5830)
  • Various improvements to "Bicep Deploy" command in VS Code
    • Bicep deploy - additional params support (#7030)
    • Bicep deploy - update settings and walkthrough (#7143)
    • Fix duplicate recently used items issue in parameters file selection list (#7121)

@polatengin

  • Added Generate parameters file command which can be used in VS Code or via Bicep CLI (#6601)

@miqm

  • Added loadJsonContent function (#6563)
    • Will more efficiently generate final ARM Template, resulting in smaller files
    • Allows for JSONPath queries to load only part of the requested JSON file

Bug fixes and features

Bicep team:

  • Support name polymorphic discriminator on for-loop resources (#7158)
  • Insert Resource: Attempt API-version based lookup with generic fallback (#7163)
  • Preserve literal elements in string union types (#6933)
  • Update Bicep registry module tool to generate a description section in README (#7039)
  • Update types (#7157)
  • Create nuget package for bicep language server (#6803)
  • Fixed logic when parsing jToken values to handle negative integers. (#6900)
  • Improved error message for iterator loop warning. (#7122)

@nilshedstrom

  • Provide remove unused parameter/variable as quickfix. Fixes #5613 (#5804)

@stan-sz

  • Enforce no unused using with build break (#6978)

Docs and snippets

@johnlokerse

  • Added Bicep snippet for role assignment (#7026)

@metaxasa

  • Update README.md (#6647)

v0.6.18

13 May 16:44
46dd19e
Compare
Choose a tag to compare

Unfortunately, we had one more regression, so this release is primarily to fix #6823.

Bug fixes and features

Bicep team:

  • Avoid serializing and deserializing template specs (#6833)
  • Proper capitalization of commands (#6813)
  • Added changes to allow non-DTC values for name in existing resources. (#6778)