Tags: writer/writer-python
Tags
release: 3.0.0 (#254) * perf(client): optimize file structure copying in multipart requests * chore(tests): bump steady to v0.22.1 * chore(internal): more robust bootstrap script * fix: use correct field name format for multipart file arrays * feat: support setting headers via env * codegen metadata * codegen metadata * chore(internal): reformat pyproject.toml * fix(client): add missing f-string prefix in file type error message * feat(internal/types): support eagerly validating pydantic iterators * ci: pin GitHub Actions to commit SHAs Pin all GitHub Actions referenced in generated workflows (both first-party `actions/*` and third-party) to immutable commit SHAs. Updating pinned actions is now a deliberate codegen-side bump rather than implicit on every workflow run. * fix: treat text/plan with format: binary as raw upload * release: 3.0.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
release: 3.0.0-rc1 (#253) * fix: remove custom binary_request handling superseded by codegen (#28) * fix: remove custom binary_request handling superseded by codegen The codegen now natively supports a `content` parameter for binary request streaming. Remove the custom `binary_request` parameter and content routing that conflicts with this new codegen feature. Move file transformation to the call site in resources/files.py. * style: fix import ordering * feat(client): add support for binary request streaming * chore(internal): update `actions/checkout` version * chore(ci): upgrade `actions/github-script` * fix(docs): fix mcp installation instructions for remote servers * feat(client): add custom JSON encoder for extended type support * chore(internal): version bump * chore(internal): bump dependencies * chore(internal): fix lint error on Python 3.14 * chore: format all `api.md` files * chore: update mock server docs * chore(internal): add request options to SSE classes * chore(internal): make `test_proxy_environment_variables` more resilient * chore(internal): make `test_proxy_environment_variables` more resilient to env * chore(test): do not count install time for mock server timeout * chore(ci): skip uploading artifacts on stainless-internal branches * chore: update placeholder string * fix(pydantic): do not pass `by_alias` unless set * fix(deps): bump minimum typing-extensions version * chore(internal): tweak CI branches * fix: sanitize endpoint path params * refactor(tests): switch from prism to steady * chore(tests): bump steady to v0.19.4 * chore(tests): bump steady to v0.19.5 * chore(internal): update gitignore * chore(tests): bump steady to v0.19.6 * chore(ci): skip lint on metadata-only changes Note that we still want to run tests, as these depend on the metadata. * chore(tests): bump steady to v0.19.7 * feat(internal): implement indices array format for query and form serialization * chore(tests): bump steady to v0.20.1 * chore(tests): bump steady to v0.20.2 * docs(api): updates to API spec * fix(client): preserve hardcoded query params when merging with user params * feat(api): Deprecate AI Detection, Medical Comprehend, and Context-Aware Text Splitting Remove AI Detection, Medical Comprehend, text to graph, and Context-Aware Text Splitting from SDKs. * fix: resolve duplicate code (#29) * fix: ensure file data are only sent as 1 parameter * release: 3.0.0-rc1 --------- Co-authored-by: Jon Harrell <4829245+jharrell@users.noreply.github.com> Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
release: 2.4.0-rc1 (#251) * chore: update lockfile * chore(docs): use environment variables for authentication in code snippets * fix(types): allow pyright to infer TypedDict types within SequenceNotStr * chore: add missing docstrings * chore(internal): add missing files argument to base client * chore: speedup initial import * fix: use async_to_httpx_files in patch method * chore(internal): add `--fix` argument to lint script * chore(internal): codegen related update * docs: prominently feature MCP server setup in root SDK readmes * feat(api): manual updates Manually adding the default_retires config to the stainless config * feat(api): manual updates Manually updated max_retries param * release: 2.4.0-rc1 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
release: 2.3.3-rc1 (#250) * chore(internal): detect missing future annotations with ruff * chore: bump `httpx-aiohttp` version to 0.1.9 * fix(client): close streams without requiring full consumption * chore(internal/tests): avoid race condition with implicit client cleanup * chore(internal): grammar fix (it's -> its) * chore(package): drop Python 3.8 support * fix: compat with Python 3.14 * codegen metadata * fix(compat): update signatures of `model_dump` and `model_dump_json` for Pydantic v1 * chore(internal): codegen related update * fix: ensure streams are always closed * chore(deps): mypy 1.18.1 has a regression, pin to 1.17 * docs(api): updates to API spec * release: 2.3.3-rc1 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
release: 2.3.2-rc2 (#248) * chore(internal): update pydantic dependency * chore(types): change optional parameter type from NotGiven to Omit * chore: do not install brew dependencies in ./scripts/bootstrap by default * docs(api): updates to API spec * codegen metadata * feat(api): manual updates * feat(api): manual updates * chore: update more locations to use Omit * release: 2.3.2-rc2 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Robert Craigie <robert@craigie.dev>
release: 2.3.2-rc1 (#247) * chore: update github action * chore(internal): change ci workflow machines * fix: avoid newer type syntax * chore(internal): update pyright exclude list * chore(internal): add Sequence related utils * feat(types): replace List[str] with SequenceNotStr in params * feat: improve future compat with pydantic v3 * chore(internal): move mypy configurations to `pyproject.toml` file * docs(api): updates to API spec * fix(client): custom patch to prepare pydantic v3 * chore(tests): simplify `get_platform` test `nest_asyncio` is archived and broken on some platforms so it's not worth keeping in our test suite. * codegen metadata * codegen metadata * docs(api): updates to API spec * chore(client): update stop params in stream/parse to match chat * chore(client): format * release: 2.3.2-rc1 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: David Meadows <dmeadows@stainless.com>
PreviousNext