Skip to content

Relax activesupport/activemodel upper bound to allow Rails 8 - #51

Open
oartb wants to merge 1 commit into
astroband:mainfrom
oartb:relax-activesupport-cap
Open

Relax activesupport/activemodel upper bound to allow Rails 8#51
oartb wants to merge 1 commit into
astroband:mainfrom
oartb:relax-activesupport-cap

Conversation

@oartb

@oartb oartb commented Aug 13, 2026

Copy link
Copy Markdown

xdr caps both activesupport and activemodel at < 8.0, with no release since
3.0.3 (2022) and main never having touched this constraint either. This blocks Rails
8 for anything depending on this gem transitively (e.g. stellar-base/stellar-sdk,
which depend on xdr).

Verified empirically before opening this, not just by inspection: installed real
activesupport 8.0.0 and activemodel 8.0.0 in an isolated sandbox and ran this gem's
full RSpec suite against them (via a temporary Gemfile pin, not part of this diff) —
122 examples, 0 failures. ActiveSupport::OrderedHash, which this gem relies on and
which looked like a plausible removal candidate for a major version bump, is still
present and functional in 8.0.0.

Widened to < 9.0.

xdr caps both at < 8.0 with no newer release (latest is 3.0.3, 2022;
upstream main is 10 commits ahead but never touched this constraint
either) -- the same abandoned-pin pattern as stellar-sdk/stellar-base,
which depend on this gem and are the reason chat can't move to Rails 8.

Verified empirically, not just by inspection: installed real
activesupport 8.0.0 and activemodel 8.0.0 in an isolated sandbox and
ran xdr's full RSpec suite against them (via a temporary Gemfile pin,
not committed) -- 122 examples, 0 failures. ActiveSupport::OrderedHash,
which this gem relies on and which looked like a plausible removal
candidate for a major version bump, is still present and functional in
8.0.0 (confirmed by reading activesupport's own source, not assumed).

Widen to < 9.0, matching the same ceiling used for stellar-sdk's own
activesupport relax.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants