Skip to content

Commit d3f79a5

Browse files
Add release notes (#2400)
Co-authored-by: Chenjie Shi <[email protected]>
1 parent abe01a5 commit d3f79a5

File tree

1 file changed

+114
-0
lines changed

1 file changed

+114
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
---
2+
title: 0.53.0
3+
---
4+
5+
import { LinkCard } from "@astrojs/starlight/components";
6+
7+
:::danger
8+
TypeSpec core contains Breaking Changes
9+
:::
10+
11+
<LinkCard
12+
title="TypeSpec Core 0.66"
13+
description="See changes to the TypeSpec language and core libraries"
14+
href="https://typespec.io/docs/release-notes/release-2025-03-04"
15+
/>
16+
17+
## Breaking Changes
18+
19+
### All packages
20+
21+
- [#2309](https://github.com/Azure/typespec-azure/pull/2309) Minimum node version is now 20
22+
23+
## Deprecations
24+
25+
### @azure-tools/typespec-azure-core
26+
27+
- [#1208](https://github.com/Azure/typespec-azure/pull/1208) Remove `property-name-conflict` from azure-core and move into tcgc
28+
29+
### @azure-tools/typespec-client-generator-core
30+
31+
- [#2344](https://github.com/Azure/typespec-azure/pull/2344) Remove unused public `listSubClients` to avoid confusion with new internal utils function
32+
- [#2216](https://github.com/Azure/typespec-azure/pull/2216) Deprecate `packageName` in `TCGCContext`. Use `namespaceFlag` instead.
33+
- [#2216](https://github.com/Azure/typespec-azure/pull/2216) Remove support for deprecated `examples-directory`
34+
35+
## Features
36+
37+
### @azure-tools/typespec-autorest
38+
39+
- [#2336](https://github.com/Azure/typespec-azure/pull/2336) Remove reference to deleted projection feature
40+
- [#2382](https://github.com/Azure/typespec-azure/pull/2382) Add support for new `dryRun` option
41+
42+
### @azure-tools/typespec-azure-core
43+
44+
- [#2336](https://github.com/Azure/typespec-azure/pull/2336) Remove reference to deleted projection feature
45+
46+
### @azure-tools/typespec-client-generator-core
47+
48+
- [#2298](https://github.com/Azure/typespec-azure/pull/2298) Add `pageItemsSegments` for `SdkPagingServiceMetadata` to indicate how to get page items from response.
49+
- [#2390](https://github.com/Azure/typespec-azure/pull/2390) Specific scope decorator should always override all-scopes decorator.
50+
- [#2377](https://github.com/Azure/typespec-azure/pull/2377) Report diagnostic errors for discriminated unions.
51+
- [#2378](https://github.com/Azure/typespec-azure/pull/2378) Output auth related info in the yaml of code model.
52+
- [#2373](https://github.com/Azure/typespec-azure/pull/2373) Provide `listAllServiceNamespaces` to list service namespaces with versioning support.
53+
- [#2393](https://github.com/Azure/typespec-azure/pull/2393) Export `SdkEmitterOptionsSchema` for downstream emitter to add same options.
54+
- [#2353](https://github.com/Azure/typespec-azure/pull/2353) Add `licenseInfo` property of `LicenseInfo` type to `SdkPackage`, which is used to indicate the license for the package and could be configured by `license.name`, `license.company`, `license.link`, `license.header` and `license.description` in `tspconfig.yaml`.
55+
- [#2319](https://github.com/Azure/typespec-azure/pull/2319) Map all streaming request and response type to bytes.
56+
- [#2372](https://github.com/Azure/typespec-azure/pull/2372) Extend `@access` to also apply to `ModelProperty`s.
57+
- [#2326](https://github.com/Azure/typespec-azure/pull/2326) Add `namespace` flag to tcgc.
58+
- [#2216](https://github.com/Azure/typespec-azure/pull/2216) Refine all tcgc flags. Deprecate `flatten-union-as-enum` flag in `tspconfig.yaml`, and switch it to `flattenUnionAsEnum` in `CreateSdkContextOptions`.
59+
- [#2305](https://github.com/Azure/typespec-azure/pull/2305) Move from projections to mutators.
60+
- [#1208](https://github.com/Azure/typespec-azure/pull/1208) Add linter rulesets to TCGC, for both generic and language-specific linter rules.
61+
62+
## Bump dependencies
63+
64+
### @azure-tools/typespec-autorest
65+
66+
- [#2308](https://github.com/Azure/typespec-azure/pull/2308) Update dependencies
67+
68+
### @azure-tools/typespec-azure-core
69+
70+
- [#2308](https://github.com/Azure/typespec-azure/pull/2308) Update dependencies
71+
72+
### @azure-tools/typespec-azure-portal-core
73+
74+
- [#2308](https://github.com/Azure/typespec-azure/pull/2308) Update dependencies
75+
76+
### @azure-tools/typespec-azure-resource-manager
77+
78+
- [#2308](https://github.com/Azure/typespec-azure/pull/2308) Update dependencies
79+
80+
### @azure-tools/typespec-client-generator-core
81+
82+
- [#2308](https://github.com/Azure/typespec-azure/pull/2308) Update dependencies
83+
84+
## Bug Fixes
85+
86+
### @azure-tools/typespec-autorest
87+
88+
- [#2348](https://github.com/Azure/typespec-azure/pull/2348) Autorest Case insensitive check for http auth scheme
89+
- [#2297](https://github.com/Azure/typespec-azure/pull/2297) Fix using `@identifiers` on array of model with id not respected
90+
- [#2258](https://github.com/Azure/typespec-azure/pull/2258) Target param property when warn on unsupported parameter type
91+
- [#2357](https://github.com/Azure/typespec-azure/pull/2357) Cleanup use of typespec compiler internal apis.
92+
- [#2307](https://github.com/Azure/typespec-azure/pull/2307) Fixed a bug causing properties marked `@invisible(Lifecycle)` to remain included in payloads."
93+
94+
### @azure-tools/typespec-azure-core
95+
96+
- [#2357](https://github.com/Azure/typespec-azure/pull/2357) Cleanup use of typespec compiler internal apis.
97+
98+
### @azure-tools/typespec-azure-resource-manager
99+
100+
- [#2297](https://github.com/Azure/typespec-azure/pull/2297) Fix using `@identifiers` on array of model with id not respected
101+
- [#2328](https://github.com/Azure/typespec-azure/pull/2328) Fix `ArmProviderActionAsync` and `ArmProviderActionSync` operations as both operations were returning `ErrorResponse` and not accepting changes to the error response type.
102+
- [#2357](https://github.com/Azure/typespec-azure/pull/2357) Cleanup use of typespec compiler internal apis.
103+
104+
### @azure-tools/typespec-client-generator-core
105+
106+
- [#2298](https://github.com/Azure/typespec-azure/pull/2298) Keep empty for `serializedName` if the body parmeter is not explicitly defined.
107+
- [#2319](https://github.com/Azure/typespec-azure/pull/2319) Consider extensible enum when doing example value mapping.
108+
- [#2319](https://github.com/Azure/typespec-azure/pull/2319) Do not consider template type when calculating discriminator and orphan types.
109+
- [#2351](https://github.com/Azure/typespec-azure/pull/2351) Support `@nextLink` along with `@header`.
110+
- [#2152](https://github.com/Azure/typespec-azure/pull/2152) move from `isApiVersionParam` -> SdkApiVersionType
111+
- [#2222](https://github.com/Azure/typespec-azure/pull/2222) Recurse over namespaces to get all user defined namespaces"
112+
- [#2344](https://github.com/Azure/typespec-azure/pull/2344) Set `.clientDefaultValue` for api-versions in triple-nested clients
113+
- [#2356](https://github.com/Azure/typespec-azure/pull/2356) Fix setting of api versions to ensure we aren't dropping versions throughout building up our api version graph
114+
- [#2357](https://github.com/Azure/typespec-azure/pull/2357) Cleanup use of typespec compiler internal apis.

0 commit comments

Comments
 (0)