Skip to content

Commit f26c215

Browse files
Merge pull request #403 from openai/release-please--branches--main--changes--next
release: 1.0.0
2 parents e50580d + a7ed605 commit f26c215

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+344
-9906
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-
".": "0.1.0-beta.11"
2+
".": "1.0.0"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 87
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-262e171d0a8150ea1192474d16ba3afdf9a054b399f1a49a9c9b697a3073c136.yml
1+
configured_endpoints: 64
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-d51538ac955164de98b0c94a0a4718d96623fe39bf31a1d168be06c93c94e645.yml
33
openapi_spec_hash: 33e00a48df8f94c94f46290c489f132b
4-
config_hash: d8d5fda350f6db77c784f35429741a2e
4+
config_hash: c42d37618b8628ce7e1c76437db5dd8f

CHANGELOG.md

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

3+
## 1.0.0 (2025-05-19)
4+
5+
Full Changelog: [v0.1.0-beta.11...v1.0.0](https://github.com/openai/openai-go/compare/v0.1.0-beta.11...v1.0.0)
6+
7+
### ⚠ BREAKING CHANGES
8+
9+
* **client:** rename file array param variant
10+
* **api:** improve naming and remove assistants
11+
* **accumulator:** update casing ([#401](https://github.com/openai/openai-go/issues/401))
12+
13+
### Features
14+
15+
* **api:** improve naming and remove assistants ([4c623b8](https://github.com/openai/openai-go/commit/4c623b88a9025db1961cc57985eb7374342f43e7))
16+
17+
18+
### Bug Fixes
19+
20+
* **accumulator:** update casing ([#401](https://github.com/openai/openai-go/issues/401)) ([d59453c](https://github.com/openai/openai-go/commit/d59453c95b89fdd0b51305778dec0a39ce3a9d2a))
21+
* **client:** correctly set stream key for multipart ([0ec68f0](https://github.com/openai/openai-go/commit/0ec68f0d779e7726931b1115eca9ae81eab59ba8))
22+
* **client:** don't panic on marshal with extra null field ([9c15332](https://github.com/openai/openai-go/commit/9c153320272d212beaa516d4c70d54ae8053a958))
23+
* **client:** increase max stream buffer size ([9456455](https://github.com/openai/openai-go/commit/945645559c5d68d9e28cf445d9c3b83e5fc6bd35))
24+
* **client:** rename file array param variant ([4cfcf86](https://github.com/openai/openai-go/commit/4cfcf869280e7531fbbc8c00db0dd9271d07c423))
25+
* **client:** use scanner for streaming ([aa58806](https://github.com/openai/openai-go/commit/aa58806bffc3aed68425c480414ddbb4dac3fa78))
26+
27+
28+
### Chores
29+
30+
* **docs:** typo fix ([#400](https://github.com/openai/openai-go/issues/400)) ([bececf2](https://github.com/openai/openai-go/commit/bececf24cd0324b7c991b7d7f1d3eff6bf71f996))
31+
* **examples:** migrate enum ([#447](https://github.com/openai/openai-go/issues/447)) ([814dd8b](https://github.com/openai/openai-go/commit/814dd8b6cfe4eeb535dc8ecd161a409ea2eb6698))
32+
* **examples:** migrate to latest version ([#444](https://github.com/openai/openai-go/issues/444)) ([1c8754f](https://github.com/openai/openai-go/commit/1c8754ff905ed023f6381c8493910d63039407de))
33+
* **examples:** remove beta assisstants examples ([#445](https://github.com/openai/openai-go/issues/445)) ([5891583](https://github.com/openai/openai-go/commit/589158372be9c0517b5508f9ccd872fdb1fe480b))
34+
* **example:** update fine-tuning ([#450](https://github.com/openai/openai-go/issues/450)) ([421e3c5](https://github.com/openai/openai-go/commit/421e3c5065ace2d5ddd3d13a036477fff9123e5f))
35+
336
## 0.1.0-beta.11 (2025-05-16)
437

538
Full Changelog: [v0.1.0-beta.10...v0.1.0-beta.11](https://github.com/openai/openai-go/compare/v0.1.0-beta.10...v0.1.0-beta.11)

MIGRATION.md

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

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
The OpenAI Go library provides convenient access to the [OpenAI REST API](https://platform.openai.com/docs)
66
from applications written in Go.
77

8-
> [!WARNING]
9-
> The latest version of this package uses a new design with significant breaking changes.
10-
> Please refer to the [migration guide](./MIGRATION.md) for more information on how to update your code.
11-
128
## Installation
139

1410
<!-- x-release-please-start-version -->
@@ -26,7 +22,7 @@ Or to pin the version:
2622
<!-- x-release-please-start-version -->
2723

2824
```sh
29-
go get -u 'github.com/openai/openai-go@v0.1.0-beta.11'
25+
go get -u 'github.com/openai/openai-go@v1.0.0'
3026
```
3127

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

aliases.go

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -256,12 +256,6 @@ const CompoundFilterTypeOr = shared.CompoundFilterTypeOr
256256
// This is an alias to an internal type.
257257
type CompoundFilterParam = shared.CompoundFilterParam
258258

259-
// This is an alias to an internal type.
260-
type ErrorObject = shared.ErrorObject
261-
262-
// This is an alias to an internal type.
263-
type FunctionDefinition = shared.FunctionDefinition
264-
265259
// This is an alias to an internal type.
266260
type FunctionDefinitionParam = shared.FunctionDefinitionParam
267261

@@ -369,18 +363,6 @@ type ResponseFormatJSONObject = shared.ResponseFormatJSONObject
369363
// This is an alias to an internal type.
370364
type ResponseFormatJSONObjectParam = shared.ResponseFormatJSONObjectParam
371365

372-
// JSON Schema response format. Used to generate structured JSON responses. Learn
373-
// more about
374-
// [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs).
375-
//
376-
// This is an alias to an internal type.
377-
type ResponseFormatJSONSchema = shared.ResponseFormatJSONSchema
378-
379-
// Structured Outputs configuration options, including a JSON Schema.
380-
//
381-
// This is an alias to an internal type.
382-
type ResponseFormatJSONSchemaJSONSchema = shared.ResponseFormatJSONSchemaJSONSchema
383-
384366
// JSON Schema response format. Used to generate structured JSON responses. Learn
385367
// more about
386368
// [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs).

0 commit comments

Comments
 (0)