Skip to content

Releases: dodopayments/dodopayments-ruby

v1.22.0

09 May 02:28
Compare
Choose a tag to compare

1.22.0 (2025-05-09)

Full Changelog: v1.20.0...v1.22.0

Features

  • api: fixed api key schema to bearer (06d3549)
  • api: manual updates (eae9353)
  • api: updated openapi spec (c369261)

Bug Fixes

  • internal: fix formatting script for macos (8abfc9c)

Chores

  • accept all nd-json mimetype variants (b0dd5d6)
  • always check if current page is empty in next_page? (45b817d)
  • internal: codegen related update (e3ce1b3)
  • internal: codegen related update (2cd0f3e)
  • re-export top level models under library namespace (bbc82df)
  • remove Gemfile.lock during bootstrap (a484914)
  • revert ignoring Gemfile.lock (8ba5e6a)
  • validate request option coercion correctness (1ac286c)

Documentation

  • illustrate environmental defaults for auth variables (520d6cf)

v1.20.0

01 May 14:53
Compare
Choose a tag to compare

1.20.0 (2025-05-01)

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

Features

  • api: added addons (b7ab9df)
  • api: updated readme example (7ab77ac)
  • api: updated readme example (9646785)

Bug Fixes

  • re-exported array and map models should typecheck in steep (443c685)

Chores

  • migrate away from deprecated JSON#fast_generate (11a01cc)

Documentation

v1.19.0

30 Apr 16:50
Compare
Choose a tag to compare

1.19.0 (2025-04-30)

Full Changelog: v1.18.3...v1.19.0

Bug Fixes

  • ensure gem release is unaffected by renaming (d134bf2)
  • make a typo for FilePart.content (e1b34c1)

Chores

  • add generator safe directory (176120f)
  • internal: annotate request options with type aliases in sorbet (4e29dc1)
  • internal: mostly README touch ups (d4fd618)
  • internal: remove unnecessary rbi/lib folder (0745897)
  • loosen rubocop rules that don't always make sense (129618a)
  • more accurate type annotations and aliases (433979e)

v1.18.3

25 Apr 12:31
Compare
Choose a tag to compare

1.18.3 (2025-04-25)

Full Changelog: v1.18.1...v1.18.3

Features

v1.18.1

25 Apr 05:36
Compare
Choose a tag to compare

1.18.1 (2025-04-25)

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

Features

  • support specifying content-type with FilePart class (05ee21c)
  • support webmock for testing (aff42ca)

Chores

  • broadly detect json family of content-type headers (826d222)
  • ci: only use depot for staging repos (bb8e176)
  • internal: codegen related update (e449407)
  • internal: improve response envelope unwrap functionality (6e7675c)
  • show truncated parameter docs in yard (904002a)

v1.18.0

23 Apr 16:13
Compare
Choose a tag to compare

1.18.0 (2025-04-23)

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

Features

Chores

  • ci: add timeout thresholds for CI jobs (2bf3878)

v1.17.0

22 Apr 14:38
Compare
Choose a tag to compare

1.17.0 (2025-04-22)

Full Changelog: v1.16.1...v1.17.0

Features

  • api: manual updates (62a87c3)
  • implement #hash for data containers (34c3553)

Chores

  • documentation improvements (71c417b)
  • explicitly mark apis public under Internal module (b5c432b)
  • internal: minor type annotation improvements (0356338)
  • make sorbet enums easier to read (2fb5092)
  • simplify yard annotations by removing most @!parse directives (d54d094)
  • update README with recommended editor plugins (b5f54c9)
  • use @!method instead of @!parse for virtual method type definitions (d890ce6)

v1.16.1

18 Apr 19:19
Compare
Choose a tag to compare

1.16.1 (2025-04-18)

Full Changelog: v1.14.0...v1.16.1

Features

Bug Fixes

  • always send idempotency header when specified as a request option (e666622)
  • client: send correct HTTP path (45d2036)
  • restore ability to configure server environment as string during client construction (684c1e2)

Chores

  • internal: contribute.md and contributor QoL improvements (360a982)
  • refine #inspect and #to_s for model classes (04244f9)

v1.14.0

17 Apr 11:01
Compare
Choose a tag to compare

1.14.0 (2025-04-17)

Full Changelog: v0.0.1-alpha.0...v1.14.0

⚠ BREAKING CHANGES

  • bump min supported ruby version to 3.1 (oldest non-EOL)
  • remove top level type aliases to relocated classes
  • use tagged enums in sorbet type definitions
  • support for item in stream style iteration on Streams
  • model: base model should recursively store coerced base models

Features

  • add reference links in yard (c8112ba)
  • allow all valid JSON types to be encoded (0e60330)
  • api: fixed license key pagination issues in openapi spec (653b19c)
  • api: fixed openapi spec issues (691e1e4)
  • api: manual updates (1a32da1)
  • api: manual updates (f0b9884)
  • api: manual updates (a680087)
  • api: openapi spec updated (31b931f)
  • api: updated openapi spec (1c3e4df)
  • api: updated openapispec to v1.10.1 (e1f3743)
  • api: updated stainless config (bc00e20)
  • bump min supported ruby version to 3.1 (oldest non-EOL) (c66807f)
  • client: enable setting base URL from environment variable (90a50f5)
  • consistently accept AnyHash types in parameter positions in sorbet (c059ee7)
  • implement to_json for base model (f49536b)
  • internal: converter interface should recurse without schema (311fe61)
  • link response models to their methods in yard doc (3983431)
  • prevent tapioca from introspecting the gem internals (c8092f5)
  • remove top level type aliases to relocated classes (6f906f2)
  • support for item in stream style iteration on Streams (d3e29e7)
  • support query, header, and body params that have identical names (cd22aac)
  • support solargraph generics (6173376)
  • use Pathname alongside raw IO handles for file uploads (c3aba4a)
  • use tagged enums in sorbet type definitions (3b11bb1)

Bug Fixes

  • bad documentation url for gemdocs.org (8fe7986)
  • converter should transform stringio into string where applicable (fa77255)
  • internal: update release-please to use ruby strategy for README.md (b683ef0)
  • label optional keyword arguments in *.rbs type definitions (0a8efde)
  • model: base model should recursively store coerced base models (7e3ec62)
  • path interpolation template strings (d5683b7)
  • pre-release version string should match ruby, not semver conventions (e7415da)
  • raise connection error for errors that result from HTTP transports (3834676)
  • resolve tapioca derived sorbet errors (bc47cc1)
  • switch to github compatible markdown engine (4acafa8)
  • yard example tag formatting (884ae9d)

Chores

  • BaseModel fields that are BaseModel typed should also accept Hash (915e7e5)
  • add [@yieldparam](https://github.com/yieldparam) to yard doc (764cd83)
  • add example directory (9599dc0)
  • add README docs for using solargraph when installing gem from git (cc5afeb)
  • add type annotations for enum and union member listing methods (933f18b)
  • always fold up method bodies in sorbet type definitions (e838c12)
  • configure new SDK language (fbf7c1f)
  • demonstrate how to make undocumented requests in README (15e30c1)
  • disable overloads in *.rbs definitions for readable LSP errors (da0e8d5)
  • disable unnecessary linter rules for sorbet manifests (c76ef72)
  • do not label modules as abstract (ee3ebf5)
  • do not use literals for version in type definitions (ad10ce8)
  • document Client's concurrency capability (58a127e)
  • document LSP support in read me (a47019f)
  • ensure readme.md is bumped when release please updates versions (c1755a1)
  • extract error classes into own module (89bad55)
  • fix misc rubocop errors (87f611e)
  • ignore some spurious linter warnings and formatting changes (d606be8)
  • improve yard docs readability (27ae393)
  • internal: add sorbet config for SDK local development (0c7073d)
  • internal: codegen related update (9c7c1d8)
  • internal: expand CI branch coverage (57ab4ac)
  • internal: minor refactoring of utils (508daf1)
  • internal: misc small improvements (85b3cc3)
  • internal: more concise handling of para...
Read more