Skip to content

Commit 7f0bf78

Browse files
authored
Bump codegen version to 0.25.0 (#1456)
1 parent 7877c9e commit 7f0bf78

File tree

3 files changed

+22
-11
lines changed

3 files changed

+22
-11
lines changed

CHANGELOG.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Smithy Typescript Codegen Changelog
22

3+
## 0.25.0 (2024-11-18)
4+
5+
### Features
6+
- Upgraded smithyVersion to 1.52.0 ([#1434](https://github.com/smithy-lang/smithy-typescript/pull/1434))
7+
- Added default accepts=application/cbor header for Smithy RPC v2 CBOR protocol ([#1427](https://github.com/smithy-lang/smithy-typescript/pull/1427))
8+
- Added `| undefined` for optional type properties to support `exactOptionalPropertyTypes` ([#1448](https://github.com/smithy-lang/smithy-typescript/pull/1448))
9+
10+
### Bug Fixes
11+
- Added uuid types import when adding uuid import ([#1428](https://github.com/smithy-lang/smithy-typescript/pull/1428))
12+
13+
314
## 0.24.0 (2024-09-30)
415

516
### Features
@@ -48,7 +59,7 @@
4859

4960
- codegen: Fixed incorrect usage of string templates when generating commands ([#1354](https://github.com/smithy-lang/smithy-typescript/pull/1354))
5061

51-
- codegen: Fixed serialization of `:event-type` in event-streams where the member target-id was being used instead of the member name ([#1349](https://github.com/smithy-lang/smithy-typescript/pull/1349))
62+
- codegen: Fixed serialization of `:event-type` in event-streams where the member target-id was being used instead of the member name ([#1349](https://github.com/smithy-lang/smithy-typescript/pull/1349))
5263

5364
- codegen: Fixed issue where content-type was being set when input body was empty ([#1304](https://github.com/smithy-lang/smithy-typescript/pull/1304))
5465

@@ -160,7 +171,7 @@
160171
* Update to generate enum Record keys when target is enum ([#1037](https://github.com/awslabs/smithy-typescript/pull/1037))
161172
* Removed "| string" and "| number" from enum targeted members ([#1028](https://github.com/awslabs/smithy-typescript/pull/1003))
162173
* Added `-p` for `mkdir` in `build-generated-test-packages` ([#1010](https://github.com/awslabs/smithy-typescript/pull/1003))
163-
* Added logging for `buildAndCopyToNodeModules()` ([#1003](https://github.com/awslabs/smithy-typescript/pull/1003))
174+
* Added logging for `buildAndCopyToNodeModules()` ([#1003](https://github.com/awslabs/smithy-typescript/pull/1003))
164175
* Reorganized models in `smithy-typescript-codegen-test` ([#995](https://github.com/awslabs/smithy-typescript/pull/995))
165176
* Updated to export empty model index if no `model_*` files exist ([#996](https://github.com/awslabs/smithy-typescript/pull/996))
166177
* Read service specific endpoints for environment or config ([#1014](https://github.com/awslabs/smithy-typescript/pull/1014))

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ smithy-typescript-example-client/
3737
└── smithy-build.json
3838
```
3939

40-
To add a minimal `typescript-client-codegen` plugin, add the following to `smithy-build.json`:
40+
To add a minimal `typescript-client-codegen` plugin, add the following to `smithy-build.json`:
4141

4242
```json
4343
// smithy-build.json
@@ -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.24.0"
50+
"software.amazon.smithy.typescript:smithy-typescript-codegen:0.25.0"
5151
]
5252
},
5353
"plugins": {
@@ -102,7 +102,7 @@ smithy-typescript-example-client-gradle/
102102
└── smithy-build.json
103103
```
104104

105-
To add a minimal `typescript-client-codegen` plugin, add the following to `smithy-build.json`:
105+
To add a minimal `typescript-client-codegen` plugin, add the following to `smithy-build.json`:
106106

107107
```json
108108
// smithy-build.json
@@ -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.24.0")
144+
implementation("software.amazon.smithy.typescript:smithy-typescript-codegen:0.25.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")
@@ -327,9 +327,9 @@ Once a `ProtocolGenerator` is implemented, the implementation can be registered
327327
```java
328328
// src/main/java/typescript/example/client/gradle/ExampleClientProtocolGeneratorIntegration.java
329329
package typescript.example.client.gradle;
330-
330+
331331
// ...
332-
332+
333333
public class ExampleClientProtocolGeneratorIntegration implements TypeScriptIntegration {
334334
// ProtocolGenerator implementation is inline for brevity, but should be in its
335335
// own file
@@ -368,9 +368,9 @@ Smithy TypeScript has the `CustomEndpoints` configuration which can be used to a
368368
```java
369369
// src/main/java/typescript/example/client/gradle/ExampleClientEndpointResolutionIntegration.java
370370
package typescript.example.client.gradle;
371-
371+
372372
// ...
373-
373+
374374
public class ExampleClientEndpointResolutionIntegration implements TypeScriptIntegration {
375375
@Override
376376
public List<RuntimeClientPlugin> getClientPlugins() {

build.gradle.kts

Lines changed: 1 addition & 1 deletion
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.24.0"
31+
version = "0.25.0"
3232
}
3333

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

0 commit comments

Comments
 (0)