diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 85b77e4e6..0edf1b38d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.15.2" + ".": "4.15.3" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 559ee76d4..d3d2743e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 4.15.3 (2023-11-04) + +Full Changelog: [v4.15.2...v4.15.3](https://github.com/openai/openai-node/compare/v4.15.2...v4.15.3) + +### Bug Fixes + +* improve deno releases ([#425](https://github.com/openai/openai-node/issues/425)) ([19469f2](https://github.com/openai/openai-node/commit/19469f266ff69a4e549402188d9f6ad87f5a7778)) + ## 4.15.2 (2023-11-04) Full Changelog: [v4.15.1...v4.15.2](https://github.com/openai/openai-node/compare/v4.15.1...v4.15.2) diff --git a/build-deno b/build-deno index 428ffa304..77c5d20e7 100755 --- a/build-deno +++ b/build-deno @@ -3,7 +3,26 @@ set -exuo pipefail rm -rf deno; mkdir deno -cp -rp src/* README.md deno +cp -rp src/* deno + +cat << EOF > deno/README.md +# OpenAI Node API Library - Deno build + +This is a build produced from openai/openai-node - please go there to read the source, file issues, etc. + +Installation: + +\`\`\` +import OpenAI from "https://deno.land/x/openai"; +\`\`\` + +Note that in many Deno environments, you can also do this: + +\`\`\` +import OpenAI from "npm:openai"; +\`\`\` +EOF + rm deno/_shims/auto/*-node.ts for dir in deno/_shims deno/_shims/auto; do rm "${dir}"/*.{d.ts,js,mjs} diff --git a/package.json b/package.json index 8655de2c4..56e05885c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openai", - "version": "4.15.2", + "version": "4.15.3", "description": "Client library for the OpenAI API", "author": "OpenAI ", "types": "dist/index.d.ts", diff --git a/scripts/git-publish-deno.sh b/scripts/git-publish-deno.sh index 77238067d..90855bfb8 100755 --- a/scripts/git-publish-deno.sh +++ b/scripts/git-publish-deno.sh @@ -31,7 +31,7 @@ die () { : "${DENO_MAIN_BRANCH:=main}" : "${DENO_PUSH_REMOTE_URL:=$(git remote get-url origin)}" : "${DENO_GIT_USER_NAME:="Stainless Bot"}" -: "${DENO_GIT_USER_NAME:="bot@stainlessapi.com"}" +: "${DENO_GIT_USER_EMAIL:="bot@stainlessapi.com"}" if [[ $DENO_PUSH_BRANCH = "deno" ]]; then : "${DENO_PUSH_RELEASE_TAG:="v$DENO_PUSH_VERSION-deno"}" else diff --git a/src/version.ts b/src/version.ts index 1d1cd7337..c6d048236 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '4.15.2'; // x-release-please-version +export const VERSION = '4.15.3'; // x-release-please-version