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

Add release notes for 0.57 - 0.43 #996

Merged
merged 3 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .chronus/changes/arm-lro-opt-2024-5-5-19-32-9.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ packages:
- "@azure-tools/typespec-autorest"
---

Add suppress-lro-options emitter option to control emission of x-ms-long-running-operation-options
Use emit-lro--options emitter option to control emission of x-ms-long-running-operation-options
2 changes: 1 addition & 1 deletion .chronus/changes/arm-lro-opt-2024-5-5-2-57-50.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ packages:

---

- Add support for displaying lro options in typespec-autorest based on lro metadata
Add support for displaying lro options in typespec-autorest based on lro metadata
2 changes: 1 addition & 1 deletion .chronus/changes/discriminator_doc-2024-4-21-11-13-50.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ packages:
- "@azure-tools/typespec-client-generator-core"
---

add description for created discriminator property
add description for created discriminator property
2 changes: 1 addition & 1 deletion .chronus/changes/emitter_name-2024-5-3-22-57-49.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ packages:
- "@azure-tools/typespec-client-generator-core"
---

support new typespec emitter naming rule
support new typespec emitter naming rule
75 changes: 75 additions & 0 deletions docs/release-notes/release-2024-06-11.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
title: 0.43.0 June 2024
---

# Release Notes Version 0.43.0 - June 2024

See TypeSpec Core 0.57 [release notes](https://typespec.io/docs/release-notes/release-2024-06-11)

:::warning
This release contains breaking changes and deprecation
:::

## Breaking Changes

### @azure-tools/typespec-autorest

- [#473](https://github.com/Azure/typespec-azure/pull/473) Enums are not extensible by default anymore. Update to an extensible union `union Foo {a: "a", b: "b", string}`

### @azure-tools/typespec-client-generator-core

- [#925](https://github.com/Azure/typespec-azure/pull/925) change default of `.access` on a model or enum to `"public"` instead of `undefined`
- [#870](https://github.com/Azure/typespec-azure/pull/870) return nullable types as a new type called `SdkNullableType`

## Features

### @azure-tools/typespec-autorest

- [#955](https://github.com/Azure/typespec-azure/pull/955) Use emit-lro-options emitter option to control emission of x-ms-long-running-operation-options
- [#955](https://github.com/Azure/typespec-azure/pull/955) Add support for displaying lro options in typespec-autorest based on lro metadata
- [#972](https://github.com/Azure/typespec-azure/pull/972) Add API to programmatically get all the OpenAPI2 documents for all services at all versions in a spec
- [#811](https://github.com/Azure/typespec-azure/pull/811) Add dependency on typespec-azure-resource-manager to resolve the spec repo common types paths
- [#813](https://github.com/Azure/typespec-azure/pull/813) `@summary` sets the title of definitions

### @azure-tools/typespec-azure-core

- [#955](https://github.com/Azure/typespec-azure/pull/955) Add override decorator @useFinalStateVia for lro resolution when multiple resolution pathways exist
- [#707](https://github.com/Azure/typespec-azure/pull/707) Remove linter rules that are not relevant anymore: `use-extensible-enum` and `no-fixed-enum-discriminator`
- [#432](https://github.com/Azure/typespec-azure/pull/432) Add support for values

### @azure-tools/typespec-azure-resource-manager

- [#811](https://github.com/Azure/typespec-azure/pull/811) Remove dependency on `typespec-autorest` emitter
- [#432](https://github.com/Azure/typespec-azure/pull/432) Add support for values

## Bug Fixes

### @azure-tools/typespec-autorest

- [#923](https://github.com/Azure/typespec-azure/pull/923) When emitting version enum only include current version and mark with `modelAsString: true`
- [#902](https://github.com/Azure/typespec-azure/pull/902) Add support for new multipart constructs in http library
- [#432](https://github.com/Azure/typespec-azure/pull/432) Add support for tuple literals as default values

### @azure-tools/typespec-azure-core

- [#693](https://github.com/Azure/typespec-azure/pull/693) Add new `no-string-discriminator` linter rule suggesting using an explicit extensible union as the discriminator kind.
- [#851](https://github.com/Azure/typespec-azure/pull/851) Convert `OperationState` enum to an open union

### @azure-tools/typespec-azure-resource-manager

- [#955](https://github.com/Azure/typespec-azure/pull/955) Remove OpenAPI dependencies from ARM LRO templates and test LRO overrides
- [#929](https://github.com/Azure/typespec-azure/pull/929) Adding an overload parameter to ResourceNameParameter that allows `name` type to be set to string union type.
- [#860](https://github.com/Azure/typespec-azure/pull/860) Fix `percentComplete` property on `OperationStatus` should be a float not an int
- [#979](https://github.com/Azure/typespec-azure/pull/979) Make Resource Properties Bag Updatable
- [#998](https://github.com/Azure/typespec-azure/pull/998) Adding legacy v4 ManagedServiceIdentity model to avoid breaking changes in specs with mixed v3 and v4 common type reference

### @azure-tools/typespec-client-generator-core

- [#904](https://github.com/Azure/typespec-azure/pull/904) don't add constant value to generated name
- [#873](https://github.com/Azure/typespec-azure/pull/873) add description for created discriminator property
- [#947](https://github.com/Azure/typespec-azure/pull/947) support new typespec emitter naming rule
- [#930](https://github.com/Azure/typespec-azure/pull/930) expose enums on response headers
- [#962](https://github.com/Azure/typespec-azure/pull/962) refine logic of core model filtering
- [#950](https://github.com/Azure/typespec-azure/pull/950) remove duplicated types in TCGC
- [#936](https://github.com/Azure/typespec-azure/pull/936) enhance cross language definition id logic
- [#935](https://github.com/Azure/typespec-azure/pull/935) add read only logic to usage propagation
Loading