Skip to content

Commit 6d863d0

Browse files
authored
Upgrade ndc-nodejs-lambda and release 1.6.1 (#93)
1 parent 315042c commit 6d863d0

File tree

7 files changed

+16
-12
lines changed

7 files changed

+16
-12
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
## [[1.6.1](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v1.6.1)] 2025-05-12
6+
7+
- Update dependencies. Also update ndc-nodejs-lambda to `v1.14.0` ([#93](https://github.com/hasura/ndc-open-api-lambda/pull/93))
8+
59
## [[1.6.0](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v1.6.0)] 2025-03-28
610

711
- Add support for `@save` in `api.ts` ([#89](https://github.com/hasura/ndc-open-api-lambda/pull/89))

connector-definition/.hasura-connector/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/hasura/ndc-nodejs-lambda:v1.12.0
1+
FROM ghcr.io/hasura/ndc-nodejs-lambda:v1.14.0
22

33
COPY package-lock.json package.json api.ts /functions/
44

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

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

134134
```bash
135135
# get command documentation/help
136-
docker run --rm ghcr.io/hasura/ndc-open-api-lambda:v1.6.0 update -h
136+
docker run --rm ghcr.io/hasura/ndc-open-api-lambda:v1.6.1 update -h
137137

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

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

144144
# with baseUrl (using env vars)
145-
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.6.0 update
145+
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.6.1 update
146146

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

151151
## Build and Run

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hasura-ndc-oas-lambda",
3-
"version": "1.6.0",
3+
"version": "1.6.1",
44
"description": "Hasura NDC Open API Connector",
55
"main": "dist/cli/index.js",
66
"bin": {

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.6.0")
8+
.version("1.6.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)