Skip to content

Commit eebb832

Browse files
Merge pull request #1522 from openai/release-please--branches--master--changes--next--components--openai
release: 5.0.1
2 parents 524080c + 296468c commit eebb832

File tree

10 files changed

+19
-10
lines changed

10 files changed

+19
-10
lines changed

.github/workflows/create-releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
if: ${{ steps.release.outputs.releases_created }}
3030
uses: actions/setup-node@v3
3131
with:
32-
node-version: '18'
32+
node-version: '20'
3333

3434
- name: Install dependencies
3535
if: ${{ steps.release.outputs.releases_created }}

.release-please-manifest.json

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

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 111
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-d4bcffecf0cdadf746faa6708ed1ec81fac451f9b857deabbab26f0a343b9314.yml
33
openapi_spec_hash: 7c54a18b4381248bda7cc34c52142615
4-
config_hash: d23f847b9ebb3f427d0f198035bd3e9f
4+
config_hash: e618aa8ff61aea826540916336de65a6

CHANGELOG.md

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

3+
## 5.0.1 (2025-05-29)
4+
5+
Full Changelog: [v5.0.0...v5.0.1](https://github.com/openai/openai-node/compare/v5.0.0...v5.0.1)
6+
7+
### Chores
8+
9+
* sync changes ([90b100d](https://github.com/openai/openai-node/commit/90b100dcf504ecf0b98620702cb6bd0988695320))
10+
* **types:** add missing type annotation ([de37b55](https://github.com/openai/openai-node/commit/de37b55e6e95d7089ee845d4144883d93bb18ca0))
11+
312
## 5.0.0 (2025-05-29)
413

514
Full Changelog: [v5.0.0-alpha.0...v5.0.0](https://github.com/openai/openai-node/compare/v5.0.0-alpha.0...v5.0.0)

MIGRATION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ client.containers.files.delete();
174174

175175
### Removed `httpAgent` in favor of `fetchOptions`
176176

177-
The `httpAgent` client option has been removed in favor of a [platform-specific `fetchOptions` property](https://github.com/stainless-sdks/openai-typescript#fetch-options).
177+
The `httpAgent` client option has been removed in favor of a [platform-specific `fetchOptions` property](https://github.com/openai/openai-node#fetch-options).
178178
This change was made as `httpAgent` relied on `node:http` agents which are not supported by any runtime's builtin fetch implementation.
179179

180-
If you were using `httpAgent` for proxy support, check out the [new proxy documentation](https://github.com/stainless-sdks/openai-typescript#configuring-proxies).
180+
If you were using `httpAgent` for proxy support, check out the [new proxy documentation](https://github.com/openai/openai-node#configuring-proxies).
181181

182182
Before:
183183

bin/migration-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"pkg": "openai",
3-
"githubRepo": "https://github.com/stainless-sdks/openai-typescript",
3+
"githubRepo": "https://github.com/openai/openai-node",
44
"clientClass": "OpenAI",
55
"methods": [
66
{

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openai/openai",
3-
"version": "5.0.0",
3+
"version": "5.0.1",
44
"exports": {
55
".": "./index.ts",
66
"./helpers/zod": "./helpers/zod.ts",

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": "5.0.0",
3+
"version": "5.0.1",
44
"description": "The official TypeScript library for the OpenAI API",
55
"author": "OpenAI <[email protected]>",
66
"types": "dist/index.d.ts",

src/core/pagination.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export class PagePromise<
104104
* console.log(item)
105105
* }
106106
*/
107-
async *[Symbol.asyncIterator]() {
107+
async *[Symbol.asyncIterator](): AsyncGenerator<Item> {
108108
const page = await this;
109109
for await (const item of page) {
110110
yield item;

src/version.ts

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

0 commit comments

Comments
 (0)