Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 315042c

Browse files
authoredMar 27, 2025
prepare v1.6.0 release (#91)
1 parent 256a09b commit 315042c

File tree

6 files changed

+14
-13
lines changed

6 files changed

+14
-13
lines changed
 

‎changelog.md

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

33
## Unreleased
44

5+
## [[1.6.0](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v1.6.0)] 2025-03-28
6+
57
- Add support for `@save` in `api.ts` ([#89](https://github.com/hasura/ndc-open-api-lambda/pull/89))
68
- Add support for preserving imports from stale files ([#90](https://github.com/hasura/ndc-open-api-lambda/pull/90))
79

@@ -11,11 +13,10 @@
1113

1214
## [[1.5.1](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v1.5.1)] 2025-03-10
1315

14-
- Set `allowrelaxedtypes` annotation for every function (API) ([#85](https://github.com/hasura/ndc-open-api-lambda/pull/85))
16+
- Set `allowrelaxedtypes` annotation for every function (API) ([#85](https://github.com/hasura/ndc-open-api-lambda/pull/85))
1517

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

18-
1920
## [[1.5.0](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v1.5.0)] 2025-03-07
2021

2122
- Update NDC NodeJS Lambda to `v1.11.0` [#80](https://github.com/hasura/ndc-open-api-lambda/pull/80)

‎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.5.2
17+
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v1.6.0
1818
commandArgs: [ "update" ]
1919
cliPlugin:
2020
type: Docker
21-
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v1.5.2
21+
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v1.6.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
@@ -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.5.2 update -h
136+
docker run --rm ghcr.io/hasura/ndc-open-api-lambda:v1.6.0 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.5.2 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.0 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.5.2 update --open-api ${url to open API document}
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}
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.5.2 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.0 update
146146

147147
# with baseUrl (using CLI flags)
148-
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v1.5.2 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.0 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.5.2",
3+
"version": "1.6.0",
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.5.2")
8+
.version("1.6.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)