Skip to content

Commit

Permalink
release v1.0.0 (ENT-131) (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
gneeri authored Nov 7, 2024
2 parents fa033ba + 1cc98e9 commit 61c3fd7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

## [[1.0.0](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v1.0.0)] 2024-11-07

## [[0.2.0](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v0.2.0)] 2024-09-26

- Several bugfixes in `functions.ts` codegen due to integration of new parsers ([#50](https://github.com/hasura/ndc-open-api-lambda/pull/50))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ supportedEnvironmentVariables:
commands:
update:
type: Dockerized
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v0.2.0
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v1.0.0
commandArgs: [ "update" ]
cliPlugin:
type: Docker
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v0.2.0
dockerImage: ghcr.io/hasura/ndc-open-api-lambda:v1.0.0
dockerComposeWatch:
# Rebuild the container if a new package restore is required because package[-lock].json changed
- path: package.json
Expand Down
10 changes: 5 additions & 5 deletions docs/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ The Docker Container will output the generated files at `/etc/connector`. Please

```
# get command documentation/help
docker run --rm ghcr.io/hasura/ndc-open-api-lambda:v0.2.0 update -h
docker run --rm ghcr.io/hasura/ndc-open-api-lambda:v1.0.0 update -h
# run the code generation (using env vars)
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
docker run --rm -v ./:/etc/connector/ -e NDC_OAS_DOCUMENT_URI=${url to open API document} ghcr.io/hasura/ndc-open-api-lambda:v1.0.0 update
# run the code generation (using CLI flags)
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v0.2.0 update --open-api ${url to open API document}
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v1.0.0 update --open-api ${url to open API document}
# with baseUrl (using env vars)
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
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.0.0 update
# with baseUrl (using CLI flags)
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/
docker run --rm -v ./:/etc/connector/ ghcr.io/hasura/ndc-open-api-lambda:v1.0.0 update --open-api ${url to open API document} --base-url http://demoapi.com/
```

## Build and Run
Expand Down
2 changes: 1 addition & 1 deletion src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as updateCmd from "./update";
import { exec, execSync } from "child_process";

export const program = new Command()
.version("0.2.0")
.version("1.0.0")
.description("OAS Connector CLI")
// .addCommand(initCmd.cmd) TODO: Enable when required by the CLI spec
.addCommand(updateCmd.cmd)
Expand Down

0 comments on commit 61c3fd7

Please sign in to comment.