Skip to content

Commit

Permalink
Bump codegen version to 0.25.0 (#1456)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe authored Nov 18, 2024
1 parent 7877c9e commit 7f0bf78
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 11 deletions.
15 changes: 13 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Smithy Typescript Codegen Changelog

## 0.25.0 (2024-11-18)

### Features
- Upgraded smithyVersion to 1.52.0 ([#1434](https://github.com/smithy-lang/smithy-typescript/pull/1434))
- Added default accepts=application/cbor header for Smithy RPC v2 CBOR protocol ([#1427](https://github.com/smithy-lang/smithy-typescript/pull/1427))
- Added `| undefined` for optional type properties to support `exactOptionalPropertyTypes` ([#1448](https://github.com/smithy-lang/smithy-typescript/pull/1448))

### Bug Fixes
- Added uuid types import when adding uuid import ([#1428](https://github.com/smithy-lang/smithy-typescript/pull/1428))


## 0.24.0 (2024-09-30)

### Features
Expand Down Expand Up @@ -48,7 +59,7 @@

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

- 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))
- 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))

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

Expand Down Expand Up @@ -160,7 +171,7 @@
* Update to generate enum Record keys when target is enum ([#1037](https://github.com/awslabs/smithy-typescript/pull/1037))
* Removed "| string" and "| number" from enum targeted members ([#1028](https://github.com/awslabs/smithy-typescript/pull/1003))
* Added `-p` for `mkdir` in `build-generated-test-packages` ([#1010](https://github.com/awslabs/smithy-typescript/pull/1003))
* Added logging for `buildAndCopyToNodeModules()` ([#1003](https://github.com/awslabs/smithy-typescript/pull/1003))
* Added logging for `buildAndCopyToNodeModules()` ([#1003](https://github.com/awslabs/smithy-typescript/pull/1003))
* Reorganized models in `smithy-typescript-codegen-test` ([#995](https://github.com/awslabs/smithy-typescript/pull/995))
* Updated to export empty model index if no `model_*` files exist ([#996](https://github.com/awslabs/smithy-typescript/pull/996))
* Read service specific endpoints for environment or config ([#1014](https://github.com/awslabs/smithy-typescript/pull/1014))
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ smithy-typescript-example-client/
└── smithy-build.json
```

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

```json
// smithy-build.json
Expand All @@ -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.24.0"
"software.amazon.smithy.typescript:smithy-typescript-codegen:0.25.0"
]
},
"plugins": {
Expand Down Expand Up @@ -102,7 +102,7 @@ smithy-typescript-example-client-gradle/
└── smithy-build.json
```

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

```json
// smithy-build.json
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.24.0")
implementation("software.amazon.smithy.typescript:smithy-typescript-codegen:0.25.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 Expand Up @@ -327,9 +327,9 @@ Once a `ProtocolGenerator` is implemented, the implementation can be registered
```java
// src/main/java/typescript/example/client/gradle/ExampleClientProtocolGeneratorIntegration.java
package typescript.example.client.gradle;

// ...

public class ExampleClientProtocolGeneratorIntegration implements TypeScriptIntegration {
// ProtocolGenerator implementation is inline for brevity, but should be in its
// own file
Expand Down Expand Up @@ -368,9 +368,9 @@ Smithy TypeScript has the `CustomEndpoints` configuration which can be used to a
```java
// src/main/java/typescript/example/client/gradle/ExampleClientEndpointResolutionIntegration.java
package typescript.example.client.gradle;

// ...

public class ExampleClientEndpointResolutionIntegration implements TypeScriptIntegration {
@Override
public List<RuntimeClientPlugin> getClientPlugins() {
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.24.0"
version = "0.25.0"
}

// The root project doesn't produce a JAR.
Expand Down

0 comments on commit 7f0bf78

Please sign in to comment.