You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. 👋 I'm seeing the following warnings when using this gem with Ruby 3.3.0:
warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add base64 to your Gemfile or gemspec. Also contact author of http-5.1.1 to add base64 into its gemspec.
How
Here's a quick script to reproduce:
#! /usr/bin/env ruby
# frozen_string_literal: true
# Save as `demo`, then `chmod 755 demo`, and run as `./demo`.
require "bundler/inline"
gemfile true do
source "https://rubygems.org"
gem "http"
end
Running the above will produce the warning mentioned above. The warning is due to this file (http-5.1.1/lib/http/chainable.rb:3) requiring base64.
Activity
ixti commentedon Jan 21, 2024
It was fixed some time ago in the main branch. I will cut a release today.
bkuhlmann commentedon Jan 21, 2024
Thanks, that'd be great!
ixti commentedon Feb 5, 2024
Released as 5.2.0
ixti commentedon Feb 5, 2024
Please see 5.2.0 changelog for potentially breaking changes: https://github.com/httprb/http/blob/5-x-stable/CHANGELOG.md