Skip to content

Commit

Permalink
Merge pull request #299 from openai/release-please--branches--master-…
Browse files Browse the repository at this point in the history
…-changes--next--components--openai

chore(next => master): release 4.6.0
  • Loading branch information
schnerd authored Sep 8, 2023
2 parents 331eb4e + b90ee4a commit baed195
Show file tree
Hide file tree
Showing 17 changed files with 5,322 additions and 1,475 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "4.5.0"
".": "4.6.0"
}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 4.6.0 (2023-09-08)

Full Changelog: [v4.5.0...v4.6.0](https://github.com/openai/openai-node/compare/v4.5.0...v4.6.0)

### Features

* **types:** extract ChatCompletionRole enum to its own type ([#298](https://github.com/openai/openai-node/issues/298)) ([5893e37](https://github.com/openai/openai-node/commit/5893e37406ff85331c85a3baa519ca3051a28e00))


### Bug Fixes

* fix module not found errors in Vercel edge ([#300](https://github.com/openai/openai-node/issues/300)) ([47c79fe](https://github.com/openai/openai-node/commit/47c79fee0fa715ad04410e73530829602736d85f))

## 4.5.0 (2023-09-06)

Full Changelog: [v4.4.0...v4.5.0](https://github.com/openai/openai-node/compare/v4.4.0...v4.5.0)
Expand Down
1 change: 1 addition & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Types:
- <code><a href="./src/resources/chat/completions.ts">ChatCompletionChunk</a></code>
- <code><a href="./src/resources/chat/completions.ts">ChatCompletionMessage</a></code>
- <code><a href="./src/resources/chat/completions.ts">ChatCompletionMessageParam</a></code>
- <code><a href="./src/resources/chat/completions.ts">ChatCompletionRole</a></code>
- <code><a href="./src/resources/chat/completions.ts">CreateChatCompletionRequestMessage</a></code>

Methods:
Expand Down
6 changes: 6 additions & 0 deletions ecosystem-tests/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ const projects = {
'vercel-edge': async () => {
await installPackage();

if (state.live) {
await run('npm', ['run', 'test:ci:dev']);
}
await run('npm', ['run', 'build']);

if (state.live) {
await run('npm', ['run', 'test:ci']);
}
if (state.deploy) {
await run('npm', ['run', 'vercel', 'deploy', '--prod', '--force']);
}
Expand Down
9 changes: 9 additions & 0 deletions ecosystem-tests/vercel-edge/jest.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['<rootDir>/tests/*.ts'],
watchPathIgnorePatterns: ['<rootDir>/node_modules/'],
verbose: false,
testTimeout: 60000,
};
Loading

0 comments on commit baed195

Please sign in to comment.