Skip to content

Commit

Permalink
bump tcgc 0.51.2 (#2235)
Browse files Browse the repository at this point in the history
  • Loading branch information
tadelesh authored Feb 20, 2025
1 parent 3313afe commit 914b53e
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 71 deletions.
7 changes: 0 additions & 7 deletions .chronus/changes/continuation_token-2025-1-12-17-57-14.md

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/continuation_token-2025-1-12-17-58-11.md

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/continuation_token-2025-1-14-16-15-29.md

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/continuation_token-2025-1-14-16-17-22.md

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/continuation_token-2025-1-18-16-47-36.md

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/fix_result_path-2025-1-19-14-38-26.md

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/fix_union-2025-1-11-23-40-5.md

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/nullable_cldid-2025-1-14-22-40-11.md

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/refine_typing-2025-1-14-10-54-42.md

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/rename_namespace-2025-1-14-17-4-43.md

This file was deleted.

25 changes: 25 additions & 0 deletions packages/typespec-client-generator-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Change Log - @azure-tools/typespec-client-generator-core

## 0.51.2

### Bug Fixes

- [#2229](https://github.com/Azure/typespec-azure/pull/2229) Fix missing result segments of anonymous paged response with header.
- [#2196](https://github.com/Azure/typespec-azure/pull/2196) Do not allow union with circular ref, change union name inside nullable type and do not take nullable type as non-body response.

### Features

- [#2206](https://github.com/Azure/typespec-azure/pull/2206) Add `pagingMetadata.continuationTokenParameterSegments` and `pagingMetadata.continuationTokenResponseSegments` to `SdkPagingServiceMetadata` to indicate the mapping of continuation token parameter and response.
- [#2206](https://github.com/Azure/typespec-azure/pull/2206) Make `SdkServiceResponseHeader` to be part of `SdkModelPropertyType`. Then it could contain the client related info.
- [#2206](https://github.com/Azure/typespec-azure/pull/2206) Add `SdkPagingServiceMetadata` type to store all paging related info.
- [#2220](https://github.com/Azure/typespec-azure/pull/2220) Add `crossLanguageDefinitionId` property for `SdkNullableType`.

### Deprecations

- [#2206](https://github.com/Azure/typespec-azure/pull/2206) Deprecate `__raw_paged_metadata`, `nextLinkPath` and `nextLinkOperation` in `SdkPagingServiceMethodOptions`. Use `pagingMetadata.__raw`, `pagingMetadata.nextLinkSegments` and `pagingMetadata.nextLinkOperation` instead.
- [#2206](https://github.com/Azure/typespec-azure/pull/2206) Deprecate `resultPath` in `SdkMethodResponse`. Use `resultSegments` instead.
- [#2219](https://github.com/Azure/typespec-azure/pull/2219) Deprecate `clientNamespace` property in `SdkClientType`, `SdkNullableType`, `SdkEnumType`, `SdkUnionType` and `SdkModelType`. Use `namespace` instead.

### Breaking Changes

- [#2217](https://github.com/Azure/typespec-azure/pull/2217) Remove `null` form union for `value` property type of `SdkConstantType`. It is a breaking change, but since no logic will come to `null` type, it shall have little impact.


## 0.51.1

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion packages/typespec-client-generator-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure-tools/typespec-client-generator-core",
"version": "0.51.1",
"version": "0.51.2",
"author": "Microsoft Corporation",
"description": "TypeSpec Data Plane Generation library",
"homepage": "https://azure.github.io/typespec-azure",
Expand Down

0 comments on commit 914b53e

Please sign in to comment.