Skip to content

Commit e1b0d57

Browse files
authored
Merge branch 'master' into perf/wassim-chegham-issue-1310
2 parents 270861b + 2bce865 commit e1b0d57

40 files changed

+2596
-1950
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,36 @@ jobs:
6464

6565
- name: Run tests
6666
run: ./scripts/test
67+
68+
ecosystem_tests:
69+
name: ecosystem tests (v${{ matrix.node-version }})
70+
runs-on: ubuntu-latest
71+
if: github.repository == 'openai/openai-node'
72+
timeout-minutes: 20
73+
strategy:
74+
fail-fast: false
75+
matrix:
76+
node-version: ['20']
77+
78+
steps:
79+
- uses: actions/checkout@v4
80+
81+
- name: Set up Node
82+
uses: actions/setup-node@v4
83+
with:
84+
node-version: '${{ matrix.node-version }}'
85+
86+
- uses: denoland/setup-deno@v1
87+
with:
88+
deno-version: v1.39.0
89+
90+
- uses: oven-sh/setup-bun@v2
91+
92+
- name: Bootstrap
93+
run: ./scripts/bootstrap
94+
95+
- name: Run ecosystem tests
96+
run: |
97+
yarn tsn ecosystem-tests/cli.ts --live --verbose --parallel --jobs=4 --retry=3
98+
env:
99+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ tmp
1111
.pack
1212
ecosystem-tests/deno/package.json
1313
ecosystem-tests/*/openai.tgz
14-
14+
.dev.vars

.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.83.0"
2+
".": "4.85.2"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
configured_endpoints: 69
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-fc5dbc19505b0035f9e7f88868619f4fb519b048bde011f6154f3132d4be71fb.yml
1+
configured_endpoints: 74
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-4aa6ee65ba9efc789e05e6a5ef0883b2cadf06def8efd863dbf75e9e233067e1.yml

CHANGELOG.md

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

3+
## 4.85.2 (2025-02-18)
4+
5+
Full Changelog: [v4.85.1...v4.85.2](https://github.com/openai/openai-node/compare/v4.85.1...v4.85.2)
6+
7+
### Bug Fixes
8+
9+
* optimize sse chunk reading off-by-one error ([#1339](https://github.com/openai/openai-node/issues/1339)) ([c82795b](https://github.com/openai/openai-node/commit/c82795b189c73d1c0e3bc3a40d0d4a2558b0483a))
10+
11+
## 4.85.1 (2025-02-14)
12+
13+
Full Changelog: [v4.85.0...v4.85.1](https://github.com/openai/openai-node/compare/v4.85.0...v4.85.1)
14+
15+
### Bug Fixes
16+
17+
* **client:** fix export map for index exports ([#1328](https://github.com/openai/openai-node/issues/1328)) ([647ba7a](https://github.com/openai/openai-node/commit/647ba7a52311928f604c72b2cc95698c0837887f))
18+
* **package:** add chat/completions.ts back in ([#1333](https://github.com/openai/openai-node/issues/1333)) ([e4b5546](https://github.com/openai/openai-node/commit/e4b554632ab1646da831f29413fefb3378c49cc1))
19+
20+
21+
### Chores
22+
23+
* **internal:** add missing return type annotation ([#1334](https://github.com/openai/openai-node/issues/1334)) ([53e0856](https://github.com/openai/openai-node/commit/53e0856ec4d36deee4d71b5aaf436df0a59b9402))
24+
25+
## 4.85.0 (2025-02-13)
26+
27+
Full Changelog: [v4.84.1...v4.85.0](https://github.com/openai/openai-node/compare/v4.84.1...v4.85.0)
28+
29+
### Features
30+
31+
* **api:** add support for storing chat completions ([#1327](https://github.com/openai/openai-node/issues/1327)) ([8d77f8e](https://github.com/openai/openai-node/commit/8d77f8e3c4801b7fa1e7c6f50b48c1de1f43f3e6))
32+
33+
34+
### Bug Fixes
35+
36+
* **realtime:** call .toString() on WebSocket url ([#1324](https://github.com/openai/openai-node/issues/1324)) ([09bc50d](https://github.com/openai/openai-node/commit/09bc50d439679b6acfd2441e69ee5aa18c00e5d9))
37+
38+
## 4.84.1 (2025-02-13)
39+
40+
Full Changelog: [v4.84.0...v4.84.1](https://github.com/openai/openai-node/compare/v4.84.0...v4.84.1)
41+
42+
### Bug Fixes
43+
44+
* **realtime:** correct websocket type var constraint ([#1321](https://github.com/openai/openai-node/issues/1321)) ([afb17ea](https://github.com/openai/openai-node/commit/afb17ea6497b860ebbe5d8e68e4a97681dd307ff))
45+
46+
## 4.84.0 (2025-02-12)
47+
48+
Full Changelog: [v4.83.0...v4.84.0](https://github.com/openai/openai-node/compare/v4.83.0...v4.84.0)
49+
50+
### Features
51+
52+
* **pagination:** avoid fetching when has_more: false ([#1305](https://github.com/openai/openai-node/issues/1305)) ([b6944c6](https://github.com/openai/openai-node/commit/b6944c634b53c9084f2ccf777c2491e89b2cc7af))
53+
54+
55+
### Bug Fixes
56+
57+
* **api:** add missing reasoning effort + model enums ([#1302](https://github.com/openai/openai-node/issues/1302)) ([14c55c3](https://github.com/openai/openai-node/commit/14c55c312e31f1ed46d02f39a99049f785504a53))
58+
* **assistants:** handle `thread.run.incomplete` event ([7032cc4](https://github.com/openai/openai-node/commit/7032cc40b8aa0a58459cf114bceb8028a8517400))
59+
* correctly decode multi-byte characters over multiple chunks ([#1316](https://github.com/openai/openai-node/issues/1316)) ([dd776c4](https://github.com/openai/openai-node/commit/dd776c4867401f527f699bd4b9e567890256e849))
60+
61+
62+
### Chores
63+
64+
* **internal:** remove segfault-handler dependency ([3521ca3](https://github.com/openai/openai-node/commit/3521ca34e7f5bd51542084e27c084a5d7cc5448b))
65+
66+
67+
### Documentation
68+
69+
* **readme:** cleanup into multiple files ([da94424](https://github.com/openai/openai-node/commit/da944242e542e9e5e51cb11853c621fc6825ac02))
70+
371
## 4.83.0 (2025-02-05)
472

573
Full Changelog: [v4.82.0...v4.83.0](https://github.com/openai/openai-node/compare/v4.82.0...v4.83.0)

0 commit comments

Comments
 (0)