52 Commits

Author SHA1 Message Date
stainless-app[bot]
a77ba028f7 chore(internal): move custom custom json tags to api 2026-02-24 19:54:35 +00:00
stainless-app[bot]
3cbb9933a5 chore(internal): refactor sse event parsing 2026-02-24 19:54:35 +00:00
stainless-app[bot]
e4bee1f8e4 fix(encoder): correctly serialize NullStruct 2026-02-14 00:34:36 +00:00
stainless-app[bot]
15e80c7da4 feat(client): add a convenient param.SetJSON helper 2026-01-27 23:32:58 +00:00
stainless-app[bot]
9db160ec37 chore(internal): codegen related update 2026-01-27 23:32:58 +00:00
stainless-app[bot]
5c01ae9158 feat(client): add a StreamError type to access raw events from sse streams 2026-01-27 23:32:58 +00:00
stainless-app[bot]
0406ffba33 chore(internal): grammar fix (it's -> its) 2025-11-03 23:51:47 +00:00
stainless-app[bot]
13778d44fe release: 3.0.0 2025-09-30 16:35:20 +00:00
stainless-app[bot]
85c99f8159 fix: bugfix for setting JSON keys with special characters 2025-09-30 03:34:48 +00:00
stainless-app[bot]
5b7c31bde9 feat(api): adding support for /v1/conversations to the API 2025-08-21 16:22:58 +00:00
stainless-app[bot]
77c994b843 release: 2.0.0 (#466)
* feat(api): manual updates

* feat(client): support optional json html escaping

* feat(api): adds GPT-5 and new API features: platform.openai.com/docs/guides/gpt-5

* codegen metadata

* chore: document breaking changes

* chore: change readme warning and minimum version

* feat(client): rename union helpers

* chore: migrate examples

* release: 2.0.0

* release: 2.0.0

* Update CHANGELOG.md

---------

Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Co-authored-by: Jacob Zimmerman <jacob@stainless.com>
2025-08-07 16:48:52 -04:00
Jacob Zimmerman
aea5ebccac feat(client): remove HTML escaping in JSON 2025-08-06 18:33:19 -04:00
stainless-app[bot]
3fb5d8d68e release: 1.12.0 (#458)
* codegen metadata

* chore(internal): refactor stream event processing to be more future proof

* feat(api): manual updates

* release: 1.12.0

---------

Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Co-authored-by: David Meadows <dmeadows@stainless.com>
2025-07-30 12:45:47 +00:00
stainless-app[bot]
08c37c1f14 feat(api): manual updates 2025-07-16 16:40:53 +00:00
stainless-app[bot]
1b859f44cd feat(client): expand max streaming buffer size 2025-07-10 14:20:41 +00:00
stainless-app[bot]
36cedbb1e5 fix(pagination): check if page data is empty in GetNextPage 2025-06-27 17:06:25 +00:00
stainless-app[bot]
3c88b95dd4 chore: fix documentation of null map 2025-06-23 18:27:08 +00:00
stainless-app[bot]
3474462282 feat(client): add escape hatch for null slice & maps 2025-06-23 18:27:08 +00:00
stainless-app[bot]
5df5ea93ab feat(client): allow overriding unions 2025-06-09 16:50:47 +00:00
stainless-app[bot]
c6060fd112 fix: fix error 2025-06-02 19:39:27 +00:00
stainless-app[bot]
422a0db3c6 feat(api): new streaming helpers for background responses 2025-05-22 19:57:53 +00:00
stainless-app[bot]
945645559c fix(client): increase max stream buffer size 2025-05-19 15:06:08 +00:00
stainless-app[bot]
aa58806bff fix(client): use scanner for streaming 2025-05-19 11:39:44 +00:00
stainless-app[bot]
523487582e feat(client): experimental support for unmarshalling into param structs 2025-05-08 02:15:46 +00:00
stainless-app[bot]
9a002299a9 chore(docs): update respjson package name 2025-05-08 02:12:35 +00:00
stainless-app[bot]
443351625e feat(client)!: rename resp package 2025-05-08 02:12:32 +00:00
stainless-app[bot]
9f312a9b14 fix(client)!: improve core function names 2025-05-08 02:05:22 +00:00
stainless-app[bot]
8a78f37c25 feat(client)!: improve param subunions & deduplicate types 2025-05-08 01:59:05 +00:00
stainless-app[bot]
f2d7118295 fix(client): correctly update body in WithJSONSet 2025-05-07 16:31:26 +00:00
stainless-app[bot]
8e6aad6d54 feat(client): add dynamic streaming buffer to handle large lines 2025-05-07 16:31:24 +00:00
stainless-app[bot]
eebf84bf19 fix(pagination): handle errors when applying options 2025-05-07 16:31:15 +00:00
stainless-app[bot]
ec171b2405 feat(client): support more time formats 2025-05-07 16:30:58 +00:00
stainless-app[bot]
1f11530f34 feat(client): add escape hatch to omit required param fields (#354) 2025-04-09 05:07:19 +00:00
stainless-app[bot]
fc5eabf81d feat(client): support unions in query and forms (#347) 2025-04-04 05:07:06 +00:00
stainless-app[bot]
bc611c6cb7 fix(client): unmarshal stream events into fresh memory (#340) 2025-04-03 05:07:13 +00:00
stainless-app[bot]
e202326176 chore(internal): codegen related update (#335) 2025-04-02 05:07:13 +00:00
stainless-app[bot]
a0d104f8b8 chore(docs): improve security documentation (#319) 2025-03-28 05:06:48 +00:00
stainless-app[bot]
717b6db407 feat(api)!: migrate to v2 2025-03-21 05:07:09 +00:00
stainless-app[bot]
08320be359 fix: fix early cancel when RequestTimeout is provided for streaming requests (#221) 2025-02-07 02:33:24 +00:00
stainless-app[bot]
978707dd3b feat(pagination): avoid fetching when has_more: false (#218) 2025-02-07 02:33:24 +00:00
stainless-app[bot]
b2a763dcde fix: update stream error handling (#213) 2025-02-06 02:33:23 +00:00
stainless-app[bot]
30d43c0507 release: 0.1.0-alpha.54 (#212)
* chore: add UnionUnmarshaler for responses that are interfaces (#211)

* fix(streaming): correctly decode assistant events

* release: 0.1.0-alpha.54

---------

Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Co-authored-by: Robert Craigie <robert@craigie.dev>
2025-02-05 20:08:05 +00:00
stainless-app[bot]
bfabf9d231 chore(docs): add docstring explaining streaming pattern (#205) 2025-02-05 14:33:22 +00:00
stainless-app[bot]
a75c812270 fix(stream): ensure .Close() doesn't panic (#201) 2025-02-04 02:33:12 +00:00
小超人
71821a8938 fix(stream): ensure .Close() doesn't panic (#194) 2025-02-04 02:33:12 +00:00
stainless-app[bot]
fb192c675b chore(internal): rename streaming.go (#176) 2025-01-21 15:32:27 +00:00
stainless-app[bot]
cf1a6a5b38 fix: flush stream response when done event is sent (#172) 2025-01-20 14:52:35 +00:00
stainless-app[bot]
2fbb02c1c1 chore(internal): streaming refactors (#165) 2025-01-17 17:38:07 +00:00
stainless-app[bot]
c7476f78f6 feat: move pagination package from internal to packages (#81) 2024-10-16 15:10:38 +00:00
Young-Jin Park
7c00c6340f feat: support assistants stream 2024-08-23 22:32:46 +00:00