Skip to content

Commit

Permalink
Bump codegen version to 0.21.0 (smithy-lang#1286)
Browse files Browse the repository at this point in the history
* Bump codegen version to 0.21.0

* Update CHANGELOG.md

Co-authored-by: Steven Yuan <[email protected]>

* Fix the version of tests to the previously relased version

---------

Co-authored-by: Steven Yuan <[email protected]>
  • Loading branch information
sugmanue and syall authored May 22, 2024
1 parent 128d35f commit 659a690
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 5 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Smithy Typescript Codegen Changelog

## 0.21.0 (2024-05-22)

### Breaking Changes

- Update Engines to Node.js 16, Node.js 14 is not officialy supported anymore ([#1258](https://github.com/smithy-lang/smithy-typescript/pull/1258))

### Features

- Bumped TypeScript to ~5.2.x in smithy JS packages ([#1275](https://github.com/smithy-lang/smithy-typescript/pull/1275))
- `@smithy/fetch-http-handler`, `@smithy/node-http-handler`: Improveed stream collection performance ([#1272](https://github.com/smithy-lang/smithy-typescript/pull/1272))
- Improved support for fetch and web-streams in Node.js ([#1256](https://github.com/smithy-lang/smithy-typescript/pull/1256))
- `@smithy/node-http-handler`, `"@smithy/util-stream`: Handle web streams in streamCollector and sdkStreamMixin
- Added service client doc generator only when typedoc is selected ([#1253](https://github.com/smithy-lang/smithy-typescript/pull/1253))

### Bug Fixes

- `@smithy/types`: Fixed type transforms account for no-args operation methods ([#1262](https://github.com/smithy-lang/smithy-typescript/pull/1262))
- Check dependencies when adding imports ([#1239](https://github.com/smithy-lang/smithy-typescript/pull/1239))
- Fixed typo in `HttpResponse` docs ([#958](https://github.com/smithy-lang/smithy-typescript/pull/958))
- Fixed URI escape path ([#1224](https://github.com/smithy-lang/smithy-typescript/pull/1224)) ([#1226](https://github.com/smithy-lang/smithy-typescript/pull/1226))

## 0.20.1 (2024-04-05)

### Features
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ To add a minimal `typescript-client-codegen` plugin, add the following to `smith
// Add the Smithy TypeScript code generator dependency
"maven": {
"dependencies": [
"software.amazon.smithy.typescript:smithy-typescript-codegen:0.20.1"
"software.amazon.smithy.typescript:smithy-typescript-codegen:0.21.0"
]
},
"plugins": {
Expand Down Expand Up @@ -141,7 +141,7 @@ dependencies {
smithyCli("software.amazon.smithy:smithy-cli:$smithyVersion")

// Add the Smithy TypeScript code generator dependency
implementation("software.amazon.smithy.typescript:smithy-typescript-codegen:0.20.1")
implementation("software.amazon.smithy.typescript:smithy-typescript-codegen:0.21.0")

// Uncomment below to add various smithy dependencies (see full list of smithy dependencies in https://github.com/awslabs/smithy)
// implementation("software.amazon.smithy:smithy-model:$smithyVersion")
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ plugins {

allprojects {
group = "software.amazon.smithy.typescript"
version = "0.20.1"
version = "0.21.0"
}

// The root project doesn't produce a JAR.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ repositories {
dependencies {
val smithyVersion: String by project

smithyBuild("software.amazon.smithy.typescript:smithy-typescript-codegen:0.+")
smithyBuild("software.amazon.smithy.typescript:smithy-aws-typescript-codegen:0.+")
smithyBuild("software.amazon.smithy.typescript:smithy-typescript-codegen:0.20.1!!")
smithyBuild("software.amazon.smithy.typescript:smithy-aws-typescript-codegen:0.20.1!!")
smithyBuild(project(":smithy-typescript-codegen-test:example-weather-customizations"))

// Explicitly configure for CLI version
Expand Down

0 comments on commit 659a690

Please sign in to comment.