From 139e690546775b3568934dd990dd329fce2fbc2f Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Tue, 14 May 2024 10:46:22 -0400 Subject: [PATCH 1/2] chore(internal): add slightly better logging to scripts (#848) --- .github/workflows/ci.yml | 6 ++---- scripts/format | 8 ++++++++ scripts/lint | 1 + scripts/test | 1 - 4 files changed, 11 insertions(+), 5 deletions(-) create mode 100755 scripts/format diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2a8037a3..a55376f66 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,12 +22,10 @@ jobs: node-version: '18' - name: Install dependencies - run: | - yarn install + run: yarn install - name: Check types - run: | - yarn build + run: ./scripts/lint test: name: test runs-on: ubuntu-latest diff --git a/scripts/format b/scripts/format new file mode 100755 index 000000000..d297e762f --- /dev/null +++ b/scripts/format @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -e + +cd "$(dirname "$0")/.." + +echo "==> Running eslint --fix" +./node_modules/.bin/eslint --fix --ext ts,js . diff --git a/scripts/lint b/scripts/lint index 4f05d6609..6b0e5dc3e 100755 --- a/scripts/lint +++ b/scripts/lint @@ -4,4 +4,5 @@ set -e cd "$(dirname "$0")/.." +echo "==> Running eslint" ./node_modules/.bin/eslint --ext ts,js . diff --git a/scripts/test b/scripts/test index b62a7cccd..2049e31b0 100755 --- a/scripts/test +++ b/scripts/test @@ -52,6 +52,5 @@ else echo fi -# Run tests echo "==> Running tests" ./node_modules/.bin/jest "$@" From 7376041eb470b6d8db0229d4336eda5a658b66e0 Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Tue, 14 May 2024 10:46:43 -0400 Subject: [PATCH 2/2] release: 4.47.1 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 2 +- package.json | 2 +- scripts/build-deno | 2 +- src/version.ts | 2 +- 6 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index dfd38477d..9516f2682 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.47.0" + ".": "4.47.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index af4227fdc..f239c2921 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 4.47.1 (2024-05-14) + +Full Changelog: [v4.47.0...v4.47.1](https://github.com/openai/openai-node/compare/v4.47.0...v4.47.1) + +### Chores + +* **internal:** add slightly better logging to scripts ([#848](https://github.com/openai/openai-node/issues/848)) ([139e690](https://github.com/openai/openai-node/commit/139e690546775b3568934dd990dd329fce2fbc2f)) + ## 4.47.0 (2024-05-14) Full Changelog: [v4.46.1...v4.47.0](https://github.com/openai/openai-node/compare/v4.46.1...v4.47.0) diff --git a/README.md b/README.md index f88c4929d..693654151 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ You can import in Deno via: ```ts -import OpenAI from 'https://deno.land/x/openai@v4.47.0/mod.ts'; +import OpenAI from 'https://deno.land/x/openai@v4.47.1/mod.ts'; ``` diff --git a/package.json b/package.json index 03f3e2188..9c385f41c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openai", - "version": "4.47.0", + "version": "4.47.1", "description": "The official TypeScript library for the OpenAI API", "author": "OpenAI ", "types": "dist/index.d.ts", diff --git a/scripts/build-deno b/scripts/build-deno index 427a93c47..cd3be37fa 100755 --- a/scripts/build-deno +++ b/scripts/build-deno @@ -16,7 +16,7 @@ This is a build produced from https://github.com/openai/openai-node – please g Usage: \`\`\`ts -import OpenAI from "https://deno.land/x/openai@v4.47.0/mod.ts"; +import OpenAI from "https://deno.land/x/openai@v4.47.1/mod.ts"; const client = new OpenAI(); \`\`\` diff --git a/src/version.ts b/src/version.ts index 1fa9d58ab..710b8f27e 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '4.47.0'; // x-release-please-version +export const VERSION = '4.47.1'; // x-release-please-version