Skip to content

Commit baed195

Browse files
authored
Merge pull request #299 from openai/release-please--branches--master--changes--next--components--openai
chore(next => master): release 4.6.0
2 parents 331eb4e + b90ee4a commit baed195

File tree

17 files changed

+5322
-1475
lines changed

17 files changed

+5322
-1475
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "4.5.0"
2+
".": "4.6.0"
33
}

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 4.6.0 (2023-09-08)
4+
5+
Full Changelog: [v4.5.0...v4.6.0](https://github.com/openai/openai-node/compare/v4.5.0...v4.6.0)
6+
7+
### Features
8+
9+
* **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))
10+
11+
12+
### Bug Fixes
13+
14+
* 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))
15+
316
## 4.5.0 (2023-09-06)
417

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

api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Types:
2020
- <code><a href="./src/resources/chat/completions.ts">ChatCompletionChunk</a></code>
2121
- <code><a href="./src/resources/chat/completions.ts">ChatCompletionMessage</a></code>
2222
- <code><a href="./src/resources/chat/completions.ts">ChatCompletionMessageParam</a></code>
23+
- <code><a href="./src/resources/chat/completions.ts">ChatCompletionRole</a></code>
2324
- <code><a href="./src/resources/chat/completions.ts">CreateChatCompletionRequestMessage</a></code>
2425

2526
Methods:

ecosystem-tests/cli.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,14 @@ const projects = {
2121
'vercel-edge': async () => {
2222
await installPackage();
2323

24+
if (state.live) {
25+
await run('npm', ['run', 'test:ci:dev']);
26+
}
2427
await run('npm', ['run', 'build']);
2528

29+
if (state.live) {
30+
await run('npm', ['run', 'test:ci']);
31+
}
2632
if (state.deploy) {
2733
await run('npm', ['run', 'vercel', 'deploy', '--prod', '--force']);
2834
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
2+
module.exports = {
3+
preset: 'ts-jest',
4+
testEnvironment: 'node',
5+
testMatch: ['<rootDir>/tests/*.ts'],
6+
watchPathIgnorePatterns: ['<rootDir>/node_modules/'],
7+
verbose: false,
8+
testTimeout: 60000,
9+
};

0 commit comments

Comments
 (0)