Skip to content

Latest commit

 

History

History
625 lines (363 loc) · 38.8 KB

File metadata and controls

625 lines (363 loc) · 38.8 KB

Changelog

0.21.0 (2026-03-27)

Full Changelog: v0.20.0...v0.21.0

Features

  • internal: implement indices array format for query and form serialization (e9eae58)

Bug Fixes

  • deps: bump minimum typing-extensions version (394751d)
  • pydantic: do not pass by_alias unless set (7f72945)
  • sanitize endpoint path params (0d18b42)

Chores

  • ci: skip lint on metadata-only changes (4e7a621)
  • internal: tweak CI branches (6fa92c9)
  • internal: update gitignore (114e851)

0.20.0 (2026-03-11)

Full Changelog: v0.19.3...v0.20.0

Features

Chores

  • ci: skip uploading artifacts on stainless-internal branches (54b727d)
  • internal: codegen related update (025587b)

Documentation

  • api: reworded descriptions (dd1a29d)

0.19.3 (2026-03-03)

Full Changelog: v0.19.2...v0.19.3

Chores

  • internal: add request options to SSE classes (c17f87b)
  • internal: make test_proxy_environment_variables more resilient (6f2864d)
  • internal: make test_proxy_environment_variables more resilient to env (6af2338)
  • internal: remove mock server code (e586a7f)
  • update mock server docs (4bd2467)

0.19.2 (2026-02-18)

Full Changelog: v0.19.1...v0.19.2

Documentation

  • api: link to ilgs schema (c4cf2b7)

0.19.1 (2026-02-16)

Full Changelog: v0.19.0...v0.19.1

Chores

  • format all api.md files (df775e3)
  • internal: fix lint error on Python 3.14 (59cc825)

Documentation

  • api: clarify ilgs span whitespace coverage (75d28d4)
  • api: improve explanation of extractable dates (2b81647)

0.19.0 (2026-02-12)

Full Changelog: v0.18.1...v0.19.0

Features

  • api: revoke ILGS ID consecutive integer promise (2e34941)

Bug Fixes

0.18.1 (2026-02-11)

Full Changelog: v0.18.0...v0.18.1

Documentation

  • api: minor description correction (d8d08e7)
  • api: update example overflow strategy for enrichment (8e2ee9e)

0.18.0 (2026-02-11)

Full Changelog: v0.17.1...v0.18.0

Features

  • api: add chunking mode to enrichment (20a3231)

Chores

  • internal: bump dependencies (233ae5c)

Documentation

  • api: update creation date type definition (66db3ea)

0.17.1 (2026-02-07)

Full Changelog: v0.17.0...v0.17.1

Documentation

  • api: alter def of politic person type (92e2ee6)
  • api: documented ILGS contract type (5c31f2a)
  • api: move around attribute comments (7c959e9)
  • api: note docs are enriched into ilgs v1 (27a7ced)

0.17.0 (2026-02-05)

Full Changelog: v0.16.0...v0.17.0

Features

  • sdk: make qa, universal, ilgs standalone apis (12b6674)

0.16.0 (2026-02-04)

Full Changelog: v0.15.0...v0.16.0

Features

  • api: add children fields to hierarchical ILGS entities (38c909c)

0.15.0 (2026-02-04)

Full Changelog: v0.14.0...v0.15.0

Features

  • sdk: add decode method to Spans (bc41468)

0.14.0 (2026-02-04)

Full Changelog: v0.13.0...v0.14.0

Features

  • api: add a text field (a1842eb)
  • api: add level field to ILGS v1 segments (63e8455)
  • sdk: add ilgs v1 span as a top model (b30f176)
  • sdk: demote other models (873f1a4)
  • sdk: move ilgs structs around (cd485eb)
  • sdk: move ilgs structs around (920e2bb)
  • sdk: move ilgs structs around (d3068e3)
  • sdk: move ilgs structs around (6ea6db6)
  • sdk: move ilgs structs around (1f9c511)

0.13.0 (2026-02-04)

Full Changelog: v0.12.0...v0.13.0

Features

  • sdk: alter v1 pascal casing (7229055)
  • sdk: move ilgs models under ilgs_v1 (0165061)
  • sdk: move ilgs to its own resource (e196566)
  • sdk: move ilgsv1 resources under a subresource (8620bb5)
  • sdk: removed chunking options as a shared resource (b11b540)
  • sdk: revert v1 casing change (5a8d5b1)

0.12.0 (2026-02-03)

Full Changelog: v0.11.0...v0.12.0

Features

  • sdk: add qa as an initialism (27162f3)
  • sdk: force ilgs v1 prefix on models (62bc9ff)
  • sdk: modify how ILGSv1 models are cased (f295222)
  • sdk: order properties as in spec (3dc865c)

Bug Fixes

  • api: merge duplicate components, reorder required fields (55b68ce)

0.11.0 (2026-02-03)

Full Changelog: v0.10.1...v0.11.0

Features

  • api: remove -preview from model name (e86f57d)

0.10.1 (2026-02-03)

Full Changelog: v0.10.0...v0.10.1

Documentation

  • api: added examples to 200 response codes (a92b0d7)

0.10.0 (2026-02-03)

Full Changelog: v0.9.1...v0.10.0

Features

  • api: add min max (50ece81)
  • api: switch to span objects for enrichment, note closed beta (326b7dc)
  • sdk: add enrichments (eb4057b)

Bug Fixes

  • client: close streams without requiring full consumption (13eb93f)
  • compat with Python 3.14 (89ef152)
  • compat: update signatures of model_dump and model_dump_json for Pydantic v1 (4d7b71d)
  • ensure streams are always closed (c2ae554)
  • types: allow pyright to infer TypedDict types within SequenceNotStr (b89d4ce)
  • use async_to_httpx_files in patch method (30ffab2)

Chores

  • add missing docstrings (0c4e7d4)
  • add Python 3.14 classifier and testing (083d4b6)
  • deps: mypy 1.18.1 has a regression, pin to 1.17 (9612e35)
  • docs: use environment variables for authentication in code snippets (ac22598)
  • internal/tests: avoid race condition with implicit client cleanup (871fa54)
  • internal: add missing files argument to base client (669f50a)
  • internal: grammar fix (it's -> its) (84145f2)
  • package: drop Python 3.8 support (556d5d0)
  • speedup initial import (2d500ed)
  • update lockfile (b53392a)

Documentation

  • sdk: specify example params (f617346)

0.9.1 (2025-10-19)

Full Changelog: v0.9.0...v0.9.1

Chores

  • bump httpx-aiohttp version to 0.1.9 (7a85243)

0.9.0 (2025-10-14)

Full Changelog: v0.8.0...v0.9.0

⚠ BREAKING CHANGES

  • api: reduce max length of embeddings input
  • sdk: add _response to response models to finally fix duplicated names

Features

  • api: added embedding endpoint (88190d6)
  • api: reduce max length of embeddings input (0ad7114)
  • api: rename embedding -> embeddings (204a05d)
  • api: revert embedding -> embeddings (b934279)
  • client: support file upload requests (2ab398d)
  • improve future compat with pydantic v3 (5a20497)
  • sdk: add embeddings endpoint (920ae0b)
  • sdk: toggle to force regen (cf60482)
  • sdk: untoggle to force regen (25d2067)
  • types: replace List[str] with SequenceNotStr in params (d2733a9)

Bug Fixes

  • api: typo (5d4a1b9)
  • avoid newer type syntax (10253fe)
  • sdk: add _response to response models to finally fix duplicated names (5c7462d)

Chores

  • api: try to force regen SDK (2fafb55)
  • do not install brew dependencies in ./scripts/bootstrap by default (57b055e)
  • improve example values (35b03bd)
  • internal: add Sequence related utils (5a2287e)
  • internal: change ci workflow machines (f86cbce)
  • internal: codegen related update (22b520b)
  • internal: fix ruff target version (889d576)
  • internal: move mypy configurations to pyproject.toml file (d5732d5)
  • internal: update comment in script (7af966e)
  • internal: update pydantic dependency (68a7057)
  • internal: update pyright exclude list (6f0ae86)
  • remove custom code (491dbdc)
  • sdk: restore original example (079645e)
  • tests: simplify get_platform test (e00ccd0)
  • types: change optional parameter type from NotGiven to Omit (38d13e0)
  • update @stainless-api/prism-cli to v5.15.0 (a3141f5)
  • update github action (0518028)

Documentation

  • sdk: make embeddings example first (caa70f7)

0.8.0 (2025-07-25)

Full Changelog: v0.7.0...v0.8.0

Features

  • clean up environment call outs (3ee6948)
  • client: add support for aiohttp (fba17e9)

Bug Fixes

  • ci: correct conditional (53c81d9)
  • ci: release-doctor — report correct token name (3cb8672)
  • client: correctly parse binary response | stream (5e316fe)
  • client: don't send Content-Type header on GET requests (2a5d531)
  • parsing: correctly handle nested discriminated unions (c5d5715)
  • parsing: ignore empty metadata (dd88d17)
  • parsing: parse extra field types (ba334c7)
  • tests: fix: tests which call HTTP endpoints directly with the example parameters (638c7c4)

Chores

  • ci: change upload type (e79525c)
  • ci: enable for pull requests (29244fd)
  • ci: only run for pushes and fork pull requests (94ed1eb)
  • internal: bump pinned h11 dep (5836163)
  • internal: codegen related update (cdfe0be)
  • internal: update conftest.py (e4a5936)
  • package: mark python 3.13 as supported (0f7b5d1)
  • project: add settings file for vscode (d6435b0)
  • readme: fix version rendering on pypi (b09f1ad)
  • readme: update badges (cd48569)
  • tests: add tests for httpx client instantiation & proxies (5d2c5b9)
  • tests: run tests in parallel (3f0e6da)
  • tests: skip some failing tests on the latest python versions (b2b3fa8)

Documentation

  • client: fix httpx.Timeout documentation reference (b68d394)

0.7.0 (2025-06-03)

Full Changelog: v0.6.1...v0.7.0

Features

  • client: add follow_redirects request option (40221d5)

Chores

  • ci: fix installation instructions (157308b)
  • ci: upload sdks to package manager (9f9915c)
  • docs: grammar improvements (eb2766f)
  • docs: remove reference to rye shell (96a0239)

0.6.1 (2025-05-10)

Full Changelog: v0.6.0...v0.6.1

Bug Fixes

  • client: fix bug where types occasionally wouldn't generate (e1bec40)
  • package: support direct resource imports (46ada4d)

Chores

  • internal: avoid errors for isinstance checks on proxies (e4ffb62)
  • internal: codegen related update (ed8951f)

Documentation

  • api: fixed incorrect description of how extraction results are ordered (4c6ee63)
  • remove or fix invalid readme examples (71a39ed)

0.6.0 (2025-04-30)

Full Changelog: v0.5.0...v0.6.0

Features

  • api: introduced extractive QA (7b9856c)

Bug Fixes

  • pydantic v1: more robust ModelField.annotation check (40be0d5)

Chores

  • broadly detect json family of content-type headers (ef18419)
  • ci: add timeout thresholds for CI jobs (f0438ce)
  • ci: only use depot for staging repos (869c0ff)
  • internal: codegen related update (8860ae0)
  • internal: fix list file params (6dc4e32)
  • internal: import reformatting (57473e2)
  • internal: refactor retries to not use recursion (513599c)

0.5.0 (2025-04-19)

Full Changelog: v0.4.0...v0.5.0

⚠ BREAKING CHANGES

  • api: changed how end offsets are computed

Features

  • api: changed how end offsets are computed (3c96279)

0.4.0 (2025-04-19)

Full Changelog: v0.3.3...v0.4.0

⚠ BREAKING CHANGES

  • api: made universal classification endpoint multi-input only

Features

  • api: made universal classification endpoint multi-input only (4fb2535)

Chores

  • internal: bump pyright version (2f992e7)
  • internal: update models test (bb3df78)

0.3.3 (2025-04-16)

Full Changelog: v0.3.2...v0.3.3

Bug Fixes

  • perf: optimize some hot paths (eee757b)
  • perf: skip traversing types for NotGiven values (7705a99)

Chores

  • client: minor internal fixes (a8dad58)
  • internal: codegen related update (93cdfa0)
  • internal: expand CI branch coverage (cc5df77)
  • internal: reduce CI branch coverage (2cb8fb8)
  • internal: slight transform perf improvement (6f47eaf)
  • internal: update pyright settings (7dd9ad4)

Documentation

  • api: removed description of certain objects due to Mintlify bug (9099926)

0.3.2 (2025-04-04)

Full Changelog: v0.3.1...v0.3.2

Chores

  • internal: remove trailing character (#53) (1074f1e)

0.3.1 (2025-04-01)

Full Changelog: v0.3.0...v0.3.1

Bug Fixes

  • stainless: added missing reranking endpoint to SDK API (#50) (65bcc7c)

0.3.0 (2025-04-01)

Full Changelog: v0.2.0...v0.3.0

Features

0.2.0 (2025-03-30)

Full Changelog: v0.1.6...v0.2.0

⚠ BREAKING CHANGES

  • api: started sorting chunks by score and added index field (#45)

Features

  • api: started sorting chunks by score and added index field (#45) (c9999cd)

Chores

0.1.6 (2025-03-18)

Full Changelog: v0.1.5...v0.1.6

Chores

0.1.5 (2025-03-17)

Full Changelog: v0.1.4...v0.1.5

Bug Fixes

0.1.4 (2025-03-15)

Full Changelog: v0.1.3...v0.1.4

Features

  • api: added latest OpenAPI specification (#29) (411d83f)
  • api: added latest OpenAPI specification (#33) (b053a4a)
  • api: added latest OpenAPI specification (#34) (d9aef7f)

Bug Fixes

  • types: handle more discriminated union shapes (#32) (0644ad3)

Chores

0.1.3 (2025-03-15)

Full Changelog: v0.1.2...v0.1.3

Chores

0.1.2 (2025-03-14)

Full Changelog: v0.1.1...v0.1.2

Features

  • api: added latest OpenAPI specification (#20) (a9c1c23)

Chores

0.1.1 (2025-03-08)

Full Changelog: v0.1.0-alpha.1...v0.1.1

Features

  • api: added latest OpenAPI specification (#16) (219c568)

Chores

0.1.0-alpha.1 (2025-03-04)

Full Changelog: v0.0.1-alpha.0...v0.1.0-alpha.1

Features

  • added latest OpenAPI specification (#1) (ee4cdd8)
  • added latest OpenAPI specification (#3) (e6234c7)
  • api: added latest OpenAPI specification (#13) (822a5b5)
  • api: added latest OpenAPI specification (#4) (8841b6a)
  • api: added latest OpenAPI specification (#5) (36f1cd8)
  • api: added latest OpenAPI specification (#8) (0ba3728)
  • api: update via SDK Studio (2863c6c)
  • client: allow passing NotGiven for body (#6) (539267b)

Bug Fixes

  • asyncify on non-asyncio runtimes (268752f)
  • client: mark some request bodies as optional (539267b)

Chores

  • docs: update client docstring (#11) (bb860bc)
  • internal: fix devcontainers setup (#7) (23046c4)
  • internal: properly set pydantic_private (#9) (16c7d5e)
  • internal: remove unused http client options forwarding (#12) (af1ee9e)
  • internal: update client tests (ac65c8f)
  • update SDK settings (#14) (4d87849)

Documentation

  • update URLs from stainlessapi.com to stainless.com (#10) (7e625b2)