From 35ba5da05dba1602fea40a3a8fba3652fd1c3e12 Mon Sep 17 00:00:00 2001 From: m-Bilal Date: Sat, 20 Apr 2024 01:37:25 +0530 Subject: [PATCH] release version changes --- changelog.md | 2 +- connector-definition/.hasura-connector/connector-metadata.yaml | 2 +- src/cli/index.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index 0fceaaa..3d9b41d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,6 @@ # Open API Lambda Connector Changelog -## [Unreleased] +## [[0.0.2-alpha](https://github.com/hasura/ndc-open-api-lambda/releases/tag/v0.0.2-alpha)] 2024-04-19 - Added [Prettier Code Formatting](https://prettier.io/docs/en/api.html) to the generated `functions.ts` file - Added `--ndc-lambda-sdk` flag and corresponding environment variable `NDC_LAMBDA_SDK_VERSION` that can be used to set the preferred version of NDC Lambda SDK to be used diff --git a/connector-definition/.hasura-connector/connector-metadata.yaml b/connector-definition/.hasura-connector/connector-metadata.yaml index 8059992..f0a6a54 100644 --- a/connector-definition/.hasura-connector/connector-metadata.yaml +++ b/connector-definition/.hasura-connector/connector-metadata.yaml @@ -16,7 +16,7 @@ supportedEnvironmentVariables: - name: NDC_LAMBDA_SDK_VERSION description: "Version of the NDC Lambda SDK to be used" commands: - update: "docker run --rm -e HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH -e NDC_OAS_BASE_URL -e NDC_OAS_HEADERS -e NDC_OAS_DOCUMENT_URI -e NDC_OAS_LAMBDA_PRETTY_LOGS -e NDC_OAS_FILE_OVERWRITE -e NDC_LAMBDA_SDK_VERSION -v ${HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH}:/etc/connector ghcr.io/hasura/ndc-open-api-lambda:v0.0.1-alpha update" + update: "docker run --rm -e HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH -e NDC_OAS_BASE_URL -e NDC_OAS_HEADERS -e NDC_OAS_DOCUMENT_URI -e NDC_OAS_LAMBDA_PRETTY_LOGS -e NDC_OAS_FILE_OVERWRITE -e NDC_LAMBDA_SDK_VERSION -v ${HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH}:/etc/connector ghcr.io/hasura/ndc-open-api-lambda:v0.0.2-alpha update" dockerComposeWatch: # Rebuild the container if a new package restore is required because package[-lock].json changed - path: package.json diff --git a/src/cli/index.ts b/src/cli/index.ts index 7ee04f1..0527f7a 100644 --- a/src/cli/index.ts +++ b/src/cli/index.ts @@ -5,7 +5,7 @@ import * as updateCmd from "./update"; import { exec, execSync } from "child_process"; export const program = new Command() - .version("0.0.1") + .version("0.0.2-alpha") .description("OAS Connector CLI") // .addCommand(initCmd.cmd) TODO: Enable when required by the CLI spec .addCommand(updateCmd.cmd)