diff --git a/.changes/next-release/bugfix-3462fce24080c851a7e66263b70c5280721f6767.json b/.changes/next-release/bugfix-3462fce24080c851a7e66263b70c5280721f6767.json deleted file mode 100644 index 18d49e7eda2..00000000000 --- a/.changes/next-release/bugfix-3462fce24080c851a7e66263b70c5280721f6767.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "bugfix", - "description": "Fix PR link generation in new-change and render command", - "pull_requests": [ - "[#2767](https://github.com/smithy-lang/smithy/pull/2767)" - ] -} diff --git a/.changes/next-release/feature-c14e60c99957050208523aa25f3634185c427376.json b/.changes/next-release/feature-c14e60c99957050208523aa25f3634185c427376.json deleted file mode 100644 index fb4abdf584f..00000000000 --- a/.changes/next-release/feature-c14e60c99957050208523aa25f3634185c427376.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "feature", - "description": "Sync partitions.json to match latest SDK release", - "pull_requests": [ - "[#2777](https://github.com/smithy-lang/smithy/pull/2777)" - ] -} diff --git a/.changes/releases/1.62.0.json b/.changes/releases/1.62.0.json new file mode 100644 index 00000000000..be511cc5a25 --- /dev/null +++ b/.changes/releases/1.62.0.json @@ -0,0 +1,211 @@ +{ + "version": "1.62.0", + "changes": [ + { + "type": "documentation", + "description": "Updated README.md for Trait Codegen.", + "pull_requests": [ + "[#2753](https://github.com/smithy-lang/smithy/pull/2753)" + ] + }, + { + "type": "bugfix", + "description": "Updated query params output test in rest-json.", + "pull_requests": [ + "[#2739](https://github.com/smithy-lang/smithy/pull/2739)" + ] + }, + { + "type": "bugfix", + "description": "Fixed trait codegen for timestamp member with timestampformat trait.", + "pull_requests": [ + "[#2744](https://github.com/smithy-lang/smithy/pull/2744)" + ] + }, + { + "type": "bugfix", + "description": "Removed the breakingChanges member from the required trait.", + "pull_requests": [ + "[#2748](https://github.com/smithy-lang/smithy/pull/2748)" + ] + }, + { + "type": "documentation", + "description": "Added README.md for trait codegen.", + "pull_requests": [ + "[#2751](https://github.com/smithy-lang/smithy/pull/2751)" + ] + }, + { + "type": "bugfix", + "description": "Fixed trait codegen for list with uniqueitems trait.", + "pull_requests": [ + "[#2706](https://github.com/smithy-lang/smithy/pull/2706)" + ] + }, + { + "type": "feature", + "description": "Allow specifying multiple files and/or directories to smithy format. Fixes [#2563](https://github.com/smithy-lang/smithy/issues/2563).", + "pull_requests": [ + "[#2757](https://github.com/smithy-lang/smithy/pull/2757)" + ] + }, + { + "type": "feature", + "description": "Added split function to rules engine.", + "pull_requests": [ + "[#2762](https://github.com/smithy-lang/smithy/pull/2762)" + ] + }, + { + "type": "bugfix", + "description": "Fixed loading smithy-ts version in docs.", + "pull_requests": [ + "[#2722](https://github.com/smithy-lang/smithy/pull/2722)" + ] + }, + { + "type": "bugfix", + "description": "Fixed trait codegen for class name conflicts in enum/intenum traits.", + "pull_requests": [ + "[#2755](https://github.com/smithy-lang/smithy/pull/2755)" + ] + }, + { + "type": "bugfix", + "description": "Fixed incorrect builder properties assignment for enum with default value.", + "pull_requests": [ + "[#2752](https://github.com/smithy-lang/smithy/pull/2752)" + ] + }, + { + "type": "other", + "description": "Raised the severity for query error validator to danger.", + "pull_requests": [ + "[#2758](https://github.com/smithy-lang/smithy/pull/2758)" + ] + }, + { + "type": "documentation", + "description": "Added missing important word in `model.rst`.", + "pull_requests": [ + "[#2726](https://github.com/smithy-lang/smithy/pull/2726)" + ] + }, + { + "type": "bugfix", + "description": "Fixed a bug that prevented warning events to show up for diff CLI command.", + "pull_requests": [ + "[#2749](https://github.com/smithy-lang/smithy/pull/2749)" + ] + }, + { + "type": "bugfix", + "description": "Fixed trait codegen for structure's string member with `@idRef`.", + "pull_requests": [ + "[#2728](https://github.com/smithy-lang/smithy/pull/2728)" + ] + }, + { + "type": "bugfix", + "description": "Updated shape id sequences (such as an operation's list of errors) to use ordered sets instead of lists to avoid models failing to evaluate as equal if the order is changed.", + "pull_requests": [ + "[#2742](https://github.com/smithy-lang/smithy/pull/2742)" + ] + }, + { + "type": "bugfix", + "description": "Fixed using shapes without TraitDefinition as trait.", + "pull_requests": [ + "[#2733](https://github.com/smithy-lang/smithy/pull/2733)" + ] + }, + { + "type": "bugfix", + "description": "Fixed trait codegen for List or Map traits with annotations or Javadocs.", + "pull_requests": [ + "[#2729](https://github.com/smithy-lang/smithy/pull/2729)" + ] + }, + { + "type": "feature", + "description": "Added BDD-based rules engine trait.", + "pull_requests": [ + "[#2703](https://github.com/smithy-lang/smithy/pull/2703)" + ] + }, + { + "type": "bugfix", + "description": "Fixed type transposing in RPC v2 CBOR spec.", + "pull_requests": [ + "[#2727](https://github.com/smithy-lang/smithy/pull/2727)" + ] + }, + { + "type": "documentation", + "description": "Updated smithy-java quickstart docs with correct file name.", + "pull_requests": [ + "[#2766](https://github.com/smithy-lang/smithy/pull/2766)" + ] + }, + { + "type": "bugfix", + "description": "Added missing sourceLocation setting in fromNode() in trait codegen.", + "pull_requests": [ + "[#2730](https://github.com/smithy-lang/smithy/pull/2730)" + ] + }, + { + "type": "feature", + "description": "Updated builders to consistently use BuilderRef to avoid leaking mutable values.", + "pull_requests": [ + "[#2743](https://github.com/smithy-lang/smithy/pull/2743)" + ] + }, + { + "type": "feature", + "description": "Synced partitions.json to match latest SDK release.", + "pull_requests": [ + "[#2777](https://github.com/smithy-lang/smithy/pull/2777)", + "[#2781](https://github.com/smithy-lang/smithy/pull/2781)" + ] + }, + { + "type": "bugfix", + "description": "Reverted casting terminal endpoint builder methods as their types were being re-written as different types.", + "pull_requests": [ + "[#2773](https://github.com/smithy-lang/smithy/pull/2773)" + ] + }, + { + "type": "other", + "description": "Added JSON protocol tests to assert that nested `__type` keys don't overwrite the top-level `__type`.", + "pull_requests": [ + "[#2778](https://github.com/smithy-lang/smithy/pull/2778)" + ] + }, + { + "type": "bugfix", + "description": "Fixed an issue causing OpenAPI error examples to be missing when service-level and operation-level errors share HTTP status codes.", + "pull_requests": [ + "[#2754](https://github.com/smithy-lang/smithy/pull/2754)" + ] + }, + { + "type": "documentation", + "description": "Fixed an incorrect command in the server quickstart.", + "pull_requests": [ + "https://github.com/smithy-lang/smithy/pull/2782" + ] + }, + { + "type": "feature", + "description": "Added support for union traits and unions as parts of other trait definitions.", + "pull_requests": [ + "https://github.com/smithy-lang/smithy/pull/2780", + "https://github.com/smithy-lang/smithy/pull/2784" + ] + } + ], + "date": "2025-09-24" +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 1201a5c79b9..c13ee9b1269 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,84 @@ # Smithy Changelog +## 1.62.0 (2025-09-24) + +### Features + +- Allow specifying multiple files and/or directories to smithy format. Fixes + ([#2757](https://github.com/smithy-lang/smithy/pull/2757)) +- Added split function to rules engine. + ([#2762](https://github.com/smithy-lang/smithy/pull/2762)) +- Added BDD-based rules engine trait. + ([#2703](https://github.com/smithy-lang/smithy/pull/2703)) +- Updated builders to consistently use BuilderRef to avoid leaking mutable + values. ([#2743](https://github.com/smithy-lang/smithy/pull/2743)) +- Synced partitions.json to match latest SDK release. + ([#2777](https://github.com/smithy-lang/smithy/pull/2777), + [#2781](https://github.com/smithy-lang/smithy/pull/2781)) +- Added support for union traits and unions as parts of other trait definitions. + ([#2780](https://github.com/smithy-lang/smithy/pull/2780), + [#2784](https://github.com/smithy-lang/smithy/pull/2784)) + +### Bug Fixes + +- Updated query params output test in rest-json. + ([#2739](https://github.com/smithy-lang/smithy/pull/2739)) +- Fixed trait codegen for timestamp member with timestampformat trait. + ([#2744](https://github.com/smithy-lang/smithy/pull/2744)) +- Removed the breakingChanges member from the required trait. + ([#2748](https://github.com/smithy-lang/smithy/pull/2748)) +- Fixed trait codegen for list with uniqueitems trait. + ([#2706](https://github.com/smithy-lang/smithy/pull/2706)) +- Fixed loading smithy-ts version in docs. + ([#2722](https://github.com/smithy-lang/smithy/pull/2722)) +- Fixed trait codegen for class name conflicts in enum/intenum traits. + ([#2755](https://github.com/smithy-lang/smithy/pull/2755)) +- Fixed incorrect builder properties assignment for enum with default value. + ([#2752](https://github.com/smithy-lang/smithy/pull/2752)) +- Fixed a bug that prevented warning events to show up for diff CLI command. + ([#2749](https://github.com/smithy-lang/smithy/pull/2749)) +- Fixed trait codegen for structure's string member with `@idRef`. + ([#2728](https://github.com/smithy-lang/smithy/pull/2728)) +- Updated shape id sequences (such as an operation's list of errors) to use + ordered sets instead of lists to avoid models failing to evaluate as equal if + the order is changed. + ([#2742](https://github.com/smithy-lang/smithy/pull/2742)) +- Fixed using shapes without TraitDefinition as trait. + ([#2733](https://github.com/smithy-lang/smithy/pull/2733)) +- Fixed trait codegen for List or Map traits with annotations or Javadocs. + ([#2729](https://github.com/smithy-lang/smithy/pull/2729)) +- Fixed type transposing in RPC v2 CBOR spec. + ([#2727](https://github.com/smithy-lang/smithy/pull/2727)) +- Added missing sourceLocation setting in fromNode() in trait codegen. + ([#2730](https://github.com/smithy-lang/smithy/pull/2730)) +- Reverted casting terminal endpoint builder methods as their types were being + re-written as different types. + ([#2773](https://github.com/smithy-lang/smithy/pull/2773)) +- Fixed an issue causing OpenAPI error examples to be missing when service-level + and operation-level errors share HTTP status codes. + ([#2754](https://github.com/smithy-lang/smithy/pull/2754)) + +### Documentation + +- Updated README.md for Trait Codegen. + ([#2753](https://github.com/smithy-lang/smithy/pull/2753)) +- Added README.md for trait codegen. + ([#2751](https://github.com/smithy-lang/smithy/pull/2751)) +- Added missing important word in `model.rst`. + ([#2726](https://github.com/smithy-lang/smithy/pull/2726)) +- Updated smithy-java quickstart docs with correct file name. + ([#2766](https://github.com/smithy-lang/smithy/pull/2766)) +- Fixed an incorrect command in the server quickstart. + ([#2782](https://github.com/smithy-lang/smithy/pull/2782)) + +### Other + +- Raised the severity for query error validator to danger. + ([#2758](https://github.com/smithy-lang/smithy/pull/2758)) +- Added JSON protocol tests to assert that nested `__type` keys don't overwrite + the top-level `__type`. + ([#2778](https://github.com/smithy-lang/smithy/pull/2778)) + ## 1.61.0 (2025-07-23) ### Features @@ -4020,4 +4099,3 @@ components of the documentation will have changed. ([#162](https://github.com/awslabs/smithy/pull/162)) - Allow model assembling from symlink model files / directory ([#163](https://github.com/awslabs/smithy/pull/163)) - diff --git a/VERSION b/VERSION index 91951fd8ad7..59790a70184 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.61.0 +1.62.0 \ No newline at end of file