Skip to content

Commit faa78ed

Browse files
authored
prepare changelog for v1.7.0 (#99)
1 parent 3b63734 commit faa78ed

File tree

6 files changed

+18
-14
lines changed

6 files changed

+18
-14
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.7.0](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v1.7.0)] 2025-07-15
6+
57
- Update NDC NodeJS Lambda to `v1.15.0` ([#98](https://github.com/hasura/ndc-open-api-lambda/pull/98))
68
- Add support for `.npmrc` ([#96](https://github.com/hasura/ndc-open-api-lambda/pull/96))
9+
- Fix user mounted file path detection ([#97](https://github.com/hasura/ndc-open-api-lambda/pull/97))
710

811
## [[1.6.1](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v1.6.1)] 2025-05-12
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.6.1
17+
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v1.7.0
1818
commandArgs: [ "update" ]
1919
cliPlugin:
2020
type: Docker
21-
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v1.6.1
21+
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v1.7.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.6.1 update -h
136+
docker run --rm ghcr.io/hasura/ndc-open-api-lambda:v1.7.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.6.1 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.7.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.6.1 update --open-api ${url to open API document}
142+
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v1.7.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.6.1 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.7.0 update
146146

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

151151
## Build and Run

docs/release.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ The NDC Open API Lambda Connector uses GitHub Releases for release management.
88
2. Add this tag value to the `version` field of the CLI [here](https://github.com/hasura/ndc-open-api-lambda/blob/23976ae2459c8dd0506c7d39385d5b5bd0d1e131/src/cli/index.ts#L8)
99
3. Add the tagged version of the Docker Image in the `update` command of the connector-metadata [here](https://github.com/hasura/ndc-open-api-lambda/blob/46018a4ed5497d21a2b6941d7a690131800e41cd/connector-definition/.hasura-connector/connector-metadata.yaml#L17) and [here](https://github.com/hasura/ndc-open-api-lambda/blob/46018a4ed5497d21a2b6941d7a690131800e41cd/connector-definition/.hasura-connector/connector-metadata.yaml#L21)
1010
4. Update examples in the [README](./README.md)
11-
5. Build a cross platform Docker Image using the command `docker buildx build --platform=linux/amd64,linux/arm64 -t ghcr.io/hasura/ndc-open-api-lambda:${git-tag} .`
12-
6. Publish a Docker Image to GHCR with the name `ghcr.io/hasura/ndc-open-api-lambda` and the version tagged with the Git Tag using `docker push ${image:tag}`. More on [GHRC](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry)
13-
7. Update [Changelog](./changelog.md)
14-
8. Create .tgz file of `connector-definition` using the commands (MacOS)
11+
5. Update version field in [package.json](https://github.com/hasura/ndc-open-api-lambda/blob/7474a1453b62455d5690936a874b7efc3fb4c2ca/package.json#L3)
12+
6. Build a cross platform Docker Image using the command `docker buildx build --platform=linux/amd64,linux/arm64 -t ghcr.io/hasura/ndc-open-api-lambda:${git-tag} .`
13+
7. Publish a Docker Image to GHCR with the name `ghcr.io/hasura/ndc-open-api-lambda` and the version tagged with the Git Tag using `docker push ${image:tag}`. More on [GHRC](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry)
14+
8. Update [Changelog](./changelog.md)
15+
9. Create .tgz file of `connector-definition` using the commands (MacOS)
1516

1617
```
1718
$ cd ndc-open-api-lambda/connector-definition
1819
$ tar -czf connector-definition.tgz .hasura-connector
1920
```
2021

21-
9. Create a GitHub Release and add the .tgz file as an asset
22+
10. Create a GitHub Release and add the .tgz file as an asset

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.1",
3+
"version": "1.7.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.6.1")
8+
.version("1.7.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)