Skip to content

chore: loosen base64 dependency to allow 0.3.x#61

Merged
jasonbosco merged 1 commit intotypesense:masterfrom
OLIOEX:loosen-base64-constraint
Apr 28, 2026
Merged

chore: loosen base64 dependency to allow 0.3.x#61
jasonbosco merged 1 commit intotypesense:masterfrom
OLIOEX:loosen-base64-constraint

Conversation

@erimicel
Copy link
Copy Markdown
Contributor

@erimicel erimicel commented Apr 27, 2026

Closes #50.

base64 0.3.0 shipped in May 2025 and ~> 0.2.0 in typesense.gemspec blocks bundler from resolving it.

The only Base64 API this gem uses is Base64.encode64 (lib/typesense/keys.rb:26,29) — that has been stable across every base64 release.

Loosens the constraint to ~> 0.2, which allows 0.2.x and 0.3.x while still capping below 1.0 if the API ever changes meaningfully.

Verification

  • bundle update base64 resolves to base64 0.3.0.
  • bundle exec rspec (api_call, configuration, key, keys specs) — all green against 0.3.0.

PR Checklist

`base64 0.3.0` was released in May 2025 and the API used by this gem
(only `Base64.encode64`) is unchanged. The pessimistic constraint
`~> 0.2.0` blocks bundler from resolving it, which forces apps that
depend on a newer base64 transitively to downgrade or skip this gem.

Loosens to `~> 0.2`, which allows 0.2.x and 0.3.x while still capping
at 1.0 should the API ever change meaningfully.

Closes typesense#50.
@jasonbosco jasonbosco merged commit d582306 into typesense:master Apr 28, 2026
4 checks passed
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.

Stop locking to base64 0.2.0?

3 participants