Skip to content

Latest commit

 

History

History
1259 lines (898 loc) · 117 KB

File metadata and controls

1259 lines (898 loc) · 117 KB

Changelog

1.31.0 (2026-04-08)

Full Changelog: v1.30.0...v1.31.0

Features

  • api: add support for Claude Managed Agents (29ea039)

1.30.0 (2026-04-07)

Full Changelog: v1.29.0...v1.30.0

Features

  • bedrock: Create Bedrock Mantle client (#874) (627135f)

1.29.0 (2026-04-07)

Full Changelog: v1.28.0...v1.29.0

Features

  • api: Add support for claude-mythos-preview (3f81797)

1.28.0 (2026-04-03)

Full Changelog: v1.27.0...v1.28.0

Features

  • vertex: add support for US multi-region endpoint (8b7426b)

Chores

  • client: deprecate client-side compaction helpers (f9dd745)

1.27.0 (2026-04-01)

Full Changelog: v1.26.0...v1.27.0

Features

  • api: add structured stop_details to message responses (5e636fd)
  • bedrock api key auth (#880) (93f9b87)

Bug Fixes

  • align path encoding with RFC 3986 section 3.3 (280f489)

Chores

  • internal: client updates (151043a)

1.26.0 (2026-03-31)

Full Changelog: v1.25.0...v1.26.0

Features

  • add .type field to APIStatusError for uniform error identification (#847) (4c57783)

Bug Fixes

  • internal: correct multipart form field name encoding (0fed236)
  • variable name typo (550b1ed)

Chores

  • ci: run builds on CI even if only spec metadata changed (8faa86f)
  • ci: skip lint on metadata-only changes (16064d4)
  • ci: support opting out of skipping builds on metadata-only commits (e184024)
  • internal: update gitignore (5f3d363)
  • tests: bump steady to v0.19.4 (4a17d4d)
  • tests: bump steady to v0.19.5 (a4bcfd7)
  • tests: bump steady to v0.19.6 (e34f523)
  • tests: bump steady to v0.19.7 (577310d)
  • tests: bump steady to v0.20.1 (dcf51d2)
  • tests: bump steady to v0.20.2 (5c52306)

1.25.0 (2026-03-18)

Full Changelog: v1.24.0...v1.25.0

Features

Chores

  • internal: tweak CI branches (3870094)

1.24.0 (2026-03-16)

Full Changelog: v1.23.0...v1.24.0

Features

  • api: chore(config): clean up model enum list (#31) (8549634)
  • api: GA thinking-display-setting (227f58a)
  • tests: update mock server (2312be3)

Bug Fixes

  • client: update model references from claude-3-opus-20240229 to claude-opus-4-6 (#831) (0c56fe4)
  • properly mock time in ruby ci tests (a56c1fe)

Chores

  • internal: codegen related update (0cf7f7e)
  • internal: codegen related update (a2218e5)
  • internal: codegen related update (b77acd4)
  • tests: unskip tests that are now supported in steady (9fe434d)

Documentation

  • streamline README, centralize documentation at docs.anthropic.com (396688b)

1.23.0 (2026-02-19)

Full Changelog: v1.22.0...v1.23.0

Features

  • api: Add top-level cache control (automatic caching) (612806b)
  • api: Deprecate haiku-3 (66ac4a8)

Chores

  • update mock server docs (56f16bd)

1.22.0 (2026-02-18)

Full Changelog: v1.21.0...v1.22.0

Features

  • api: fix shared UserLocation and error code types (b1e9684)

1.21.0 (2026-02-18)

Full Changelog: v1.20.0...v1.21.0

Features

1.20.0 (2026-02-17)

Full Changelog: v1.19.0...v1.20.0

Features

  • api: Releasing claude-sonnet-4-6 (389bc47)

Bug Fixes

1.19.0 (2026-02-07)

Full Changelog: v1.18.1...v1.19.0

Features

  • api: enabling fast-mode in claude-opus-4-6 (c86a64f)

1.18.1 (2026-02-07)

Full Changelog: v1.18.0...v1.18.1

Bug Fixes

  • client: loosen json header parsing (8597448)

1.18.0 (2026-02-05)

Full Changelog: v1.17.0...v1.18.0

Features

  • api: Release Claude Opus 4.6, adaptive thinking, and other features (53027e2)

Bug Fixes

  • client: always add content-length to post body, even when empty (359dcee)

Chores

  • ci: remove claude-code-review workflow (4d513ef)
  • docs: remove www prefix (306cdf9)

1.17.0 (2026-01-29)

Full Changelog: v1.16.3...v1.17.0

Features

  • api: add support for Structured Outputs in the Messages API (06e1fd9)
  • api: migrate sending message format in output_config rather than output_format (13ac36e)
  • client: migrate output config (#784) (d055b2b)

Chores

  • add cgi gem as explicit dependency (b9ef072)
  • client: mark claude-3-5-haiku as deprecated (2ed73fd)
  • internal: update actions/checkout version (2f82126)
  • internal: use different example values for some enums (13d8b68)

1.16.3 (2026-01-05)

Full Changelog: v1.16.2...v1.16.3

Bug Fixes

  • Use proper module name for structured output parsing (#769) (fdbe433)

Chores

1.16.2 (2025-12-18)

Full Changelog: v1.16.1...v1.16.2

Bug Fixes

  • issue where json.parse errors when receiving HTTP 204 with nobody (b453645)

1.16.1 (2025-12-16)

Full Changelog: v1.16.0...v1.16.1

Bug Fixes

  • calling break out of streams should be instantaneous (517711f)

1.16.0 (2025-11-24)

Full Changelog: v1.15.2...v1.16.0

Features

  • api: adds support for Claude Opus 4.5, Effort, Advance Tool Use Features, Autocompaction, and Computer Use v5 (54d3512)

Chores

  • explicitly require "base64" gem (1224a32)

1.15.2 (2025-11-19)

Full Changelog: v1.15.1...v1.15.2

Bug Fixes

  • structured outputs: use correct beta header (0e92bf3)

1.15.1 (2025-11-14)

Full Changelog: v1.15.0...v1.15.1

1.15.0 (2025-11-14)

Full Changelog: v1.14.0...v1.15.0

Features

  • api: add support for structured outputs beta (1a4ec00)

1.14.0 (2025-11-07)

Full Changelog: v1.13.0...v1.14.0

Features

Bug Fixes

  • better thread safety via early initializing SSL store during HTTP client creation (3a9531c)

Chores

  • client: send user-agent header (57b22be)
  • internal: codegen related update (15188e3)

1.13.0 (2025-10-29)

Full Changelog: v1.12.0...v1.13.0

Features

  • add headers and status method to MessageStream (#727) (71fe5d0)
  • api: add ability to clear thinking in context management (c597009)
  • handle thread interrupts in the core HTTP client (ed4243d)

Bug Fixes

  • client: remove duplicate model (3652886)

Chores

  • api: mark older sonnet models as deprecated (071c146)
  • internal: refactor message stream header and status retrieval (#731) (f763a1d)

1.12.0 (2025-10-16)

Full Changelog: v1.11.0...v1.12.0

Features

  • api: adding support for agent skills (0e6b431)

1.11.0 (2025-10-15)

Full Changelog: v1.10.1...v1.11.0

Features

Bug Fixes

  • absolutely qualified uris should always override the default (cb93cb0)
  • should not reuse buffers for IO.copy_stream interop (3660d10)

Chores

  • ignore linter error for tests having large collections (464c042)

1.10.1 (2025-10-06)

Full Changelog: v1.10.0...v1.10.1

Bug Fixes

  • always send filename=... for multipart requests where a file is expected (0ffb017)
  • bedrock signing issue with retried requests (#719) (69372ed)
  • coroutine leaks from connection pool (7b9fb31)

Chores

  • client: add context-management-2025-06-27 beta header (067535d)
  • client: add model-context-window-exceeded-2025-08-26 beta header (b12c86f)

1.10.0 (2025-09-29)

Full Changelog: v1.9.0...v1.10.0

Features

  • api: adds support for Claude Sonnet 4.5 and context management features (3a3cad6)
  • expose response headers for both streams and errors (9bfbae1)

Bug Fixes

  • always send filename in content-disposition headers (#126) (0e665f3)
  • internal: use null byte as file separator in the fast formatting script (beae717)
  • shorten multipart boundary sep to less than RFC specificed max length (40226f9)

Performance Improvements

Chores

  • allow fast-format to use bsd sed as well (ea0324c)
  • do not install brew dependencies in ./scripts/bootstrap by default (2091081)
  • internal: fix tests (59ce934)

1.9.0 (2025-09-10)

Full Changelog: v1.8.0...v1.9.0

Features

  • api: adds support for Documents in tool results (91e23c1)
  • api: adds support for web_fetch_20250910 tool (631783d)

Bug Fixes

  • unnecessarily long multipart boundary length (#124) (69aa4c8)

1.8.0 (2025-09-02)

Full Changelog: v1.7.0...v1.8.0

Features

  • client: adds support for code-execution-2025-08-26 tool (28e554e)
  • input schemas (#660) (3e062c0)

Bug Fixes

  • bump sorbet version and fix new type errors from the breaking change (3c4f15d)
  • correctly raise errors encountered during streaming (be9bc45)

Chores

  • add json schema comment for rubocop.yml (3fce402)

1.7.0 (2025-08-13)

Full Changelog: v1.6.0...v1.7.0

Features

  • api: makes 1 hour TTL Cache Control generally available (c2dbf3b)

Chores

  • deprecate older claude-3-5 sonnet models (#679) (4a3fb20)

1.6.0 (2025-08-12)

Full Changelog: v1.5.0...v1.6.0

Features

  • betas: add context-1m-2025-08-07 (5bb5064)

Chores

  • collect metadata from type DSL (69114b1)
  • internal: update comment in script (c5bd3b1)
  • internal: update test skipping reason (6d7c586)
  • update @stainless-api/prism-cli to v5.15.0 (356427c)

1.5.0 (2025-08-08)

Full Changelog: v1.4.1...v1.5.0

Features

  • api: search result content blocks (9a94866)

Bug Fixes

1.4.1 (2025-08-07)

Full Changelog: v1.4.0...v1.4.1

Bug Fixes

  • aws bedrock should sign each request follow retries (#672) (df9f4e1)

1.4.0 (2025-08-05)

Full Changelog: v1.3.0...v1.4.0

Features

  • api: add claude-opus-4-1-20250805 (2477a05)
  • api: adds support for text_editor_20250728 tool (dff36db)
  • update streaming error message to say 'required' not 'recommended' (6272ddd)

Chores

  • ci: setup Ruby on release job (#111) (bb5d08f)
  • client: add TextEditor_20250429 tool (3b344dc)
  • internal: increase visibility of internal helper method (72fb96c)

1.3.0 (2025-07-28)

Full Changelog: v1.2.0...v1.3.0

Features

  • api: removed older deprecated models (47de6c2)
  • client: add beta stream implementation and fine grained tool streaming example (2856b81)
  • client: add beta stream implementation and fine grained tool streaming example (bc87fd4)

Bug Fixes

  • internal: ensure sorbet test always runs serially (0b39a19)
  • internal: ensure vertex client test ordering (#667) (d7439fa)

Chores

1.2.0 (2025-07-18)

Full Changelog: v1.1.1...v1.2.0

Features

  • api: add support for Search Result Content Blocks (158a7ce)
  • api: api update (cd22765)
  • api: manual updates (7f51b33)
  • client: add breaking change detection to CI (52e342f)
  • client: add support for new text_editor_20250429 tool (9049af2)
  • streaming helpers (#627) (43fbbf8)
  • vertex: support global region endpoint (da8c452)

Bug Fixes

  • to_sorbet_type should not return branded types (2658903)
  • ci: release-doctor — report correct token name (e30183e)
  • client: deprecate BetaBase64PDFBlock in favor of BetaRequestDocumentBlock (f75705b)
  • default content-type for text in multi-part formdata uploads should be text/plain (0a91592)
  • internal: fix: should publish to ruby gems when a release is created (cc88c6c)
  • issue where we cannot mutate arrays on base model derivatives (446c8be)

Chores

  • add license to the gemspec (#101) (af509a7)
  • add RBS types for helpers/streaming (#631) (0d7941d)
  • api: mark claude-3-opus-20240229 as deprecated (1edd9bd)
  • api: update BetaCitationSearchResultLocation (b294f7e)
  • ci: enable for pull requests (31bbb43)
  • ci: link to correct github repo (37b5902)
  • ci: only run for pushes and fork pull requests (8d3c942)
  • internal: allow streams to also be unwrapped on a per-row basis (a271d21)
  • internal: codegen related update (8b12fd6)
  • remove workaround for updating arrays in place in streaming (#643) (e0a30b8)

Documentation

1.1.1 (2025-05-28)

Full Changelog: v1.1.0...v1.1.1

Bug Fixes

  • prevent rubocop from mangling === to is_a? check (303ad55)
  • sorbet types for enums, and make tapioca detection ignore tapioca dsl (fb289a1)

Chores

1.1.0 (2025-05-22)

Full Changelog: v1.0.0...v1.1.0

Features

  • api: add claude 4 models, files API, code execution tool, MCP connector and more (5dd465d)

Chores

  • use fully qualified names for yard annotations and rbs aliases (80332a0)

1.0.0 (2025-05-21)

Full Changelog: v0.1.0-beta.9...v1.0.0

Chores

  • force utf-8 locale via RUBYOPT when formatting (55bfa9d)
  • internal: version bump (595b2c8)

0.1.0-beta.9 (2025-05-21)

Full Changelog: v0.1.0-beta.8...v0.1.0-beta.9

Features

Bug Fixes

  • correctly instantiate sorbet type aliases for enums and unions (e79b78d)

Chores

  • internal: version bump (6d1c2e6)
  • refine Yard and Sorbet types and ensure linting is turned on for examples (530daaf)
  • remove beta message for GA release (#613) (e7cee11)
  • remove legacy bedrock example (#609) (256fa36)
  • use sorbet union aliases where available (a21753a)
  • whitespaces (f622e39)

Documentation

0.1.0-beta.8 (2025-05-19)

Full Changelog: v0.1.0-beta.7...v0.1.0-beta.8

Chores

0.1.0-beta.7 (2025-05-15)

Full Changelog: v0.1.0-beta.6...v0.1.0-beta.7

⚠ BREAKING CHANGES

  • rename Vertex::Client and Bedrock::Client to VertexClient and BedrockClient

Features

  • bump default connection pool size limit to minimum of 99 (5170cb6)
  • client: enable setting base URL from environment variable (9cb10b1)
  • expose base client options as read only attributes (2813fa7)
  • expose recursive #to_h conversion (386a6a7)
  • implement #hash for data containers (f289994)
  • rename Vertex::Client and Bedrock::Client to VertexClient and BedrockClient (0506c4f)
  • support sorbet aliases at the runtime (239b6bb)
  • support specifying content-type with FilePart class (d81f97d)
  • support webmock for testing (91c3d67)

Bug Fixes

  • always send idempotency header when specified as a request option (c53396e)
  • client: send correct HTTP path (4ff371b)
  • ensure gem release is unaffected by renaming (9dbcb33)
  • internal: ensure formatting always uses c.utf-8 locale (8cdaf4e)
  • internal: fix formatting script for macos (acf7bb0)
  • internal: update gemspec name (6e1994d)
  • make a typo for FilePart.content (8dee858)
  • vertex and bedrock sorbet types (de4bf33)

Chores

  • accept all nd-json mimetype variants (1a0c3e3)
  • add generator safe directory (cbaa546)
  • always check if current page is empty in next_page? (ef41b35)
  • amend Gemfile.lock SHA for git dependency (617d7df)
  • broadly detect json family of content-type headers (eb41428)
  • ci: add timeout thresholds for CI jobs (ea76f5c)
  • ci: only use depot for staging repos (213392b)
  • ci: run on more branches and use depot runners (b85caa6)
  • consistently use string in examples, even for enums (2f6528e)
  • documentation improvements (e479e74)
  • explicitly mark apis public under Internal module (5adf74c)
  • fix misc linting / minor issues (753f93a)
  • internal: always run post-processing when formatting when syntax_tree (6b66ae9)
  • internal: annotate request options with type aliases in sorbet (78301c8)
  • internal: codegen related update (c8424fb)
  • internal: codegen related update (ea9c02e)
  • internal: codegen related update (e60bcc4)
  • internal: codegen related update (453af53)
  • internal: contribute.md and contributor QoL improvements (c48b418)
  • internal: improve response envelope unwrap functionality (b807072)
  • internal: loosen internal type restrictions (7675f8e)
  • internal: minor sync (14829b1)
  • internal: minor touch ups on sdk internals (3b4a873)
  • internal: minor type annotation improvements (e493aef)
  • internal: mostly README touch ups (b29f388)
  • internal: protect SSE parsing pipeline from broken UTF-8 characters (74056ed)
  • internal: remove unnecessary rbi/lib folder (f238fa8)
  • internal: version bump (8478780)
  • make internal types pretty print (99c01e4)
  • make sorbet enums easier to read (1909c6e)
  • migrate away from deprecated JSON#fast_generate (80308a9)
  • more accurate type annotations and aliases (54c04df)
  • move bedrock and vertex under anthropic/helpers (#574) (c2f3554)
  • re-export top level models under library namespace (41a5161)
  • refine #inspect and #to_s for model classes (de00260)
  • remove Gemfile.lock during bootstrap (7d671aa)
  • reorganize type aliases (94c0258)
  • revert ignoring Gemfile.lock (47413aa)
  • show truncated parameter docs in yard (679c27b)
  • simplify yard annotations by removing most @!parse directives (5b23af5)
  • update README with recommended editor plugins (0c706bb)
  • use @!method instead of @!parse for virtual method type definitions (2834dd6)
  • validate request option coercion correctness (cd89ec5)

Documentation

  • fix misplaced coming soon snippet in README.md (6979aae)
  • illustrate environmental defaults for auth variables (3f295d8)
  • readme: fix typo (6effd14)
  • rewrite much of README.md for readability (aaf7e8c)
  • update documentation links to be more uniform (6b95412)

0.1.0-beta.6 (2025-04-11)

Full Changelog: v0.1.0-beta.5...v0.1.0-beta.6

Bug Fixes

Chores

  • fix lsp configuration file for local development (2928009)
  • internal: update readme with pinned issue thread (4ef25a4)
  • internal: version bump (b12584c)

0.1.0-beta.5 (2025-04-09)

Full Changelog: v0.1.0-beta.4...v0.1.0-beta.5

Chores

  • internal: reduce CI branch coverage (52ba9ab)
  • internal: version bump (5eed725)

0.1.0-beta.4 (2025-04-09)

Full Changelog: v0.1.0-beta.3...v0.1.0-beta.4

Chores

0.1.0-beta.3 (2025-04-09)

Full Changelog: v0.1.0-beta.2...v0.1.0-beta.3

Chores

  • add release trigger to publish-gem.yml (660d3a0)
  • internal: version bump (ff3effe)

0.1.0-beta.2 (2025-04-09)

Full Changelog: v0.1.0-alpha.1...v0.1.0-beta.2

Features

  • api: manual updates (#75) (5a6b5cc)
  • use Pathname alongside raw IO handles for file uploads (#68) (a900382)

Bug Fixes

  • internal: update release-please to use ruby strategy for README.md (#73) (f0466d1)
  • raise connection error for errors that result from HTTP transports (#70) (0885db3)

Chores

  • add README docs for using solargraph when installing gem from git (#67) (bf8e537)
  • ensure readme.md is bumped when release please updates versions (#72) (99323d0)
  • internal: expand CI branch coverage (#74) (a058c31)
  • internal: version bump (0d1f04a)
  • loosen const and integer coercion rules (#71) (6fcb07c)
  • update readme sorbet example (5fee7e7)

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

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

⚠ BREAKING CHANGES

  • bump min supported ruby version to 3.1 (oldest non-EOL) (#46)
  • remove top level type aliases to relocated classes (#44)
  • use tagged enums in sorbet type definitions (#5)
  • support for item in stream style iteration on Streams (#1)
  • encode objects in multipart encoding as JSON
  • base page should be module instead of class
  • breaking change - improved request options signatures
  • breaking change: support const enums
  • (breaking change) flatter error hierarchy

Features

  • ! (breaking change) introduce nesting for models under deeply nested resources (f5e32b6)
  • ! (breaking change) pull path params not in the last position into the params argument (0f8f0d3)
  • (breaking change) flatter error hierarchy (a825225)
  • add basic usage examples (ecd4278)
  • add deprecation notice to enum members and resources (3782933)
  • add jsonl support (aaf602d)
  • add reference links in yard (#33) (8bda0cb)
  • add SKIP_BREW env var to ./scripts/bootstrap (59df81e)
  • allow all valid JSON types to be encoded (#55) (3dfe51b)
  • api: add citations (7fc3326)
  • api: add claude-3.7 + support for thinking (1c92c58)
  • api: add message batch delete endpoint (ffc84eb)
  • api: add message batches api (f8bef83)
  • api: add message token counting & PDFs support (979744f)
  • api: add new haiku model (69c38f7)
  • api: add new model and computer-use-2024-10-22 beta (742f2a7)
  • api: add support for disabling tool calls (06330df)
  • api: add URL source blocks for images and PDFs (8f6cc00)
  • api: extract ContentBlockDelta events into their own schemas (#34) (e5bbcc4)
  • api: general availability updates (a7111aa)
  • api: manual updates (236007c)
  • api: manual updates (#40) (54a5afd)
  • api: manual updates (#45) (bfd23d7)
  • breaking change - improved request options signatures (90fd7b0)
  • breaking change: support const enums (b68ff43)
  • bump min supported ruby version to 3.1 (oldest non-EOL) (#46) (360c3e3)
  • bundle typing manifests with gem release (cc7ce7e)
  • client: configurable timeouts (3907f0b)
  • client: improved .inspect output (20b9526)
  • client: send X-Stainless-Read-Timeout header (8077201)
  • client: support results endpoint (84aee14)
  • client: support rightward assignment (037d377)
  • consistently accept AnyHash types in parameter positions in sorbet (#10) (5b87e3a)
  • elide anonymous enums into unions (cda05e9)
  • enable type annotations (8efbf84)
  • escape path params (7d95a65)
  • escape path params (20323f4)
  • examples for working with discriminated unions (815f6f1)
  • exercise connection pool in tests (4758f2f)
  • explicitly mark more internal methods with private (c3e2c09)
  • fix to_enum and enum_for built-ins for pagination classes (1e8f0d7)
  • generate enum examples (6707fde)
  • generate params classes (b63d653)
  • generate some omitted class names in doc comments (cf3d9cd)
  • implement to_json for base model (#39) (2b8090e)
  • implement subsumption operator for base classes (83e9ed4)
  • implement unions (ede8afc)
  • implement unions (7079e3b)
  • improve ArrayOf DSL to use :[] instead of .new (8f1a061)
  • improve interface readability, especially in *.rbi (5db7d5c)
  • improve sorbet attribute signatures (3d137b9)
  • inline sorbet type aliases (7219236)
  • internal: converter interface should recurse without schema (#24) (0d86d2b)
  • internal: modified tests for thread and fiber safety (e4d8d96)
  • isolate platform headers (52ab4f8)
  • link response models to their methods in yard doc (#36) (25b5673)
  • make build_request overridable (29e3135)
  • make enum classes thread safe (203ea8e)
  • modernize sdk internals (63e1284)
  • more consistent ArrayOf and HashOf DSL with re: lambda usage (bd9c771)
  • more consistent ArrayOf and HashOf DSL with re: lambda usage (ae072d7)
  • prevent tapioca from introspecting the gem internals (#9) (3d7f0a8)
  • rb: render kwargs in constructors (67e0961)
  • remove top level type aliases to relocated classes (#44) (41cbf0b)
  • rename fields when they collide with ruby internals (67f68dc)
  • render yard docs with hash and nil? info (5626317)
  • ruby add nilability annotations (8a7bf3e)
  • run rubocop in multiple processes when formatting (0291b49)
  • seal private constructors (bf74451)
  • support for item in stream style iteration on Streams (#1) (404600c)
  • support client level methods (b190c00)
  • support jsonl uploads (b1c36cf)
  • support overlapping HTTP requests in same Fiber (8884a36)
  • support query, header, and body params that have identical names (#54) (0a47d58)
  • support solargraph generics (#49) (e2f8051)
  • support streaming uploads (54cd6e7)
  • switch to yard @!parse directive for init signatures instead of dummy methods (30e430a)
  • unify param & return types in yard (5c33a30)
  • use pattern matching in parsing pagination responses (132f23a)
  • use tagged enums in sorbet type definitions (#5) (ebdf7bc)

Bug Fixes

  • base client type annotations (1514045)
  • base page should be module instead of class (b95df92)
  • beta: merge betas param with the default value (c16fa7c)
  • beta: merge betas param with the default value (217f24b)
  • better support header parameters (f6fa0d5)
  • client: deduplicate stop reason type (#18) (2688c3b)
  • client: point accessors to the correct keys (7f4152d)
  • client: various items, including keying connection pool by origin, not host (ec36fe1)
  • converter now rejects unexpected arguments correctly (7a4e479)
  • converter should transform stringio into string where applicable (#57) (f295fc0)
  • correctly annotate nil values in yard (b2a17dc)
  • correctly geneate array and map schemas with models (1943720)
  • correctly mark optional arrays and hashes as nullable (c189028)
  • correctly mark some error values as optional (e49c40b)
  • encode objects in multipart encoding as JSON (5474b7c)
  • enums should only coerce matching symbols into strings (4d61b49)
  • error classes did not call .to_s on error uri (3ac9239)
  • exclude duplicate streaming determinant fields (db212db)
  • fix union variant duplication (2e32e31)
  • pages should be able to accept non-converter models (#13) (7f3f1b9)
  • path interpolation template strings (#32) (04f7783)
  • pre-release version string should match ruby, not semver conventions (#48) (872c0b0)
  • rectify a mistake where wrong lines were chosen during rebase (b94b0d0)
  • remove unnecessary indirection for some ArrayOf and HashOf types (51ee769)
  • resolve tapioca derived sorbet errors (#4) (3b99fb9)
  • restore accidently removed optional dependencies (f749376)
  • run bundle install before publishing ruby gems (ff4c067)
  • sorbet request method signatures should support default values (004072a)
  • ssl timeout not required when TCP socket open timeout specified (a032e01)
  • switch to github compatible markdown engine (#29) (009c43d)
  • temporarily run CI without bundler cache (82f8fe0)
  • type signature: remove extraneous params from resource methods (46f31db)
  • types: add missing token-counting-2024-11-01 (6fae646)
  • types: correct claude-3-5-haiku-20241022 name (67ef9e8)
  • types: remove anthropic-instant-1.2 model (b09f15f)
  • update outdated examples (b3668b7)
  • yard example tag formatting (#7) (13c0a7d)

Chores

  • BaseModel fields that are BaseModel typed should also accept Hash (#6) (29bb24a)
  • accept BaseClient where Client were accepted (ee8dc80)
  • add sorbet section to README (e86eeb4)
  • add hash of OpenAPI spec/config inputs to .stats.yml (#17) (a217e5a)
  • add more examples to README.md (a66b0be)
  • add more private yard doc annotations (1fbbf09)
  • add most doc strings to rbi type definitions (4b4eb5d)
  • add stub methods for higher level stream helpers (4d86623)
  • add type annotations for enum and union member listing methods (#8) (e26a2b4)
  • add type annotations for requester (4c4001d)
  • adjust method param class position in yard doc for convenience (d4799c9)
  • adjust whitespace in comments (545f35f)
  • always fold up method bodies in sorbet type definitions (#61) (b77b1a7)
  • api: add title (b82e233)
  • api: update openapi spec url (2fab4c1)
  • api: update spec version (90e3e26)
  • api: update spec version (a7f4b77)
  • attempt to clean up underlying transport when streams are GC'd (#66) (f562b62)
  • be consistent and use lower case headers everywhere (359050a)
  • bump lockfile (44d371d)
  • bump lockfile (c7b4556)
  • bump sorbet (796e654)
  • clamp timeout to range of positive floats (042cdbb)
  • clean up client tests (ca6fefb)
  • client: ensure streaming methods are suffixed with _streaming (#43) (875abed)
  • client: extract out client agnostic code into utils (9c6e7e6)
  • client: refactor to use RFC3986_PARSER for URL handling (702735e)
  • consolidate imports (1acdd2b)
  • demonstrate how to make undocumented requests in README (#47) (48bb3df)
  • disable dangerous rubocop auto correct rule (#15) (4e2c7b1)
  • do not git ignore bin/ (c4c8a4b)
  • do not label modules as abstract (a662c5a)
  • do not use literals for version in type definitions (#50) (5248f18)
  • docs: updates (215c716)
  • document LSP support in read me (#53) (c1141ae)
  • document union variants in yard doc (6d46142)
  • easier to read examples in README.md (#64) (d33a5d4)
  • enable full pagination tests (0461ff1)
  • ensure doc strings for rbi method arguments (7e1c01e)
  • error fields are now mutable in keeping with rest of SDK (7e05b0a)
  • extract error classes into own module (#41) (bd071ab)
  • fix a yard doc comment (9ba259f)
  • fix misc rubocop errors (#30) (da01798)
  • formatting change for *.rbi files (465bf0b)
  • formatting consistency update (e1845c3)
  • fully qualify Array and Hash in rbs files to avoid collisions (ed20454)
  • fully qualify class name for inheritance (780ccfe)
  • fused enum should use faster internal iteration by default (9b8f6b6)
  • generate better supported rbi signatures (b3d1d0f)
  • generate params class initializers (b6ade22)
  • generate yard docs on page classes (633147d)
  • improve doc comment readability (7926d77)
  • improve doc comment readability (c390289)
  • improve documentation (999b642)
  • improve rbi typedef for page classes (c15f0f9)
  • improve uri interpolation internals (dc68ceb)
  • improve yard doc folding and reduce repetition (fc89d13)
  • improve yard docs readability (#35) (9f938ae)
  • internal: add back release workflow (f96d786)
  • internal: add utils methods for parsing SSE (4384987)
  • internal: bump dependencies (b8d2f75)
  • internal: bump dependencies (992a146)
  • internal: bump dependencies (fd5d65f)
  • internal: formatting (a44a2cf)
  • internal: group related utils together (cf14545)
  • internal: improve sdk internal docs / types (8e10e1e)
  • internal: minor refactoring of utils (#23) (ebb85fe)
  • internal: misc small improvements (#58) (f888187)
  • internal: more concise handling of parameter naming conflicts (#63) (4a573cd)
  • internal: prune unused extern references (6ba7331)
  • internal: refactor request stack (af9c6fa)
  • internal: remove CI condition (#22) (b89b4e3)
  • internal: remove extra empty newlines (2b8f3f9)
  • internal: reorder model constants (aee0601)
  • internal: rubocop rules (#60) (032f3e7)
  • internal: run rubocop linter in parallel (#59) (70c29d1)
  • internal: update config (#21) (6407fd1)
  • internal: update dependencies (e7d6f17)
  • internal: update dependencies (5372f72)
  • internal: update lock file (35393a0)
  • internal: update lock file (7f320b2)
  • internal: update lock file (b86e9ec)
  • internal: update spec (b44172f)
  • internal: update spec (31530cc)
  • internal: update spec URL (96a52f8)
  • internal: update spec version (b37e786)
  • link to param model in method yard docs (99f6930)
  • make client tests look prettier (#65) (7550298)
  • make MFA optional depending on token (0705343)
  • mark non-inheritable SDK internal classes as final (2f466f1)
  • migrate to pattern matching for testing (e1eb80f)
  • minor formatting changes (8ee908a)
  • minor improvements to param type yard doc (d3ec6af)
  • minor refactorings on base client (4aa03f1)
  • minor scripting improvements (9fa1667)
  • misc code formatting changes (f480392)
  • misc sdk polish (#52) (559e927)
  • modify sorbet initializers to better support auto-completion (06657ca)
  • more accurate generic params for stream classes (00638c2)
  • more accurate type annotations for SDK internals (#27) (894f4d6)
  • more aggressive tapioca detection logic for skipping compiler introspection (#19) (eeb1f1b)
  • more detailed yard docs for base client (572b2c7)
  • more detailed yard docs for sdk utils (75435e2)
  • more explicit privacy annotations (5dd26ad)
  • more readable output when tests fail (#16) (83aa368)
  • move basemodel examples into tests (0cf72d1)
  • move examples into tests (9658760)
  • move private classes into internal module (#42) (6627f51)
  • order client variables by "importance" (#38) (2fc8233)
  • re-arrange request-options method definitions (43da888)
  • re-order assignment lines to make unions easier to read (#20) (fa776d0)
  • re-order init params in accordance with their optionality (e6d54b5)
  • re-order resource classes constructor position (1dfecdf)
  • recursively accept AnyHash for BaseModels in arrays and hashes (#11) (9794ce4)
  • reduce test verbosity (f55e130)
  • reduce verbosity in type declarations (#14) (f92b511)
  • refactor base client internals (d44a188)
  • refactor base client methods (c220090)
  • refactor base client methods (b0fde06)
  • refactor BasePage to have initializer (0f72312)
  • refactor util method signatures (aec6d2b)
  • refactor: improve requester internals (5e026ed)
  • relax sorbet enum parameters to allow String in addition to Symbol (#37) (4084602)
  • relocate internal modules (#26) (eeedd82)
  • remove stale thread local checks (2cdb176)
  • remove unnecessary & confusing module (#25) (1743ccc)
  • rename confusing Type::BooleanModel to Type::Boolean (#56) (2fe7368)
  • rename internal type aliases (8b319e3)
  • rename internal variable (25c089f)
  • rename misleading variable (e5e2b07)
  • reorganize import ordering (47f8d21)
  • reorganize request construction hash to mirror HTTP semantics (255af2c)
  • sdk client internal refactoring (e19893f)
  • sdk internal updates (5dbeb61)
  • simplify internal utils (#51) (42e6f89)
  • slightly more consistent type definition layout (11e35e7)
  • slightly more robust utils (77f7f35)
  • slightly more robust utils (a456b92)
  • sort imports via topological dependency & file path (647f324)
  • styling improvements in doc strings (2c01db4)
  • support (deprecated) ruby 3.0 as well (31885ce)
  • support different EOLs in streaming (20173b9)
  • switch over to relative requires for gem locals (064113e)
  • switch to prettier looking sorbet annotations (#12) (3a98172)
  • tests: limit array example length (df006e2)
  • tests: support overriding base url with an env var (6c0135b)
  • tests: support overriding base url with an env var (4c88087)
  • touch up sdk usage examples (1bd00b5)
  • touch up yard docs with more spec compliant syntax (dc157ab)
  • types: add types for Model#initialize (5a2123b)
  • unknown commit message (796e654)
  • unknown commit message (ed20454)
  • unknown commit message (cc7ce7e)
  • unknown commit message (c4c8a4b)
  • unknown commit message (82f8fe0)
  • unknown commit message (465bf0b)
  • unknown commit message (7219236)
  • unknown commit message (b3668b7)
  • unknown commit message (31885ce)
  • unknown commit message (1514045)
  • unknown commit message (e7d6f17)
  • unknown commit message (042cdbb)
  • unknown commit message (8077201)
  • unknown commit message (5474b7c)
  • unknown commit message (7f320b2)
  • unknown commit message (46f31db)
  • unknown commit message (2fab4c1)
  • unknown commit message (c189028)
  • unknown commit message (5db7d5c)
  • unknown commit message (3d137b9)
  • unknown commit message (8efbf84)
  • unknown commit message (aee0601)
  • unknown commit message (b95df92)
  • unknown commit message (1e748e8)
  • unknown commit message (5c33a30)
  • unknown commit message (aec6d2b)
  • unknown commit message (9ba259f)
  • unknown commit message (90fd7b0)
  • unknown commit message (b68ff43)
  • unknown commit message (215c716)
  • unknown commit message (7fc3326)
  • unknown commit message (fc89d13)
  • unknown commit message (f5c2dc1)
  • unknown commit message (84aee14)
  • unknown commit message (572b2c7)
  • unknown commit message (75435e2)
  • unknown commit message (8ee908a)
  • unknown commit message (8a7bf3e)
  • unknown commit message (e6d54b5)
  • unknown commit message (dc157ab)
  • unknown commit message (1dfecdf)
  • unknown commit message (0291b49)
  • unknown commit message (dc68ceb)
  • unknown commit message (ae072d7)
  • unknown commit message (815f6f1)
  • unknown commit message (51ee769)
  • unknown commit message (ee8dc80)
  • unknown commit message (2e32e31)
  • unknown commit message (e49c40b)
  • unknown commit message (8e10e1e)
  • unknown commit message (9fa1667)
  • unknown commit message (545f35f)
  • unknown commit message (b2a17dc)
  • unknown commit message (3ac9239)
  • unknown commit message (4758f2f)
  • unknown commit message (203ea8e)
  • unknown commit message (7079e3b)
  • unknown commit message (20323f4)
  • unknown commit message (5626317)
  • unknown commit message (1943720)
  • unknown commit message (e1eb80f)
  • unknown commit message (8f1a061)
  • unknown commit message (6707fde)
  • unknown commit message (bf74451)
  • unknown commit message (132f23a)
  • unknown commit message (cf3d9cd)
  • unknown commit message (b44172f)
  • unknown commit message (83e9ed4)
  • unknown commit message (90e3e26)
  • unknown commit message (43da888)
  • unknown commit message (5dd26ad)
  • unknown commit message (b6ade22)
  • unknown commit message (c390289)
  • unknown commit message (a456b92)
  • unknown commit message (99f6930)
  • unknown commit message (2c01db4)
  • unknown commit message (ec36fe1)
  • unknown commit message (9c6e7e6)
  • unknown commit message (25c089f)
  • unknown commit message (b63d653)
  • unknown commit message (bacbf53)
  • unknown commit message (f55e130)
  • unknown commit message (702735e)
  • unknown commit message (236247b)
  • unknown commit message (992a146)
  • unknown commit message (fd5d65f)
  • unknown commit message (f480392)
  • unknown commit message (a825225)
  • unknown commit message (1e8f0d7)
  • unknown commit message (f5e32b6)
  • unknown commit message (255af2c)
  • unknown commit message (0f8f0d3)
  • unknown commit message (c815c7f)
  • unknown commit message (67f68dc)
  • unknown commit message (7a4e479)
  • unknown commit message (df006e2)
  • unknown commit message (a7f4b77)
  • unknown commit message (7546811)
  • unknown commit message (7699572)
  • unknown commit message (b09f15f)
  • unknown commit message (fefdaf2)
  • unknown commit message (d44a188)
  • unknown commit message (c3e2c09)
  • unknown commit message (780ccfe)
  • unknown commit message (633147d)
  • unknown commit message (69c38f7)
  • unknown commit message (213172e)
  • unknown commit message (ff4c067)
  • unknown commit message (b0fde06)
  • unknown commit message (6fae646)
  • unknown commit message (979744f)
  • unknown commit message (4aa03f1)
  • unknown commit message (4e4523e)
  • unknown commit message (63e1284)
  • unknown commit message (e3f3559)
  • unknown commit message (b37e786)
  • unknown commit message (d3ec6af)
  • unknown commit message (1acdd2b)
  • unknown commit message (064113e)
  • unknown commit message (742f2a7)
  • unknown commit message (31530cc)
  • unknown commit message (b82e233)
  • unknown commit message (20b9526)
  • unknown commit message (7f4152d)
  • unknown commit message (30e430a)
  • unknown commit message (e1845c3)
  • unknown commit message (037d377)
  • unknown commit message (5a2123b)
  • unknown commit message (217f24b)
  • unknown commit message (96a52f8)
  • unknown commit message (4c88087)
  • unknown commit message (3907f0b)
  • unknown commit message (f8bef83)
  • update basic usage examples (d573682)
  • update custom timeout header name (c4c9870)
  • update deps (4736fe3)
  • update deps (73f1827)
  • update lockfile (92c697d)
  • update readme (#28) (6f56971)
  • update sorbet annotations for vertex and bedrock clients (5310e3b)
  • update sorbet examples (0a55362)
  • update yard comment formatting (#62) (f3f4c25)
  • updated lockfile (187ea67)
  • use has_more for pagination (4e238c5)
  • use concise syntax for pattern matching (c1947ac)
  • use fully qualified name in sorbet README example (#31) (47a4d11)
  • use generics instead of overloading for sorbet type definitions (6ea42de)
  • use more descriptive rubocop output format (f5c2dc1)
  • yard doc improvements (e3f3559)

Documentation

  • update URLs from stainlessapi.com to stainless.com (2ac10de)
  • use latest sonnet in example snippets (236247b)

Refactors

  • avoid unnecessary setter invocation (c815c7f)
  • clean up base client send_request method (213172e)
  • client constructor (7699572)
  • client: extract ContentBlockParam type (7546811)
  • client: impose consistent sdk internals layout (1e748e8)
  • extract out url handling functions into utils (4e4523e)
  • extract some base client internals into utils (3a2d596)
  • private base client internals (fefdaf2)
  • remove special testing only request header (bacbf53)