Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: Azure/bicep

Tags

v0.38.33

Toggle v0.38.33's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bicep.RpcClient - use PipeReader & PipeWriter APIs (#18212)

* Use PipeReader & PipeWriter APIs
* Ensure the child process is explicitly killed

v0.38.5

Toggle v0.38.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add library for interacting with Bicep CLI via JSONRPC (#18151)

Add library for installing and interacting with Bicep CLI via
[JSONRPC](https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-cli?tabs=bicep-cli#jsonrpc).
This provides a unified and efficient interface for calling any version
of Bicep programatically.

Features:
* Spawns a single executable to minimize cold-start delays for multiple
Bicep requests
* Minimal NuGet dependencies
* Supports caching of binaries under `~/.bicep/bin`
* Supports all JSONRPC methods
* Supports concurrency

Example usage:
```csharp
var clientFactory = new BicepClientFactory(new HttpClient());
using var client = await clientFactory.DownloadAndInitialize(new() { BicepVersion: "0.38.3" }, cancellationToken);

var result = await Bicep.Compile(new("/path/to/main.bicep"));
```

v0.38.3

Toggle v0.38.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge Bicep REPL to main branch (#18152)

## Description

Introduces Bicep REPL (exposed via `bicep console` command) experimental
feature

## Example Usage
Included in docs

## Checklist

- [x] I have read and adhere to the [contribution
guide](https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md).

###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/18152)

---------

Co-authored-by: Tate Smalligan <[email protected]>
Co-authored-by: Anthony Martin <[email protected]>

v0.37.4

Toggle v0.37.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add stacks extensibility linting rule. Restrict syntax on config assi…

…gnments. (#17654)

## Description

- Adds `stacks-extensibility-compat` linter rule. Defaults to `Info`
level. Flags non-key vault references for secure extension config
properties as well as key vault references for non-secure properties.
- Add syntax restriction diagnostics for unsupported scenarios (object
spreads, ternaries, invalid references)
- Migrate main baselines and params baselines to use the newer
`TestExternalArtifactManager`, as well as supply some mock extensions by
default to test different config schemas.
- Update tests and baselines with additional scenarios.
- Update the `moduleExtensionConfigs` experimental flag doc. It should
be ready for use now.

## Example Usage

## Checklist

- [x] I have read and adhere to the [contribution
guide](https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md).

###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/17654)

v0.36.177

Toggle v0.36.177's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump Azure.Bicep.Types (#17515)

###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/17515)

v0.36.1

Toggle v0.36.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump bicep version to 0.36 (#17239)

## Description

Bump bicep version to 0.36 for end of month release

## Checklist

- [X] I have read and adhere to the [contribution
guide](https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md).

###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/17239)

v0.35.1

Toggle v0.35.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump bicep version to 0.35 (#17031)

Bump bicep version to 0.35
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/17031)

v0.34.44

Toggle v0.34.44's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Validate regex patterns against non-backtracking engine (#16687)

Resolves #16676 
Resolves #16681 
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/16687)

v0.34.1

Toggle v0.34.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
bump the version for bicep release (#16657)

# Contributing a Pull Request

If you haven't already, read the full [contribution
guide](https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md). The
guide may have changed since the last time you read it, so please
double-check. Once you are done and ready to submit your PR, run through
the relevant checklist below.

## Contributing to documentation

* [ ] All documentation contributions should be made directly in the
[Bicep documentation on Microsoft
Docs](https://docs.microsoft.com/azure/azure-resource-manager/bicep/).

## Contributing an example

We are integrating the Bicep examples into the [Azure QuickStart
Templates](https://github.com/Azure/azure-quickstart-templates/blob/master/1-CONTRIBUTION-GUIDE/README.md).
If you'd like to contribute new example `.bicep` files that showcase
abilities of the language, please follow [these
instructions](https://github.com/Azure/azure-quickstart-templates/blob/master/1-CONTRIBUTION-GUIDE/README.md)
to add them directly there. We can still take bug reports and fixes for
the existing examples for the time being.

* [ ] This is a bug fix for an existing example
* [ ] I have resolved all warnings and errors shown by the Bicep VS Code
extension
* [ ] I have checked that all tests are passing by running `dotnet test`
* [ ] I have consistent casing for all of my identifiers and am using
camelCasing unless I have a justification to use another casing style

## Contributing a feature

* [ ] I have opened a new issue for the proposal, or commented on an
existing one, and ensured that the Bicep maintainers are good with the
design of the feature being implemented
* [ ] I have included "Fixes #{issue_number}" in the PR description, so
GitHub can link to the issue and close it when the PR is merged
* [ ] I have appropriate test coverage of my new feature

## Contributing a snippet

* [ ] I have a snippet that is either a single, generic resource or
multi resource that uses [parent-child
syntax](https://docs.microsoft.com/azure/azure-resource-manager/bicep/child-resource-name-type)
* [ ] I have checked that there is not an equivalent snippet already
submitted
* [ ] I have used camelCasing unless I have a justification to use
another casing style
* [ ] I have placeholders values that correspond to their property names
(e.g. `dnsPrefix: 'dnsPrefix'`), unless it's a property that MUST be
changed or parameterized in order to deploy. In that case, I use
'REQUIRED' e.g.
[keyData](./src/Bicep.LangServer/Files/SnippetTemplates/res-aks-cluster.bicep#L26)
* [ ] I have my symbolic name as the first tab stop ($1) in the snippet.
e.g.
[res-aks-cluster.bicep](./src/Bicep.LangServer/Files/SnippetTemplates/res-aks-cluster.bicep)
* [ ] I have a resource name property equal to "name"
* [ ] If applicable, I have set the `location` property to `location:
/*${<id>:location}*/'location'` (not `resourceGroup().location`) where
`<id>` is a placeholder id, and added `param location string` to the
test's main.bicep file so that the resulting main.combined.bicep file
used in the tests compiles without errors
* [ ] I have verified that the snippet deploys correctly when used in
the context of an actual bicep file

  e.g.

  ```bicep
resource aksCluster
'Microsoft.ContainerService/managedClusters@2021-03-01' = {
    name: 'name'
  ```

###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/16657)

v0.33.93

Toggle v0.33.93's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Try to fix the VS VSIX build job (#16240)

The VSIX build job is failing in ADO.
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/16240)