-
Notifications
You must be signed in to change notification settings - Fork 762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tagged union type declarations #9230
Comments
Alternative syntax proposal from @WhitWaldo in #9369:
|
The last proposal seems the most easier to read for me if that is the only thing we classify upon. |
Just wanted to add some strawman syntax variations for comparison. To give a more complete example, each snippet describes the shape of the Unions via inheritanceBased on the proposal in #9369 abstract type CertificateProperties = {
type: string
activateDate: string
dnsNames: string[]
expirationDate: string
issuedDate: string
issuer: string
provisioningState: 'Creating' | 'Deleting' | 'Failed' | 'Succeeded' | 'Updating'
subjectName: string
thumbprint: string
}
type ContentCertificateProperties extends CertificateProperties = {
type: 'ContentCertificate'
content: string
}
type KeyVaultCertificateProperties extends CertificateProperties = {
type: 'KeyVaultCertificate'
certVersion: string
excludePrivateKey: bool
keyVaultCertName: string
vaultUri: string
} If this were implemented, TypeScript-style discriminated unionstype ContentCertificateProperties = {
type: 'ContentCertificate'
activateDate: string
dnsNames: string[]
expirationDate: string
issuedDate: string
issuer: string
provisioningState: 'Creating' | 'Deleting' | 'Failed' | 'Succeeded' | 'Updating'
subjectName: string
thumbprint: string
content: string
}
type KeyVaultCertificateProperties = {
type: 'KeyVaultCertificate'
activateDate: string
dnsNames: string[]
expirationDate: string
issuedDate: string
issuer: string
provisioningState: 'Creating' | 'Deleting' | 'Failed' | 'Succeeded' | 'Updating'
subjectName: string
thumbprint: string
certVersion: string
excludePrivateKey: bool
keyVaultCertName: string
vaultUri: string
}
type CertificateProperties = ContentCertificateProperties | KeyVaultCertificateProperties; The comparison between this option and the above is a bit unfair, since there's no way inherent to the union ( TypeScript-style discriminated union (but with structural inheritance via
|
commit 2b6539dc8bc58e282c8310dfc48219cf1c5eab0f Author: Jonny Eskew <jeskew@users.noreply.github.com> Date: Thu Aug 3 15:18:29 2023 -0400 Raise an error-level diagnostic when two symbols of a given type are differentiated only by casing (#11453) Resolves #502 Because this change is accounting for an intermediate language limitation, templates that use symbols *of different types* whose names are differ only by casing are still permitted, since the ARM engine uses a separate namespace for each category of symbol. ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11453&drop=dogfoodAlpha commit 230eecb3240763bca98d9690d992457157bbb9ed Author: JuanPabloMontoya <juanpablomontoyae@gmail.com> Date: Wed Aug 2 15:07:28 2023 -0700 Evaluate Assertions And Display Test Results On CLI (#11370) - Handle Asserts and store resutls per test - Output results on CLI based on the Customer Interviews from the PM team - Develop Tests Cases for the Test Framework Fix #11369 ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11370&drop=dogfoodAlpha --------- Co-authored-by: Shenglong Li <shenglong.li@outlook.com> commit d268be0c29170f63a9585f6cdf1bc12399e5bb90 Author: Anthony Martin <38542602+anthony-c-martin@users.noreply.github.com> Date: Wed Aug 2 17:56:58 2023 -0400 Support variables in .bicepparam files (#11438) Closes #11226 ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11438&drop=dogfoodAlpha commit aff94d4ddc3a4e590bad467fa5ee1de1d7673793 Author: davidcho23 <94467694+davidcho23@users.noreply.github.com> Date: Wed Aug 2 17:04:27 2023 -0400 Updating release checklist (#11443) Updating release checklist ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11443&drop=dogfoodAlpha commit 2fb34826f6f6100c0caa4defe920dd545cf6646f Author: Anthony Martin <38542602+anthony-c-martin@users.noreply.github.com> Date: Wed Aug 2 14:55:39 2023 -0400 Add doc to explain usage of deployment pane feature (#11442) ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11442&drop=dogfoodAlpha commit 09bcbc5bcbb1ef198fc0cea846b978dae04414bb Author: Anthony Martin <38542602+anthony-c-martin@users.noreply.github.com> Date: Wed Aug 2 14:54:22 2023 -0400 Handle duplicate param assignments gracefully (#11439) Closes #11437 ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11439&drop=dogfoodAlpha commit 7ceb2acea88b1596f8079130471e4aacbd231a7d Author: Kyle Albert <5498623+kalbert312@users.noreply.github.com> Date: Wed Aug 2 14:10:38 2023 -0400 Bump deployments version to 1.0.1040 (#11440) Supports https://github.com/Azure/bicep/pull/11222 / #9230 ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11440&drop=dogfoodAlpha commit c9422e016d749132f5c72b0fc9fe845abb96cac2 Author: Anthony Martin <38542602+anthony-c-martin@users.noreply.github.com> Date: Tue Aug 1 13:20:03 2023 -0400 Update release-checklist.md (#11433) ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11433&drop=dogfoodAlpha commit 096aa834aa0590bf89fe7bf84a41cb7f3a80b646 Author: Anthony Martin <38542602+anthony-c-martin@users.noreply.github.com> Date: Tue Aug 1 11:25:02 2023 -0400 Bump NuGet.CommandLine version (#11432) ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11432&drop=dogfoodAlpha commit 8eb2fee90f2ace703a7d8b9f81fa8ffbab8a820d Author: Jonny Eskew <jeskew@users.noreply.github.com> Date: Tue Aug 1 08:08:57 2023 -0400 Ensure unions with a single member (after deduplication) are compiled correctly (#11375) Resolves #11358 `TypeHelper.CreateTypeUnion` will deduplicate the supplied member types, so an expression like `type foo = 'foo' | 'foo'` will be assigned a string literal type rather than a union type. This works fine until you get to the TemplateWriter, which expects a `UnionTypeSyntax` node that compiled without errors to be a `UnionType`. ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11375&drop=dogfoodAlpha commit 9507aa67f6d46dbed7ac9a195c739069052adc75 Author: davidcho23 <94467694+davidcho23@users.noreply.github.com> Date: Mon Jul 31 16:45:08 2023 -0400 Bumping Bicep version to 0.20 (#11428) Bumping Bicep version to 0.20 commit 9c7297f4b37fccda6c5bd0ded87b420752bb7949 Author: Anthony Martin <38542602+anthony-c-martin@users.noreply.github.com> Date: Mon Jul 31 16:22:19 2023 -0400 Add check for Powershell Core to baseline script (#11426) This change adds a PS edition check to `SetBaseline.ps1`, so that we can just have a single script that'll work on both Core & Desktop editions. ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11426&drop=dogfoodAlpha commit c48d1c27989a62ef0cd389b0d2292dc6c644b90d Author: davidcho23 <94467694+davidcho23@users.noreply.github.com> Date: Mon Jul 31 16:13:49 2023 -0400 Upgrading Types Az Nuget version for bicep release 0.20 (#11425) Bicep release 0.20 ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11425&drop=dogfoodAlpha commit 1612e4e30c0f235bb5da647d28b73ff7dda6ffd9 Author: Anthony Martin <38542602+anthony-c-martin@users.noreply.github.com> Date: Mon Jul 31 13:11:59 2023 -0400 Deployment pane minor tweak: wrap pre-formatted JSON text (#11424) Example: <img width="476" alt="image" src="https://github.com/Azure/bicep/assets/38542602/5a7c6efd-f41d-47ea-a370-9f8aeb93b025"> ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11424&drop=dogfoodAlpha commit 7c4bfda20f96918cbb46436d85eb0d50109cbcf8 Author: Stephen Weatherford (MSFT) <StephenWeatherford@users.noreply.github.com> Date: Mon Jul 31 10:10:46 2023 -0700 10346 br/alias completions to top level (#11381) Fixes #10346 ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11381&drop=dogfoodAlpha --------- Co-authored-by: Bicep Automation <bicep@noreply.github.com> Co-authored-by: Stephen Weatherford <Stephen.Weatherford.com> commit 8d652808e1a1d72e13fc80a5557e44b2c2e29fde Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Jul 31 13:08:39 2023 +0000 Bump Azure.Bicep.Types from 0.3.99 to 0.3.181 (#11346) Bumps [Azure.Bicep.Types](https://github.com/Azure/bicep-types) from 0.3.99 to 0.3.181. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/Azure/bicep-types/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Azure.Bicep.Types&package-manager=nuget&previous-version=0.3.99&new-version=0.3.181)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11346&drop=dogfoodAlpha --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Anthony Martin <38542602+anthony-c-martin@users.noreply.github.com> commit 4d59b61e25bdf951c58cc4f64499e49fa45b0a8f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Jul 31 13:08:27 2023 +0000 Bump Sarif.Sdk from 4.2.2 to 4.3.0 (#11415) Bumps [Sarif.Sdk](https://github.com/Microsoft/sarif-sdk) from 4.2.2 to 4.3.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/microsoft/sarif-sdk/blob/main/ReleaseHistory.md">Sarif.Sdk's changelog</a>.</em></p> <blockquote> <h2><strong>v4.3.0</strong> <a href="https://www.nuget.org/packages/Sarif.Sdk/v4.3.0">Sdk</a> | <a href="https://www.nuget.org/packages/Sarif.Driver/v4.3.0">Driver</a> | <a href="https://www.nuget.org/packages/Sarif.Converters/v4.3.0">Converters</a> | <a href="https://www.nuget.org/packages/Sarif.Multitool/v4.3.0">Multitool</a> | <a href="https://www.nuget.org/packages/Sarif.Multitool.Library/v4.3.0">Multitool Library</a></h2> <ul> <li> <p>BUG: Resolve <code>NullReferenceException</code> retrieving <code>MultithreadedZipArchiveArtifactProvider.SizeInBytes</code> after content have been faulted in.</p> </li> <li> <p>BUG: Improve HDF->SARIF conversion to properly map various properties (e.g., <code>kind</code>, <code>level</code>, <code>rank</code>) and generally prepare the converted SARIF for ingestion to <a href="https://docs.github.com/en/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning">GitHub Advanced Security</a>.</p> </li> </ul> <h2><strong>v4.2.1</strong> <a href="https://www.nuget.org/packages/Sarif.Sdk/4.2.1">Sdk</a> | <a href="https://www.nuget.org/packages/Sarif.Driver/4.2.1">Driver</a> | <a href="https://www.nuget.org/packages/Sarif.Converters/4.2.1">Converters</a> | <a href="https://www.nuget.org/packages/Sarif.Multitool/4.2.1">Multitool</a> | <a href="https://www.nuget.org/packages/Sarif.Multitool.Library/4.2.1">Multitool Library</a></h2> <ul> <li>BUG: Resolve <code>NotSupportedException</code> thrown (on .NET 4.8 and earlier) on accessing <code>DeflateStream.Length</code> from <code>MultithreadedZipArchiveArtifactProvider.SizeInBytes</code> property.</li> </ul> <h2><strong>v4.2.0</strong> <a href="https://www.nuget.org/packages/Sarif.Sdk/4.2.0">Sdk</a> | <a href="https://www.nuget.org/packages/Sarif.Driver/4.2.0">Driver</a> | <a href="https://www.nuget.org/packages/Sarif.Converters/4.2.0">Converters</a> | <a href="https://www.nuget.org/packages/Sarif.Multitool/4.2.0">Multitool</a> | <a href="https://www.nuget.org/packages/Sarif.Multitool.Library/4.2.0">Multitool Library</a></h2> <ul> <li>BRK: Change <code>ArtifactProvicer.SizeInBytes</code> property type from <code>ulong</code> to <code>long</code>. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2675">#2675</a></li> <li>BRK: Update <code>SarifLog.Post(Uri, StreamWriter, HttpClient)</code> return value to <code>HttpResponseMessage</code> (to make returned correlation id and error messages available). <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2672">#2672</a></li> <li>BRK: <code>RuntimeConditions</code> now of type <code>long</code> to permit more flag values. Many literal values have changed for individual members. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2660">#2660</a></li> <li>BRK: <code>RuntimeConditions.OneOrMoreFilesSkippedDueToSize</code> renamed to <code>OneOrMoreFilesSkippedDueToExceedingSizeLimits</code>. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2660">#2660</a></li> <li>BRK: <code>Notes.LogFileSkippedDueToSize</code> renamed to <code>LogFileExceedingSizeLimitSkipped</code>. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2660">#2660</a></li> <li>BRK: Command-line argument <code>automationGuid</code> renamed to <code>automation-guid</code>. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2647">#2647</a></li> <li>BRK: Command-line argument <code>automationId</code> renamed to <code>automation-id</code>. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2647">#2647</a></li> <li>BRK: Update <code>AnalyzeOptionsBase</code> <code>Quiet</code>, <code>Recurse</code>, <code>LogEnvironment</code>, and <code>RichReturnCode</code> properties to bool? type. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2644">#2644</a></li> <li>BRK: Rename <code>Errors.LogExceptionCreatingLogFile</code> to <code>Errors.LogExceptionCreatingOutputFile</code> to reflect its general purpose. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2643">#2643</a></li> <li>BRK: Add <code>IAnalysisContext.FileRegionsCache</code> property. Used for data sharing across analysis phases. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2642">#2642</a></li> <li>BRK: Remove <code>FileRegionsCache.Instance</code> singleton object. Analysis should always prefer context file region context instead. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2642">#2642</a></li> <li>BRK: <code>fileRegionsCache</code> parameter is now required for the <code>InsertOptionalDataVisitor</code>. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2642">#2642</a></li> <li>BRK: Add <code>IAnalysisLogger.TargetAnalysisComplete</code> method. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2637">#2637</a></li> <li>BRK: Remove unused <code>quiet</code> parameter from <code>SarifLogger</code>. [#2639]<a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2639">microsoft/sarif-sdk#2639</a></li> <li>BRK: Remove <code>ComputeHashData</code> and <code>AnalysisTargetToHashDataMap</code> properties from <code>SarifLogger</code> (in preference of new <code>fileRegionsCache</code> parameter. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2639">#2639</a></li> <li>BRK: Eliminate proactive hashing of artifacts in <code>SarifLogger</code> constructor when <code>OptionallyEmittedData.Hashes</code> is specified. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2639">#2639</a></li> <li>BUG: Provider better size return values for in-memory <code>EnumeratedArtifact</code> instances. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2674">#2674</a></li> <li>BUG: Fixed <code>ERR999.UnhandledEngineException: System.InvalidOperationException: This operation is not supported for a relative URI</code> when running in Linux with files skipped due to zero byte size. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2664">#2664</a></li> <li>BUG: Properly report skipping empty files (rather than reporting file was skipped due to exceeding size limits). <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2660">#2660</a></li> <li>BUG: Update user messages and code comments that refer to <code>--force</code> (replaced by <code>--log ForceOverwrite</code>). <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2656">#2656</a></li> <li>BUG: Handle return code 422 <code>UnprocessableEntity</code> when validating that log file POST endpoint is available. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2656">#2656</a></li> <li>BUG: Eliminate erroneous <code>Posted log file successfully</code> message when context <code>PostUri</code> is non-null but empty. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2655">#2655</a></li> <li>BUG: Resolves <code>IOException</code> raised by calling <code>FileSystem.ReadAllText</code> on file locked for write (but not read). <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2655">#2655</a></li> <li>BUG: Correct <code>toolComponent.language</code> regex in JSON schema. [#2653]<a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2653">microsoft/sarif-sdk#2653</a></li> <li>BUG: Generate <code>IAnalysisLogger.AnalyzingTarget</code> callbacks from <code>MulthreadedAnalyzeCommandBase</code>. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2637">#2637</a></li> <li>BUG: Persist <code>fileRegionsCache</code> parameter in <code>SarifLogger</code> to support retrieving hash data. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2639">#2639</a></li> <li>BUG: Allow override of <code>FailureLevels</code> and <code>ResultKinds</code> in context objects. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2639">#2639</a></li> <li>NEW: Add general <code>Notes.LogFileSkipped</code> notification mechanism for any skipped files. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2675">#2675</a></li> <li>NEW: Add 50K files to analysis channel (rather than previous value of 25k). Smooths performance analyzing many small artifacts. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2674">#2674</a></li> <li>NEW: Provide new ETW telemetry for runtime behavior, provider <code>SarifDriver</code>, guid <code>c84480b4-a77f-421f-8a11-48210c1724d4</code>. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2668">microsoft/sarif-sdk#2668</a></li> <li>NEW: Provide convenience enumerator at the <code>SarifLog</code> level that iterates over all results in all runs in the log. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2660">#2660</a></li> <li>NEW: Provide <code>Notes.LogEmptyFileSkipped</code> helper for reporting zero-byte files skipped at scan time. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2660">#2660</a></li> <li>NEW: Add <code>MemoryStreamSarifLogger</code> (for in-memory SARIF generation). <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2655">#2655</a></li> <li>NEW: Add <code>AnalyzeContext.VersionControlProvenance</code> property. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2646">#2646</a></li> <li>NEW: Add <code>DefaultTraces.ResultsSummary</code> property that drives naive results summary in console logger. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2643">#2643</a></li> <li>NEW: Prove <code>AnalyzeContextBase.Inline</code> helper. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2643">#2643</a></li> <li>NEW: <code>SarifLogger.FileRegionsCache</code> property added (to support sharing this instance with context and other classes). <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2642">#2642</a></li> <li>NEW: <code>MultithreadedAnalyzeCommandBase.Tool</code> is now public to support in-memory analysis (and logging) of targets. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2639">#2639</a></li> <li>NEW: Add <code>DefaultTraces.TargetsScanned</code> which is used by <code>ConsoleLogger</code> to emit target start and stop analysis messages. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2637">#2637</a></li> <li>NEW: Update <code>FileRegionsCache</code> to retrieve cached newline indices and hash data via <code>GetNewLineIndex</code> and <code>GetHashData</code> methods. <a href="https://redirect.github.com/microsoft/sarif-sdk/pull/2639">#2639</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/Microsoft/sarif-sdk/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Sarif.Sdk&package-manager=nuget&previous-version=4.2.2&new-version=4.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11415&drop=dogfoodAlpha --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Anthony Martin <38542602+anthony-c-martin@users.noreply.github.com> commit 84972725534b680463b5c36a39fc504748eb5304 Author: Anthony Martin <38542602+anthony-c-martin@users.noreply.github.com> Date: Mon Jul 31 08:48:23 2023 -0400 Support subscription-scope deployments in deploy pane (#11382) ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11382&drop=dogfoodAlpha commit 9f40198cfa8bcc75f9d8e6bec479e994dc0e70b1 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Jul 31 11:12:03 2023 +0000 Bump @typescript-eslint/eslint-plugin from 6.1.0 to 6.2.0 in /src/playground (#11390) Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.1.0 to 6.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@typescript-eslint/eslint-plugin</code>'s releases</a>.</em></p> <blockquote> <h2>v6.2.0</h2> <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v6.1.0...v6.2.0">6.2.0</a> (2023-07-24)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [member-ordering] account for repeated names (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6864">#6864</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/d207b59e24acb9377a7a55104d082bd91fbb664e">d207b59</a>)</li> <li><strong>eslint-plugin:</strong> [no-unsafe-enum-comparison] exempt bit shift operators (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7074">#7074</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/b3e0e7571f1abb5dae347d3701844324232b1431">b3e0e75</a>)</li> <li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] handle case when type of left side is null or undefined (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7225">#7225</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/b62affe8ddac7c0af22bf74f22503d0cda92f4c0">b62affe</a>)</li> <li><strong>eslint-plugin:</strong> use a default export for the rules type (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7266">#7266</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/af77a1d33f0853d2ab0f61e4ac04dec47cd7ba18">af77a1d</a>)</li> <li><strong>typescript-estree:</strong> fix TSNode type error on old ts versions (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7267">#7267</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/f2aed1bee1d265e8c87423a17b674be31a075f58">f2aed1b</a>)</li> </ul> <h3>Features</h3> <ul> <li><strong>eslint-plugin:</strong> [class-methods-use-this] add extension rule (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6457">#6457</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/18ea3b1f8938e25053f89b7e4ec8dcc6c453118a">18ea3b1</a>)</li> <li><strong>eslint-plugin:</strong> sync getFunctionHeadLoc implementation with upstream (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7260">#7260</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/f81314731cccb779423e2580a805eff3efff8564">f813147</a>)</li> </ul> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md"><code>@typescript-eslint/eslint-plugin</code>'s changelog</a>.</em></p> <blockquote> <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v6.1.0...v6.2.0">6.2.0</a> (2023-07-24)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [member-ordering] account for repeated names (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6864">#6864</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/d207b59e24acb9377a7a55104d082bd91fbb664e">d207b59</a>)</li> <li><strong>eslint-plugin:</strong> [no-unsafe-enum-comparison] exempt bit shift operators (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7074">#7074</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/b3e0e7571f1abb5dae347d3701844324232b1431">b3e0e75</a>)</li> <li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] handle case when type of left side is null or undefined (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7225">#7225</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/b62affe8ddac7c0af22bf74f22503d0cda92f4c0">b62affe</a>)</li> <li><strong>eslint-plugin:</strong> use a default export for the rules type (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7266">#7266</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/af77a1d33f0853d2ab0f61e4ac04dec47cd7ba18">af77a1d</a>)</li> </ul> <h3>Features</h3> <ul> <li><strong>eslint-plugin:</strong> [class-methods-use-this] add extension rule (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6457">#6457</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/18ea3b1f8938e25053f89b7e4ec8dcc6c453118a">18ea3b1</a>)</li> <li><strong>eslint-plugin:</strong> sync getFunctionHeadLoc implementation with upstream (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7260">#7260</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/f81314731cccb779423e2580a805eff3efff8564">f813147</a>)</li> </ul> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/c869aa1792ed8e3c89d5ada2df8c00f8fe36526a"><code>c869aa1</code></a> chore: publish v6.2.0</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/af77a1d33f0853d2ab0f61e4ac04dec47cd7ba18"><code>af77a1d</code></a> fix(eslint-plugin): use a default export for the rules type (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/7266">#7266</a>)</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/18ea3b1f8938e25053f89b7e4ec8dcc6c453118a"><code>18ea3b1</code></a> feat(eslint-plugin): [class-methods-use-this] add extension rule (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/6457">#6457</a>)</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/f81314731cccb779423e2580a805eff3efff8564"><code>f813147</code></a> feat(eslint-plugin): sync getFunctionHeadLoc implementation with upstream (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/7">#7</a>...</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/d207b59e24acb9377a7a55104d082bd91fbb664e"><code>d207b59</code></a> fix(eslint-plugin): [member-ordering] account for repeated names (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/6864">#6864</a>)</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/b3e0e7571f1abb5dae347d3701844324232b1431"><code>b3e0e75</code></a> fix(eslint-plugin): [no-unsafe-enum-comparison] exempt bit shift operators (#...</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/b62affe8ddac7c0af22bf74f22503d0cda92f4c0"><code>b62affe</code></a> fix(eslint-plugin): [prefer-nullish-coalescing] handle case when type of left...</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/0fef2e307952356217fc1bbea966ed32b82f6593"><code>0fef2e3</code></a> chore: use workerIdleMemoryLimit in jest tests (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/7249">#7249</a>)</li> <li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v6.2.0/packages/eslint-plugin">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/eslint-plugin&package-manager=npm_and_yarn&previous-version=6.1.0&new-version=6.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11390&drop=dogfoodAlpha Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 7d484b5ca53c17523a78c6c276731f3f5f953cd9 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Jul 31 06:44:00 2023 -0400 Bump @types/node from 20.4.4 to 20.4.5 in /src/playground (#11387) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.4 to 20.4.5. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/node&package-manager=npm_and_yarn&previous-version=20.4.4&new-version=20.4.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11387&drop=dogfoodAlpha Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit cf4e13259df82625ca68925783e709725b4c3e94 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Jul 31 06:43:59 2023 -0400 Bump @types/react from 18.2.15 to 18.2.17 in /src/playground (#11388) Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.15 to 18.2.17. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/react&package-manager=npm_and_yarn&previous-version=18.2.15&new-version=18.2.17)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11388&drop=dogfoodAlpha Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 24ce5eb4b5ef0f81d312306b166f51a58723f4ae Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Jul 31 06:43:55 2023 -0400 Bump bootstrap from 5.3.0 to 5.3.1 in /src/playground (#11389) Bumps [bootstrap](https://github.com/twbs/bootstrap) from 5.3.0 to 5.3.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/twbs/bootstrap/releases">bootstrap's releases</a>.</em></p> <blockquote> <h2>v5.3.1</h2> <h2>Highlights</h2> <ul> <li><strong>Color modes:</strong> <ul> <li>Increased color contrast for dark mode by replacing <code>$gray-500</code> with <code>$gray-300</code> for the body color</li> <li>Added our color mode switcher JavaScript to our examples ZIP download</li> </ul> </li> <li><strong>Components:</strong> <ul> <li>Improved disabled styling for all <code>.nav-link</code>s, providing <code>.disabled</code> and <code>:disabled</code> for use with anchors and buttons</li> <li>Add support for <code>Home</code> and <code>End</code> keys for navigating tabs by keyboard</li> <li>Added some basic styling to toggle buttons when no modifier class is present</li> <li>Fixed carousel colors in dark mode</li> </ul> </li> <li><strong>Forms:</strong> <ul> <li>Fixed floating label disabled text color</li> </ul> </li> <li><strong>Utilities:</strong> <ul> <li><code>.text-bg-*</code> utilities now use CSS variables</li> </ul> </li> <li><strong>Sass:</strong> <ul> <li>Add new <code>$navbar-dark-icon-color</code> Sass variable</li> <li>Removed duplicate <code>$alert</code> Sass variables</li> <li>Added a new variable for <code>$vr-border-width</code> to customize the vertical rule helper width</li> </ul> </li> <li><strong>Documentation:</strong> <ul> <li>Added search to our homepage</li> <li>Improved responsive behavior on Dashboard example</li> <li>Improved dark mode rendering of Cheatsheet examples</li> </ul> </li> </ul> <hr /> <h2>🎨 CSS</h2> <ul> <li><a href="https://redirect.github.com/twbs/bootstrap/issues/38913">#38913</a>: Floating labels: fix disabled with text inside</li> <li><a href="https://redirect.github.com/twbs/bootstrap/issues/38772">#38772</a>: <code>.text-bg-*</code> helpers now use theme CSS variables</li> <li><a href="https://redirect.github.com/twbs/bootstrap/issues/38886">#38886</a>: New Sass variable to change vertical rule width</li> <li><a href="https://redirect.github.com/twbs/bootstrap/issues/38851">#38851</a>: Fix Sass properties order for newer stylelint-config-recess-order</li> <li><a href="https://redirect.github.com/twbs/bootstrap/issues/38815">#38815</a>: Increase contrast in dark-mode (<a href="https://redirect.github.com/twbs/bootstrap/issues/38525">#38525</a>)</li> <li><a href="https://redirect.github.com/twbs/bootstrap/issues/38774">#38774</a>: Generalize disabled nav links CSS rules</li> <li><a href="https://redirect.github.com/twbs/bootstrap/issues/38673">#38673</a>: Add <code>$navbar-dark-icon-color</code></li> <li><a href="https://redirect.github.com/twbs/bootstrap/issues/38674">#38674</a>: Remove duplicate <code>$alert-*-scale</code> Sass vars</li> </ul> <h2>☕️ JavaScript</h2> <ul> <li><a href="https://redirect.github.com/twbs/bootstrap/issues/38498">#38498</a>: Support <code>Home</code> and <code>End</code> keys in tabs</li> </ul> <h2>📖 Docs</h2> <ul> <li><a href="https://redirect.github.com/twbs/bootstrap/issues/38958">#38958</a>: Examples: improve spinner buttons accessibility</li> <li><a href="https://redirect.github.com/twbs/bootstrap/issues/38947">#38947</a>: Fix postcss plugin options</li> <li><a href="https://redirect.github.com/twbs/bootstrap/issues/38885">#38885</a>: Docs: Update float responsive examples</li> <li><a href="https://redirect.github.com/twbs/bootstrap/issues/38946">#38946</a>: Docs: remove v4 reference on homepage</li> <li><a href="https://redirect.github.com/twbs/bootstrap/issues/38948">#38948</a>: Fix some typos in Customize > Sass doc</li> <li><a href="https://redirect.github.com/twbs/bootstrap/issues/38840">#38840</a>: Docs: fix carousel carousel colors of carousel examples in dark mode</li> <li><a href="https://redirect.github.com/twbs/bootstrap/issues/38604">#38604</a>: Add dropdown alignment options to button group example</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/twbs/bootstrap/commit/2a1bf52b73fc9a97f6fef75aa1b29b3e9f0288b3"><code>2a1bf52</code></a> Release v5.3.1 (<a href="https://redirect.github.com/twbs/bootstrap/issues/38956">#38956</a>)</li> <li><a href="https://github.com/twbs/bootstrap/commit/8e5dada5b15a7605c856a05005cc3206cd4a72e3"><code>8e5dada</code></a> Examples: improve spinner buttons accessibility (<a href="https://redirect.github.com/twbs/bootstrap/issues/38958">#38958</a>)</li> <li><a href="https://github.com/twbs/bootstrap/commit/11b3806675de929a2bb342a19b9c65fc92c473a3"><code>11b3806</code></a> Fix bundlewatch values (<a href="https://redirect.github.com/twbs/bootstrap/issues/38954">#38954</a>)</li> <li><a href="https://github.com/twbs/bootstrap/commit/57ddb42bafe3cbc4b983fc8acd10b8561218cea0"><code>57ddb42</code></a> Fix postcss plugin options (<a href="https://redirect.github.com/twbs/bootstrap/issues/38947">#38947</a>)</li> <li><a href="https://github.com/twbs/bootstrap/commit/cc5a8a903612e9c0de92238ac17dcb083efce138"><code>cc5a8a9</code></a> fix</li> <li><a href="https://github.com/twbs/bootstrap/commit/ea21de16740d8eb4f1bdccbb7db8860d8ba36c7a"><code>ea21de1</code></a> Docs: Update float responsive examples</li> <li><a href="https://github.com/twbs/bootstrap/commit/92d779f83c265a447b72d0e6df2f0e68c3d1fb40"><code>92d779f</code></a> Update devDependencies and regenerate package-lock.json</li> <li><a href="https://github.com/twbs/bootstrap/commit/01dacaf2189b5b4319bd172cba7f10d22cb860e6"><code>01dacaf</code></a> dashboard: fix offcanvas md display (<a href="https://redirect.github.com/twbs/bootstrap/issues/38952">#38952</a>)</li> <li><a href="https://github.com/twbs/bootstrap/commit/4271d22b902e8aa2c56c22c39737930946ecf6b9"><code>4271d22</code></a> Docs: remove v4 reference in homepage</li> <li><a href="https://github.com/twbs/bootstrap/commit/1c80bd9c4b3929c51f6d654ab1f1d721b6212e47"><code>1c80bd9</code></a> Fix some typos in Customize > Sass doc (<a href="https://redirect.github.com/twbs/bootstrap/issues/38948">#38948</a>)</li> <li>Additional commits viewable in <a href="https://github.com/twbs/bootstrap/compare/v5.3.0...v5.3.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=bootstrap&package-manager=npm_and_yarn&previous-version=5.3.0&new-version=5.3.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11389&drop=dogfoodAlpha Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 30d45a3e95f6f19201fb0553e48cf59aa6a29de7 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Jul 31 06:43:51 2023 -0400 Bump @typescript-eslint/parser from 6.1.0 to 6.2.0 in /src/playground (#11391) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.1.0 to 6.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@typescript-eslint/parser</code>'s releases</a>.</em></p> <blockquote> <h2>v6.2.0</h2> <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v6.1.0...v6.2.0">6.2.0</a> (2023-07-24)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [member-ordering] account for repeated names (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6864">#6864</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/d207b59e24acb9377a7a55104d082bd91fbb664e">d207b59</a>)</li> <li><strong>eslint-plugin:</strong> [no-unsafe-enum-comparison] exempt bit shift operators (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7074">#7074</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/b3e0e7571f1abb5dae347d3701844324232b1431">b3e0e75</a>)</li> <li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] handle case when type of left side is null or undefined (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7225">#7225</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/b62affe8ddac7c0af22bf74f22503d0cda92f4c0">b62affe</a>)</li> <li><strong>eslint-plugin:</strong> use a default export for the rules type (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7266">#7266</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/af77a1d33f0853d2ab0f61e4ac04dec47cd7ba18">af77a1d</a>)</li> <li><strong>typescript-estree:</strong> fix TSNode type error on old ts versions (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7267">#7267</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/f2aed1bee1d265e8c87423a17b674be31a075f58">f2aed1b</a>)</li> </ul> <h3>Features</h3> <ul> <li><strong>eslint-plugin:</strong> [class-methods-use-this] add extension rule (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6457">#6457</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/18ea3b1f8938e25053f89b7e4ec8dcc6c453118a">18ea3b1</a>)</li> <li><strong>eslint-plugin:</strong> sync getFunctionHeadLoc implementation with upstream (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7260">#7260</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/f81314731cccb779423e2580a805eff3efff8564">f813147</a>)</li> </ul> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md"><code>@typescript-eslint/parser</code>'s changelog</a>.</em></p> <blockquote> <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v6.1.0...v6.2.0">6.2.0</a> (2023-07-24)</h1> <p><strong>Note:</strong> Version bump only for package <code>@typescript-eslint/parser</code></p> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/c869aa1792ed8e3c89d5ada2df8c00f8fe36526a"><code>c869aa1</code></a> chore: publish v6.2.0</li> <li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v6.2.0/packages/parser">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/parser&package-manager=npm_and_yarn&previous-version=6.1.0&new-version=6.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11391&drop=dogfoodAlpha Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit e14214605931a4b1a419b15d5ec9453bf09b2d8e Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Jul 31 06:43:41 2023 -0400 Bump @typescript-eslint/parser from 6.1.0 to 6.2.0 in /src/Bicep.MSBuild.E2eTests (#11417) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.1.0 to 6.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@typescript-eslint/parser</code>'s releases</a>.</em></p> <blockquote> <h2>v6.2.0</h2> <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v6.1.0...v6.2.0">6.2.0</a> (2023-07-24)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [member-ordering] account for repeated names (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6864">#6864</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/d207b59e24acb9377a7a55104d082bd91fbb664e">d207b59</a>)</li> <li><strong>eslint-plugin:</strong> [no-unsafe-enum-comparison] exempt bit shift operators (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7074">#7074</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/b3e0e7571f1abb5dae347d3701844324232b1431">b3e0e75</a>)</li> <li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] handle case when type of left side is null or undefined (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7225">#7225</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/b62affe8ddac7c0af22bf74f22503d0cda92f4c0">b62affe</a>)</li> <li><strong>eslint-plugin:</strong> use a default export for the rules type (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7266">#7266</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/af77a1d33f0853d2ab0f61e4ac04dec47cd7ba18">af77a1d</a>)</li> <li><strong>typescript-estree:</strong> fix TSNode type error on old ts versions (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7267">#7267</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/f2aed1bee1d265e8c87423a17b674be31a075f58">f2aed1b</a>)</li> </ul> <h3>Features</h3> <ul> <li><strong>eslint-plugin:</strong> [class-methods-use-this] add extension rule (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6457">#6457</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/18ea3b1f8938e25053f89b7e4ec8dcc6c453118a">18ea3b1</a>)</li> <li><strong>eslint-plugin:</strong> sync getFunctionHeadLoc implementation with upstream (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7260">#7260</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/f81314731cccb779423e2580a805eff3efff8564">f813147</a>)</li> </ul> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md"><code>@typescript-eslint/parser</code>'s changelog</a>.</em></p> <blockquote> <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v6.1.0...v6.2.0">6.2.0</a> (2023-07-24)</h1> <p><strong>Note:</strong> Version bump only for package <code>@typescript-eslint/parser</code></p> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/c869aa1792ed8e3c89d5ada2df8c00f8fe36526a"><code>c869aa1</code></a> chore: publish v6.2.0</li> <li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v6.2.0/packages/parser">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/parser&package-manager=npm_and_yarn&previous-version=6.1.0&new-version=6.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> ###### Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11417&drop=dogfoodAlpha Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 054a483214f3cf2ad5b5d6b3277828c0c05c1487 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Jul 31 07:51:44 2023 +0000 Bump @types/node from 20.4.4 to 20.4.5 in /src/monarch (#11411) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.4 to 20.4.5. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/node&package-manager=npm_and_yarn&previous-version=20.4.4&new-version=20.4.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manua…
…ct union types. (#11222) Fixes #9230 ## Contributing a feature * [x] 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 * [x] 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 * [x] I have appropriate test coverage of my new feature ## Summary - Adds support for defining discriminated object unions with an explicit discriminator property set via a type decorator `@discriminator`. - Adds support for ARM template emission of discriminated object unions. - Does not support the additional properties feature in discriminated object unions, including in individual union members. - Uses existing support for discriminated object union completions (does not extend it). This is currently limited to just the discriminated property. Future PR will need to address this. ## Test files [9230-test.zip](https://github.com/Azure/bicep/files/12071367/9230-test.zip)
This feature still needs be reenabled. It is temporarily disabled while backend features wait to go out to support it. |
…ct union types. (#11222) Fixes #9230 ## Contributing a feature * [x] 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 * [x] 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 * [x] I have appropriate test coverage of my new feature ## Summary - Adds support for defining discriminated object unions with an explicit discriminator property set via a type decorator `@discriminator`. - Adds support for ARM template emission of discriminated object unions. - Does not support the additional properties feature in discriminated object unions, including in individual union members. - Uses existing support for discriminated object union completions (does not extend it). This is currently limited to just the discriminated property. Future PR will need to address this. ## Test files [9230-test.zip](https://github.com/Azure/bicep/files/12071367/9230-test.zip)
Fixes #9230 Reenables the feature. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/11535)
Is your feature request related to a problem? Please describe.
When declaring an object parameter, a template author may wish to accept a strict enumeration of object shapes that are not necessarily mutually compatible. This is most likely to come up in conjunction with #9229, as resource types within the
az
namespace frequently use discriminated object types.Describe the solution you'd like
There should be a simple way to declare a custom tagged union within a template. Following TypeScript's example, this might look something like:
The above approach requires the compiler to detect that the union can be collapsed to a tagged union of objects, as other union types that would be permitted in TypeScript (e.g.,
string | int
) are not permitted in the ARM runtime. This syntax might strike users not accustomed to TypeScript as verbose since the tag name needs to be repeated in each union member.Another possible syntax would borrow from Rust's enums:
The distinction between an enum with three members and an object with three properties might be a bit subtle (both for users and for the compiler), as it's only communicated here via the lack of colon (
:
) tokens following each tag value.There will also need to be a way to express such a constraint in the compiled JSON template.
The text was updated successfully, but these errors were encountered: