Skip to content

Commit 66f2b66

Browse files
authored
Bump codegen version to 0.20.0 (#1223)
Also had to change the codegen libraries' dependency versions in released-version-test to not use the version specified by the project.
1 parent e03a10a commit 66f2b66

File tree

4 files changed

+53
-6
lines changed

4 files changed

+53
-6
lines changed

CHANGELOG.md

+48
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,53 @@
11
# Smithy Typescript Codegen Changelog
22

3+
## 0.20.0 (2024-03-21)
4+
5+
### Features
6+
7+
- codegen: Identity and Auth, support for the `@auth` Smithy trait. See https://smithy.io/2.0/spec/authentication-traits.html#auth-trait.
8+
- codegen: Support request compression ([#1129](https://github.com/smithy-lang/smithy-typescript/pull/1129))
9+
- codegen: Allow commands to be constructed without arg if all arg fields optional ([#1206](https://github.com/smithy-lang/smithy-typescript/pull/1206))
10+
- codegen: Generate unified error dispatcher ([#1150](https://github.com/smithy-lang/smithy-typescript/pull/1150))
11+
- codegen: Generate Commands using Command classBuilder ([#1118](https://github.com/smithy-lang/smithy-typescript/pull/1118))
12+
- codegen: Paginator factory ([#1115](https://github.com/smithy-lang/smithy-typescript/pull/1115))
13+
- codegen: Generate paginators using a factory ([#1114](https://github.com/smithy-lang/smithy-typescript/pull/1114))
14+
- codegen: XML serde reduction ([#1108](https://github.com/smithy-lang/smithy-typescript/pull/1108))
15+
- codegen: Add requestBuilder, generate requests using a builder pattern ([#1107](https://github.com/smithy-lang/smithy-typescript/pull/1107))
16+
- codegen-docs: Add deprecation message in shape docs ([#1209](https://github.com/smithy-lang/smithy-typescript/pull/1209))
17+
- codegen-docs: Move documentation before release tag and deprecation ([#1211](https://github.com/smithy-lang/smithy-typescript/pull/1211))
18+
- codegen-docs: Move deprecation after description in docs ([#1212](https://github.com/smithy-lang/smithy-typescript/pull/1212))
19+
- codegen-docs: Add more information about BLOB values in structures ([#1182](https://github.com/smithy-lang/smithy-typescript/pull/1182))
20+
- `@smithy/types`: Assertive client type helper ([#1076](https://github.com/smithy-lang/smithy-typescript/pull/1076))
21+
- `@smithy/*`: `dist-cjs` artifacts are now generated as a bundle ([#1146](https://github.com/smithy-lang/smithy-typescript/pull/1146))
22+
- `@smithy/util-base64`: Encoders now accept strings ([#1176](https://github.com/smithy-lang/smithy-typescript/pull/1176))
23+
- `@smithy/node-http-handler`: Enable ctor arg passthrough for requestHandler ([#1167](https://github.com/smithy-lang/smithy-typescript/pull/1167))
24+
- `@smithy/node-http-handler`: Add checked socket exhaustion warning when throughput is slow ([#1164](https://github.com/smithy-lang/smithy-typescript/pull/1164))
25+
- `@smithy/node-http-handler`: Allow http(s).Agent ctor arg in lieu of instance ([#1165](https://github.com/smithy-lang/smithy-typescript/pull/1165))
26+
- `@smithy/node-http-handler`: Reduce buffer copies ([#867](https://github.com/smithy-lang/smithy-typescript/pull/867))
27+
28+
### Bug Fixes
29+
30+
- codegen: Empty the contents of the dependencyVersions.properties file when creating it ([#1213](https://github.com/smithy-lang/smithy-typescript/pull/1213))
31+
- codegen: Import _json function at call sites ([#1174](https://github.com/smithy-lang/smithy-typescript/pull/1174))
32+
- codegen: Model bucketing edge case with resource shape ([#1123](https://github.com/smithy-lang/smithy-typescript/pull/1123))
33+
- codegen: Use `TopDownIndex::getContainedOperations()` for operation iterations ([#1109](https://github.com/smithy-lang/smithy-typescript/pull/1109))
34+
- codegen: Accommodate services with the world Client in their names ([#1102](https://github.com/smithy-lang/smithy-typescript/pull/1102))
35+
- `@smithy/middleware-retry`: Retry after clock skew correction ([#1170](https://github.com/smithy-lang/smithy-typescript/pull/1170))
36+
- `@smithy/middleware-retry`: Warn streaming requests are not retryable ([#1092](https://github.com/smithy-lang/smithy-typescript/pull/1092))
37+
- `@smithy/core`: Handle multi-part token paths in paginator ([#1160](https://github.com/smithy-lang/smithy-typescript/pull/1160))
38+
- `@smithy/util-utf8`: Use Node.js implementations in react-native ([#1070](https://github.com/smithy-lang/smithy-typescript/pull/1070))
39+
- `@smithy/smithy-client`: Apply filtering when walking json arrays ([#1086](https://github.com/smithy-lang/smithy-typescript/pull/1086))
40+
- `@smithy/util-body-length-browser`: Increase performance of body length calculation for larger payloads on browser ([#1088](https://github.com/smithy-lang/smithy-typescript/pull/1088))
41+
- `@smithy/middleware-serde`: Allow error deserializers to populate error response body ([#1180](https://github.com/smithy-lang/smithy-typescript/pull/1180))
42+
- `@smithy/shared-ini-file-loader`: Process sso-session names with config prefix separator ([#1173](https://github.com/smithy-lang/smithy-typescript/pull/1173))
43+
- `@smithy/shared-ini-file-loader`: Process config files for profile names containing prefix separator ([#1100](https://github.com/smithy-lang/smithy-typescript/pull/1100))
44+
- `@smithy/shared-ini-file-loader`: Allow dot, solidus, percent and colon characters in profile names ([#1067](https://github.com/smithy-lang/smithy-typescript/pull/1067))
45+
46+
### Documentation
47+
- Add readme content for signature-v4 ([#1087](https://github.com/smithy-lang/smithy-typescript/pull/1087))
48+
- Sigv4 README.md brackets ([#1103](https://github.com/smithy-lang/smithy-typescript/pull/1103))
49+
- Fix README `smithy-build.json` examples ([#1082](https://github.com/smithy-lang/smithy-typescript/pull/1082))
50+
351
## 0.19.0 (2023-11-02)
452

553
### Features

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ To add a minimal `typescript-client-codegen` plugin, add the following to `smith
4747
// Add the Smithy TypeScript code generator dependency
4848
"maven": {
4949
"dependencies": [
50-
"software.amazon.smithy.typescript:smithy-typescript-codegen:0.19.0"
50+
"software.amazon.smithy.typescript:smithy-typescript-codegen:0.20.0"
5151
]
5252
},
5353
"plugins": {
@@ -141,7 +141,7 @@ dependencies {
141141
smithyCli("software.amazon.smithy:smithy-cli:$smithyVersion")
142142

143143
// Add the Smithy TypeScript code generator dependency
144-
implementation("software.amazon.smithy.typescript:smithy-typescript-codegen:0.19.0")
144+
implementation("software.amazon.smithy.typescript:smithy-typescript-codegen:0.20.0")
145145

146146
// Uncomment below to add various smithy dependencies (see full list of smithy dependencies in https://github.com/awslabs/smithy)
147147
// implementation("software.amazon.smithy:smithy-model:$smithyVersion")

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ plugins {
2828

2929
allprojects {
3030
group = "software.amazon.smithy.typescript"
31-
version = "0.19.0"
31+
version = "0.20.0"
3232
}
3333

3434
// The root project doesn't produce a JAR.

smithy-typescript-codegen-test/released-version-test/build.gradle.kts

+2-3
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ repositories {
1414

1515
dependencies {
1616
val smithyVersion: String by project
17-
val version: String by project
1817

19-
smithyBuild("software.amazon.smithy.typescript:smithy-typescript-codegen:$version!!")
20-
smithyBuild("software.amazon.smithy.typescript:smithy-aws-typescript-codegen:$version!!")
18+
smithyBuild("software.amazon.smithy.typescript:smithy-typescript-codegen:0.+")
19+
smithyBuild("software.amazon.smithy.typescript:smithy-aws-typescript-codegen:0.+")
2120
smithyBuild(project(":smithy-typescript-codegen-test:example-weather-customizations"))
2221

2322
// Explicitly configure for CLI version

0 commit comments

Comments
 (0)