Skip to content

Commit f1ca40b

Browse files
authored
update version to v1.5.1 (#86)
1 parent 0744e43 commit f1ca40b

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+
## [[1.5.1](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v1.5.1)] 2025-03-10
6+
57
- Set `allowrelaxedtypes` annotation for every function (API) ([#85](https://github.com/hasura/ndc-open-api-lambda/pull/85))
68

79
- Fix param parsing of `anyOf`, `allOf` and `oneOf` ([#83](https://github.com/hasura/ndc-open-api-lambda/pull/83))

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:v1.5.0
17+
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v1.5.1
1818
commandArgs: [ "update" ]
1919
cliPlugin:
2020
type: Docker
21-
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v1.5.0
21+
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v1.5.1
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
@@ -131,19 +131,19 @@ The Docker Container will output the generated files at `/etc/connector`. Please
131131

132132
```bash
133133
# get command documentation/help
134-
docker run --rm ghcr.io/hasura/ndc-open-api-lambda:v1.5.0 update -h
134+
docker run --rm ghcr.io/hasura/ndc-open-api-lambda:v1.5.1 update -h
135135

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

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

142142
# with baseUrl (using env vars)
143-
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.5.0 update
143+
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.5.1 update
144144

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

149149
## 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("1.5.0")
8+
.version("1.5.1")
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)