Skip to content

Commit 461a83c

Browse files
authored
release v1.3.0 (#77)
1 parent 6a3da22 commit 461a83c

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22

33
## Unreleased
44

5+
## [[1.3.0](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v1.3.0)] 2025-01-22
6+
57
- Extend `@save` annotation support for user defined type (types, interfaces, classes) ([#71](https://github.com/hasura/ndc-open-api-lambda/pull/71))
68
- Remove `--overwrite` flag from help for overwrite behaviour ([#76](https://github.com/hasura/ndc-open-api-lambda/pull/76))
9+
- Add `@allowrelaxedtypes` annotation support for response types ([#74](https://github.com/hasura/ndc-open-api-lambda/pull/74))
710

811
## [[1.2.0](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v1.2.0)] 2024-12-11
912

connector-definition/.hasura-connector/connector-metadata.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ supportedEnvironmentVariables:
1414
commands:
1515
update:
1616
type: Dockerized
17-
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v1.2.0
17+
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v1.3.0
1818
commandArgs: [ "update" ]
1919
cliPlugin:
2020
type: Docker
21-
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v1.2.0
21+
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v1.3.0
2222
dockerComposeWatch:
2323
# Rebuild the container if a new package restore is required because package[-lock].json changed
2424
- path: package.json

docs/documentation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,19 +129,19 @@ The Docker Container will output the generated files at `/etc/connector`. Please
129129

130130
```bash
131131
# get command documentation/help
132-
docker run --rm ghcr.io/hasura/ndc-open-api-lambda:v1.2.0 update -h
132+
docker run --rm ghcr.io/hasura/ndc-open-api-lambda:v1.3.0 update -h
133133

134134
# run the code generation (using env vars)
135-
docker run --rm -v ./:/etc/connector/ -e NDC_OAS_DOCUMENT_URI=${url to open API document} ghcr.io/hasura/ndc-open-api-lambda:v1.2.0 update
135+
docker run --rm -v ./:/etc/connector/ -e NDC_OAS_DOCUMENT_URI=${url to open API document} ghcr.io/hasura/ndc-open-api-lambda:v1.3.0 update
136136

137137
# run the code generation (using CLI flags)
138-
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v1.2.0 update --open-api ${url to open API document}
138+
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v1.3.0 update --open-api ${url to open API document}
139139

140140
# with baseUrl (using env vars)
141-
docker run --rm -v ./:/etc/connector/ -e NDC_OAS_DOCUMENT_URI=${url to open API document} -e NDC_OAS_BASE_URL=http://demoapi.com/ ghcr.io/hasura/ndc-open-api-lambda:v1.2.0 update
141+
docker run --rm -v ./:/etc/connector/ -e NDC_OAS_DOCUMENT_URI=${url to open API document} -e NDC_OAS_BASE_URL=http://demoapi.com/ ghcr.io/hasura/ndc-open-api-lambda:v1.3.0 update
142142

143143
# with baseUrl (using CLI flags)
144-
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v1.2.0 update --open-api ${url to open API document} --base-url http://demoapi.com/
144+
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v1.3.0 update --open-api ${url to open API document} --base-url http://demoapi.com/
145145
```
146146

147147
## Build and Run

src/cli/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as updateCmd from "./update";
55
import { exec, execSync } from "child_process";
66

77
export const program = new Command()
8-
.version("1.2.0")
8+
.version("1.3.0")
99
.description("OAS Connector CLI")
1010
// .addCommand(initCmd.cmd) TODO: Enable when required by the CLI spec
1111
.addCommand(updateCmd.cmd)

0 commit comments

Comments
 (0)