Skip to content

Commit 12de980

Browse files
authored
Merge pull request #483 from openai/release-please--branches--master--changes--next--components--openai
release: 4.17.4
2 parents d2d0ce5 + b8441a7 commit 12de980

File tree

10 files changed

+26
-19
lines changed

10 files changed

+26
-19
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.17.3"
2+
".": "4.17.4"
33
}

CHANGELOG.md

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

3+
## 4.17.4 (2023-11-10)
4+
5+
Full Changelog: [v4.17.3...v4.17.4](https://github.com/openai/openai-node/compare/v4.17.3...v4.17.4)
6+
7+
### Chores
8+
9+
* **internal:** update jest config ([#482](https://github.com/openai/openai-node/issues/482)) ([3013e8c](https://github.com/openai/openai-node/commit/3013e8c73a61a397a418ca75b996f0a7dd03a744))
10+
311
## 4.17.3 (2023-11-09)
412

513
Full Changelog: [v4.17.2...v4.17.3](https://github.com/openai/openai-node/compare/v4.17.2...v4.17.3)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ You can import in Deno via:
2121
<!-- x-release-please-start-version -->
2222

2323
```ts
24-
import OpenAI from 'https://deno.land/x/[email protected].3/mod.ts';
24+
import OpenAI from 'https://deno.land/x/[email protected].4/mod.ts';
2525
```
2626

2727
<!-- x-release-please-end -->

build-deno

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This is a build produced from https://github.com/openai/openai-node – please g
1414
Usage:
1515
1616
\`\`\`ts
17-
import OpenAI from "https://deno.land/x/[email protected].3/mod.ts";
17+
import OpenAI from "https://deno.land/x/[email protected].4/mod.ts";
1818
1919
const client = new OpenAI();
2020
\`\`\`

jest.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,10 @@ module.exports = {
77
'^openai/_shims/auto/(.*)$': '<rootDir>/src/_shims/auto/$1-node',
88
'^openai/(.*)$': '<rootDir>/src/$1',
99
},
10-
modulePathIgnorePatterns: ['<rootDir>/ecosystem-tests/', '<rootDir>/dist/', '<rootDir>/deno_tests/'],
10+
modulePathIgnorePatterns: [
11+
'<rootDir>/ecosystem-tests/',
12+
'<rootDir>/dist/',
13+
'<rootDir>/deno/',
14+
'<rootDir>/deno_tests/',
15+
],
1116
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openai",
3-
"version": "4.17.3",
3+
"version": "4.17.4",
44
"description": "Client library for the OpenAI API",
55
"author": "OpenAI <[email protected]>",
66
"types": "dist/index.d.ts",

src/lib/ChatCompletionRunFunctions.test.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,8 @@ function _typeTests() {
530530
}
531531

532532
describe('resource completions', () => {
533-
describe('runFunctions with stream: false', () => {
533+
// TODO: re-enable
534+
describe.skip('runFunctions with stream: false', () => {
534535
test('successful flow', async () => {
535536
const { fetch, handleRequest } = mockChatCompletionFetch();
536537

@@ -1259,7 +1260,9 @@ describe('resource completions', () => {
12591260
await listener.sanityCheck();
12601261
});
12611262
});
1262-
describe('runFunctions with stream: true', () => {
1263+
1264+
// TODO: re-enable
1265+
describe.skip('runFunctions with stream: true', () => {
12631266
test('successful flow', async () => {
12641267
const { fetch, handleRequest } = mockStreamingChatCompletionFetch();
12651268

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '4.17.3'; // x-release-please-version
1+
export const VERSION = '4.17.4'; // x-release-please-version

tests/api-resources/audio/speech.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ const openai = new OpenAI({
88
});
99

1010
describe('resource speech', () => {
11-
test('create: required and optional params', async () => {
11+
// Mocked tests are currently broken
12+
test.skip('create: required and optional params', async () => {
1213
const response = await openai.audio.speech.create({
1314
input: 'string',
1415
model: 'string',

tests/api-resources/beta/chat/completions.test.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)