Skip to content
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

Common types json gen - Off reorg branch #1

Open
wants to merge 44 commits into
base: azhang_ArmReorg
Choose a base branch
from

Commits on Jun 12, 2024

  1. ARM Library reorganization (Azure#945)

    - Created fully versioned Azure.ResourceManager.CommonTypes subnamespace
    - Moving all common type definitions/parameters into corresponding tsp
    files for later easy swagger generation
    - Adding back compat layers so all existing entities moved from
    Foundations continue to work (via `alias`)
    - Added default logic to add `@useDependency` to CommonType reference
    via `@armProviderNamespace` and `@armCommonTypeVersion` decorators to
    prevent breaking change.
    
    ---------
    
    Co-authored-by: Timothee Guerin <[email protected]>
    allenjzhang and timotheeguerin committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    fe90e20 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d30db5b View commit details
    Browse the repository at this point in the history
  3. Bump core from ac93dfa to 913aa03 (Azure#994)

    Bumps [core](https://github.com/microsoft/typespec) from `ac93dfa` to
    `913aa03`.
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/microsoft/typespec/commit/913aa03f78cf5b85b03c5efc5a8666b45f48d514"><code>913aa03</code></a>
    fix the nullable value type (<a
    href="https://github.com/microsoft/typespec/issues/3567">#3567</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/1f82d65ea04134d7182158cf3cc98158b6923f87"><code>1f82d65</code></a>
    Do not run decorators on cloned type if the original type wasn't
    finished (<a
    href="https://github.com/microsoft/typespec/issues/3">#3</a>...</li>
    <li>See full diff in <a
    href="https://github.com/microsoft/typespec/compare/ac93dfa318bb02217b99d0aa3b0898c725d88c0a...913aa03f78cf5b85b03c5efc5a8666b45f48d514">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    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 show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@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>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    6fc4645 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Configuration menu
    Copy the full SHA
    1723864 View commit details
    Browse the repository at this point in the history
  2. Bump core from 913aa03 to 4ed71bf (Azure#1012)

    Bumps [core](https://github.com/microsoft/typespec) from `913aa03` to
    `4ed71bf`.
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/microsoft/typespec/commit/4ed71bf73fe51292c52676849b8462ced86005fb"><code>4ed71bf</code></a>
    Add release notes for 0.57.0 (<a
    href="https://github.com/microsoft/typespec/issues/3560">#3560</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/147335dfd54a831f0fb0440811510abc95a105e9"><code>147335d</code></a>
    fix error when model property is invalid (<a
    href="https://github.com/microsoft/typespec/issues/3574">#3574</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/e4c4d2b7ca4271f954c5cbda7c7ddfa542099e34"><code>e4c4d2b</code></a>
    Add support for completion of extends and is (<a
    href="https://github.com/microsoft/typespec/issues/3443">#3443</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/5bc98d9c9dd1bb4fb04746446026b01dea7096ba"><code>5bc98d9</code></a>
    Fix: Using a scalar constructor defined in a parent scalar doesn't
    reference ...</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/35e8625014e468bd7079a2c53e4b45b1d17c39e0"><code>35e8625</code></a>
    support loglevel filter in playground (<a
    href="https://github.com/microsoft/typespec/issues/3569">#3569</a>)</li>
    <li>See full diff in <a
    href="https://github.com/microsoft/typespec/compare/913aa03f78cf5b85b03c5efc5a8666b45f48d514...4ed71bf73fe51292c52676849b8462ced86005fb">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    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 show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@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>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    70ffbbc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a6bd067 View commit details
    Browse the repository at this point in the history
  4. Revert main:

    timotheeguerin committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    d936214 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    54839cc View commit details
    Browse the repository at this point in the history
  6. TypeSpec Azure 0.43 - June 2024 Release (Azure#1013)

    Co-authored-by: Timothee Guerin <[email protected]>
    Co-authored-by: Timothee Guerin <[email protected]>
    Co-authored-by: Mark Cowlishaw <[email protected]>
    4 people committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    5b9bef3 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2024

  1. Configuration menu
    Copy the full SHA
    37d1f00 View commit details
    Browse the repository at this point in the history
  2. Bump core from 9c701cc to 216f423 (Azure#1019)

    Bumps [core](https://github.com/microsoft/typespec) from `9c701cc` to
    `216f423`.
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/microsoft/typespec/commit/216f423a8c4330410a4a6352fc9d2be5f4ee8413"><code>216f423</code></a>
    Fix crash in program viewer when trying to display new value type (<a
    href="https://github.com/microsoft/typespec/issues/3585">#3585</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/d319e3324adcb2e33e5bababfe8f7267fac38052"><code>d319e33</code></a>
    Add new const keyword breaking note (<a
    href="https://github.com/microsoft/typespec/issues/3584">#3584</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/d7ec3da673459e6bde92084603f41493d1301f2a"><code>d7ec3da</code></a>
    Add discord link to website (<a
    href="https://github.com/microsoft/typespec/issues/3586">#3586</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/6bbc24757053ccd1ff36fc5d40b5acbf29f00e30"><code>6bbc247</code></a>
    Fix formatting of object and array literal in decorator (<a
    href="https://github.com/microsoft/typespec/issues/3577">#3577</a>)</li>
    <li>See full diff in <a
    href="https://github.com/microsoft/typespec/compare/9c701cc27264e0d635e622e823270d0c054f64a9...216f423a8c4330410a4a6352fc9d2be5f4ee8413">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    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 show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@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>
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Timothee Guerin <[email protected]>
    dependabot[bot] and timotheeguerin committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    9671293 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Configuration menu
    Copy the full SHA
    5c10b3e View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Configuration menu
    Copy the full SHA
    45a9585 View commit details
    Browse the repository at this point in the history
  2. Add name and tspNamespace to SdkArrayType (Azure#1000)

    Fixes Azure#999
    
    This PR adds name and namespace to `SdkArrayType` so that we could know
    if this array is an ordinary array, or an array created somewhere which
    needs special handling on the SDK generator side.
    
    ---------
    
    Co-authored-by: Haoling Dong <[email protected]>
    ArcturusZhang and haolingdong-msft committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    0a349d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e14af8 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Configuration menu
    Copy the full SHA
    eae81f8 View commit details
    Browse the repository at this point in the history
  2. [tcgc] allow csv list of scopes (Azure#1038)

    fixes Azure#978
    
    ---------
    
    Co-authored-by: iscai-msft <[email protected]>
    Co-authored-by: tadelesh <[email protected]>
    3 people committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    0b1afda View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2024

  1. Bump core from 216f423 to 224e725 (Azure#1053)

    Bumps [core](https://github.com/microsoft/typespec) from `216f423` to
    `224e725`.
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/microsoft/typespec/commit/224e725e43e51b8cc427779377fa4e351a25a38d"><code>224e725</code></a>
    Handle errors in tracing for environments that don't support
    Error.captureSta...</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/aed8ebc2150782c7173eefbfa6d9d0a32784a1d7"><code>aed8ebc</code></a>
    Fix Indentation in several statements (<a
    href="https://github.com/microsoft/typespec/issues/3622">#3622</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/4830f07c1226ac5bd590548374130d7cb71cb0f1"><code>4830f07</code></a>
    Move several client model implementations up to the base plugin (<a
    href="https://github.com/microsoft/typespec/issues/3624">#3624</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/fc137a913c520cad061befa4eecce41ff75c43ef"><code>fc137a9</code></a>
    Support void type body (<a
    href="https://github.com/microsoft/typespec/issues/3620">#3620</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/f566053cc4896832e0d496b6f48e69b1b7aae5ec"><code>f566053</code></a>
    Remove groupedBy from InputParameter (<a
    href="https://github.com/microsoft/typespec/issues/3617">#3617</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/04a389fe99fd912e40457044635743088d7f6b0b"><code>04a389f</code></a>
    update to cache method providers (<a
    href="https://github.com/microsoft/typespec/issues/3611">#3611</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/8e389303da52e8536bb87f31dd7b9bf5189b8371"><code>8e38930</code></a>
    Clear output path by default (<a
    href="https://github.com/microsoft/typespec/issues/3616">#3616</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/41e8505f8b4a95d17330aae98f5de25503822ce8"><code>41e8505</code></a>
    Common settings (<a
    href="https://github.com/microsoft/typespec/issues/3610">#3610</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/bb0bfb82748e99e1380c386fb93c6aeb3d2ac25c"><code>bb0bfb8</code></a>
    use azure-sdk-for-net ruleset (<a
    href="https://github.com/microsoft/typespec/issues/3608">#3608</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/62397e4e607c56498354bd1d780b90d4fc7b18b4"><code>62397e4</code></a>
    fix some issues in serialization generation (<a
    href="https://github.com/microsoft/typespec/issues/3609">#3609</a>)</li>
    <li>Additional commits viewable in <a
    href="https://github.com/microsoft/typespec/compare/216f423a8c4330410a4a6352fc9d2be5f4ee8413...224e725e43e51b8cc427779377fa4e351a25a38d">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    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 show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@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>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    2628d00 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. tcgc, arm, set context.arm for explicit client (Azure#1050)

    cause: `SdkContext.arm` is not set, in the case of explicit client.
    
    fix Azure#1049
    
    ---------
    
    Co-authored-by: Chenjie Shi <[email protected]>
    weidongxu-microsoft and tadelesh committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    d4a1bac View commit details
    Browse the repository at this point in the history
  2. [tcgc] add linter for empty client names (Azure#1066)

    fixes Azure#647
    
    ---------
    
    Co-authored-by: iscai-msft <[email protected]>
    Co-authored-by: catalinaperalta <[email protected]>
    3 people committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    30fa1e0 View commit details
    Browse the repository at this point in the history
  3. [tcgc] remove deprecated nameInClient property from `SdkModelProper…

    …tyType`s (Azure#1064)
    
    fixes Azure#446
    
    ---------
    
    Co-authored-by: iscai-msft <[email protected]>
    iscai-msft and iscai-msft committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    ee6fc40 View commit details
    Browse the repository at this point in the history
  4. export SdkClientAccessor (Azure#990)

    tadelesh committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    2876cb7 View commit details
    Browse the repository at this point in the history
  5. remove unused isErrorOrChildOfError (Azure#1068)

    Right after we added this function, `isErrorModel` from
    `@typespec/compiler` would check inheritance for error. I've checked and
    no one uses this. Since it was never used, I'm going to go ahead and
    remove it
    
    ---------
    
    Co-authored-by: iscai-msft <[email protected]>
    iscai-msft and iscai-msft committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    688fd18 View commit details
    Browse the repository at this point in the history
  6. [tcgc] don't set optional .contentTypes property on responses to an…

    … empty list (Azure#1070)
    
    fixes Azure#992
    
    ---------
    
    Co-authored-by: iscai-msft <[email protected]>
    iscai-msft and iscai-msft committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    932666f View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. [tcgc] unify datetime casing by renaming interface types (Azure#1067)

    fixes Azure#799
    
    ---------
    
    Co-authored-by: iscai-msft <[email protected]>
    iscai-msft and iscai-msft committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    83851cb View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. [CanonicalEmitter] Add option and isArmCommonType check (Azure#1065)

    This PR addressed 2 issues:
    1. add option "use-read-only-status-schema" to fix
    ProvisioningStateMustBeReadOnly bug;
    The bug is mentioned here
    https://github.com/Azure/azure-rest-api-specs/discussions/29471 and the
    suggested walkaround is set option "use-read-only-status-schema" to
    true.
    Canonical emitter doesn't have this option. So add this option to the
    emitter.
    
    ![image](https://github.com/Azure/typespec-azure/assets/8683976/1e12d103-7710-4d92-8458-da8a1c98ae66)
    
    
    2. add isArmCommonType check to avoid decorator validation in canonical
    emitter
    Canonical emitter will generate warning when @typeChangedFrom decorator
    is used. To make sure this not apply to common type, add isArmCommonType
    check
    
    ---------
    
    Co-authored-by: Ding <[email protected]>
    dinwa-ms and Ding committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    ed1017c View commit details
    Browse the repository at this point in the history
  2. [tcgc] support generic type decorators in sdk types (Azure#966)

    resolve: Azure#829, Azure#704 
    
    current design:
    1. use whitelist configured in `tspconfig.yaml` to do decorators
    filtering, support equal/regex comparison
    2. use `jsValue` from typespec decorator arguments to get arguments'
    value
    3. only handle arguments value of typing with
    number/string/boolean/null/tsp enum member value/tsp literal value,
    other types will add a diagnostic warning
    tadelesh committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    660b587 View commit details
    Browse the repository at this point in the history
  3. replace tspNamespace with crossLanguageDefinitionId in enum, mode…

    …l, union and array types (Azure#1075)
    
    Fixes Azure#1073
    
    Per offline discussion, `crossLanguageDefinitionId` is actually a much
    better candidate of telling people the originate of this type, therefore
    this should solve all of our requirement and we no longer need a
    `tspNamespace` anymore.
    
    ---------
    
    Co-authored-by: Chenjie Shi <[email protected]>
    ArcturusZhang and tadelesh committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    3f911bb View commit details
    Browse the repository at this point in the history
  4. [tcgc] change generic decorator list data structure to support duplic…

    …ate decorator use case (Azure#1082)
    
    fix for Azure#966
    tadelesh committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    5dc55cc View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Publish/tcgc (Azure#1087)

    Co-authored-by: iscai-msft <[email protected]>
    iscai-msft and iscai-msft committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    49fc59d View commit details
    Browse the repository at this point in the history
  2. Bump core from 224e725 to 393f40a (Azure#1079)

    Bumps [core](https://github.com/microsoft/typespec) from `224e725` to
    `393f40a`.
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/microsoft/typespec/commit/393f40a4da397d5c1fec97948cc3a0e0dbb04e00"><code>393f40a</code></a>
    upgrade TypeSpec to 0.57.0 and support Nullable feature (<a
    href="https://github.com/microsoft/typespec/issues/3654">#3654</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/17c6817430e8f430390387e350a9d52c8c9b5824"><code>17c6817</code></a>
    Remove unused macos reference (<a
    href="https://github.com/microsoft/typespec/issues/3604">#3604</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/01626ea1f4cb6d8ea21bef9c524b99aabfc8e1cc"><code>01626ea</code></a>
    Delete ApiTypes (<a
    href="https://github.com/microsoft/typespec/issues/3650">#3650</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/b61de10ed87c1d2c98e722bb14e1186839f6e05f"><code>b61de10</code></a>
    Add support to generate a model as struct (<a
    href="https://github.com/microsoft/typespec/issues/3635">#3635</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/9d48ad1a56bb398283f94093a005d58d3d27f51f"><code>9d48ad1</code></a>
    use test file assets vs string builder (<a
    href="https://github.com/microsoft/typespec/issues/3640">#3640</a>)</li>
    <li>See full diff in <a
    href="https://github.com/microsoft/typespec/compare/224e725e43e51b8cc427779377fa4e351a25a38d...393f40a4da397d5c1fec97948cc3a0e0dbb04e00">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    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 show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@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>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Mark Cowlishaw <[email protected]>
    dependabot[bot] and markcowl committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    54567f7 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Bump core from 393f40a to 44a5be8 (Azure#1100)

    Bumps [core](https://github.com/microsoft/typespec) from `393f40a` to
    `44a5be8`.
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/microsoft/typespec/commit/44a5be8af9ae84f76e68809809cbd2977abc4672"><code>44a5be8</code></a>
    revert the re-ordering of CrossLanguageDefinitionId (<a
    href="https://github.com/microsoft/typespec/issues/3708">#3708</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/eaca7a75325f6dc1dda8334f40b26a08a5ee7dc6"><code>eaca7a7</code></a>
    Add ClientUriBuilder helper class implementation (<a
    href="https://github.com/microsoft/typespec/issues/3704">#3704</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/a7405e6101806f79041d860eaa294a179f79ff28"><code>a7405e6</code></a>
    refactor namespaces for primitives (<a
    href="https://github.com/microsoft/typespec/issues/3703">#3703</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/3a15beec8d54a7953066be5d3cfe87e797dc7a10"><code>3a15bee</code></a>
    Add convenience methods to clients (<a
    href="https://github.com/microsoft/typespec/issues/3700">#3700</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/434f058210694fc112b41177b618bb791df9d7a7"><code>434f058</code></a>
    Finish protocol method bodies (<a
    href="https://github.com/microsoft/typespec/issues/3691">#3691</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/1bb40322058ac5a0c33127446aa58c3c3be44da0"><code>1bb4032</code></a>
    more refactor on expression style (<a
    href="https://github.com/microsoft/typespec/issues/3687">#3687</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/08dc5fd5e54c16d36ec8ad5a02fe091701b3e52f"><code>08dc5fd</code></a>
    wip to refactor methodprovidercollection (<a
    href="https://github.com/microsoft/typespec/issues/3686">#3686</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/7e68cdcb52ff2711356313c7ec91421655aee3bd"><code>7e68cdc</code></a>
    add indexability in expressions (<a
    href="https://github.com/microsoft/typespec/issues/3682">#3682</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/8f837b11a3cfa7c95b1658c87a76c536cc483279"><code>8f837b1</code></a>
    sync up the changes of bumping version of TCGC (<a
    href="https://github.com/microsoft/typespec/issues/3678">#3678</a>)</li>
    <li><a
    href="https://github.com/microsoft/typespec/commit/7d0e97bf216bcb3d6410cc50541da811e504f683"><code>7d0e97b</code></a>
    sync autorest.sharp pr 4814: set no-route warning (<a
    href="https://github.com/microsoft/typespec/issues/3675">#3675</a>)</li>
    <li>Additional commits viewable in <a
    href="https://github.com/microsoft/typespec/compare/393f40a4da397d5c1fec97948cc3a0e0dbb04e00...44a5be8af9ae84f76e68809809cbd2977abc4672">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    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 show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@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>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    acde810 View commit details
    Browse the repository at this point in the history
  2. Bump @azure-tools/cadl-ranch-specs from 0.33.4 to 0.34.2 in /packages…

    …/e2e-tests/cadl-ranch-specs (Azure#1101)
    
    Bumps
    [@azure-tools/cadl-ranch-specs](https://github.com/Azure/cadl-ranch)
    from 0.33.4 to 0.34.2.
    <details>
    <summary>Commits</summary>
    <ul>
    <li>See full diff in <a
    href="https://github.com/Azure/cadl-ranch/commits">compare view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@azure-tools/cadl-ranch-specs&package-manager=npm_and_yarn&previous-version=0.33.4&new-version=0.34.2)](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 show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@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>
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Timothee Guerin <[email protected]>
    dependabot[bot] and timotheeguerin committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    d4cfac6 View commit details
    Browse the repository at this point in the history
  3. Fixing typpo (Azure#1102)

    Closes: Azure#1055
    allenjzhang committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    ee6a7f8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    20a472c View commit details
    Browse the repository at this point in the history
  5. fix

    timotheeguerin committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    772b495 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1d20521 View commit details
    Browse the repository at this point in the history
  7. .

    timotheeguerin committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    16284d4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c23d5ad View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9c52c78 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    88ba7bf View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a360511 View commit details
    Browse the repository at this point in the history
  12. fix

    timotheeguerin committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    ee3af88 View commit details
    Browse the repository at this point in the history
  13. fix

    timotheeguerin committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    732575f View commit details
    Browse the repository at this point in the history