Skip to content

Commit fa033ba

Browse files
authored
release/v0.2.0 (#63)
2 parents fea7e03 + d237846 commit fa033ba

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

changelog.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
## [[0.2.0](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v0.2.0)] 2024-09-26
6+
57
- Several bugfixes in `functions.ts` codegen due to integration of new parsers ([#50](https://github.com/hasura/ndc-open-api-lambda/pull/50))
68

79
## [[0.1.5](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v0.1.5)] 2024-09-23

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

+2-2
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:v0.1.5
17+
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v0.2.0
1818
commandArgs: [ "update" ]
1919
cliPlugin:
2020
type: Docker
21-
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v0.1.5
21+
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v0.2.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

+5-5
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,19 @@ The Docker Container will output the generated files at `/etc/connector`. Please
4141

4242
```
4343
# get command documentation/help
44-
docker run --rm ghcr.io/hasura/ndc-open-api-lambda:v0.1.5 update -h
44+
docker run --rm ghcr.io/hasura/ndc-open-api-lambda:v0.2.0 update -h
4545
4646
# run the code generation (using env vars)
47-
docker run --rm -v ./:/etc/connector/ -e NDC_OAS_DOCUMENT_URI=${url to open API document} ghcr.io/hasura/ndc-open-api-lambda:v0.1.5 update
47+
docker run --rm -v ./:/etc/connector/ -e NDC_OAS_DOCUMENT_URI=${url to open API document} ghcr.io/hasura/ndc-open-api-lambda:v0.2.0 update
4848
4949
# run the code generation (using CLI flags)
50-
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v0.1.5 update --open-api ${url to open API document}
50+
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v0.2.0 update --open-api ${url to open API document}
5151
5252
# with baseUrl (using env vars)
53-
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:v0.1.5 update
53+
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:v0.2.0 update
5454
5555
# with baseUrl (using CLI flags)
56-
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v0.1.5 update --open-api ${url to open API document} --base-url http://demoapi.com/
56+
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v0.2.0 update --open-api ${url to open API document} --base-url http://demoapi.com/
5757
```
5858

5959
## Build and Run

src/cli/index.ts

+1-1
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("0.1.5")
8+
.version("0.2.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)