Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

feat(core): bump tsp 0.51.0 and cadl-ranch 0.28.0#4022

Merged
pshao25 merged 14 commits into
Azure:feature/v3from
archerzz:typespec/0.51.0
Dec 19, 2023
Merged

feat(core): bump tsp 0.51.0 and cadl-ranch 0.28.0#4022
pshao25 merged 14 commits into
Azure:feature/v3from
archerzz:typespec/0.51.0

Conversation

@archerzz

@archerzz archerzz commented Dec 8, 2023

Copy link
Copy Markdown
Member

Description

  • bump typespec 0.51.0 and depending libraries
  • bump cadl-ranch 0.28.0
  • recursively load multiple-level client hierarchy
  • regen tests/samples
  • fix some tests

resolve #4021

Checklist

To ensure a quick review and merge, please ensure:

  • The PR has a understandable title and description explaining the why and what.
  • The PR is opened in draft if not ready for review yet.
    • If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review
  • The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

  • Build is completely green
    • Submissions with test failures require tracking issue and approval of a CODEOWNER
  • At least one +1 review by a CODEOWNER
  • All -1 reviews are confirmed resolved by the reviewer
    • Override/Marking reviews stale must be discussed with CODEOWNERS first

- bump typespec 0.51.0 and depending libraries
- bump cadl-ranch 0.28.0
- recursively load multiple-level client hierarchy
- regen tests/samples
- fix some tests

resolve Azure#4021
@archerzz

archerzz commented Dec 8, 2023

Copy link
Copy Markdown
Member Author

blocked by #4023

@archerzz archerzz added the DPG label Dec 8, 2023
@archerzz

Copy link
Copy Markdown
Member Author

blocked by #4019

# Conflicts:
#	test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/FirstTestTypeSpecClient.xml
#	test/TestProjects/FirstTest-TypeSpec/src/Generated/FirstTestTypeSpecClient.cs
#	test/TestProjects/FirstTest-TypeSpec/src/Generated/tspCodeModel.json
#	test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_FirstTestTypeSpecClient.cs
# Conflicts:
#	test/CadlRanchProjects/azure/core/lro/rpc-legacy/src/Generated/Docs/LegacyClient.xml
#	test/CadlRanchProjects/azure/core/lro/rpc-legacy/src/Generated/LegacyClient.cs
#	test/CadlRanchProjects/azure/core/lro/rpc-legacy/src/Generated/tspCodeModel.json
#	test/CadlRanchProjects/azure/core/lro/rpc-legacy/tests/Generated/Samples/Samples_LegacyClient.cs
#	test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/FirstTestTypeSpecClient.xml
#	test/TestProjects/FirstTest-TypeSpec/src/Generated/FirstTestTypeSpecClient.cs
#	test/TestProjects/FirstTest-TypeSpec/src/Generated/tspCodeModel.json
#	test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_FirstTestTypeSpecClient.cs
#	test/TestProjects/PetStore-TypeSpec/src/Generated/PetStoreClient.cs
#	test/TestProjects/PetStore-TypeSpec/src/Generated/tspCodeModel.json
@archerzz

Copy link
Copy Markdown
Member Author

We're close to merging this PR. From the latest preview PR:

  • breaking change in AnomalyDetector is expected due to client hierarchy feature, and that SDK is deprecated
  • breaking change in healthinsights should be fixed in upstream typespec fix: fix(healthinsights): add @lroResult azure-rest-api-specs#27081
  • devcenter is fixed by restoring the logic of excluding return value for delete method

Comment thread src/TypeSpec.Extension/Emitter.Csharp/src/lib/operation.ts Outdated
Comment thread test/AutoRest.TestServer.Tests/ConvenienceMethodTests.cs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bump typespec 0.51.0 and cadl-ranch 0.28.0

3 participants