Skip to content

Update bundler non-major dependencies to v1.216.0 - #994

Merged
JPrevost merged 1 commit into
mainfrom
renovate/bundler-minor-patch
Nov 24, 2026
Merged

JPrevost merged 1 commit into
mainfrom
renovate/bundler-minor-patch

Conversation

@renovate

@renovate renovate Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
aws-sdk-lambda (source, changelog) 1.215.0 → 1.216.0 age confidence
bootsnap (changelog) 1.26.1 → 1.26.2 age confidence
rails_semantic_logger (source, changelog) 5.2.0 → 5.3.0 age confidence
redis (changelog) 6.0.0 → 6.1.0 age confidence
selenium-webdriver (source, changelog) 4.53.0 → 4.54.0 age confidence
webmock (changelog) 3.35.0 → 3.40.0 age confidence

Release Notes

aws/aws-sdk-ruby (aws-sdk-lambda)

v1.216.0

  • Feature - Increase function timeout limit to 30 minutes for Lambda Event Functions.
rails/bootsnap (bootsnap)

v1.26.2

Compare Source

  • Fix the Bootsnap.enable_frozen_string_literal with coverage warning being wrongly emitted on Ruby 4.0.10+.
reidmorrison/rails_semantic_logger (rails_semantic_logger)

v5.3.0

Compare Source

  • Requires Semantic Logger 5.3 or later.
  • Rails 8.2: detach Rails' own log subscribers from ActiveSupport.event_reporter. Rails 8.2 moves
    its framework log subscribers off ActiveSupport::Notifications and onto the event reporter, so
    they kept running next to the semantic subscribers and every request, query, render, mail and job
    was logged twice. Fixes #​332, in #​333. Thanks to Raheel Khan.
  • Active Job: replace Rails' log subscriber even when Active Job has not loaded by
    after_initialize. With lazy loading (the default in development and test) the semantic
    subscriber was never attached, so jobs were logged only as Rails' text lines. Eager-loaded
    applications (the production default) were not affected. Fixed in #​333.
  • Rails 8.2: log CSRF failures. Rails 8.2 reports them as csrf_request_blocked,
    csrf_javascript_blocked and csrf_token_fallback events instead of calling logger.warn
    directly, and only its own text log subscriber logged those events, so detaching it silenced the
    warnings. They are now logged at :warn, as Rails does, with controller, action and
    sec_fetch_site in the payload, while log_warning_on_csrf_failure is on.
  • Rails 8.2: stop loading ActionView::Base and ActionDispatch::Response while the application
    boots. Rails 8.2 logs a "was loaded before application initialization" warning for each when eager
    loading is off (development and test by default), and fails the boot when
    config.action_on_early_load_hook = :raise. The ActionController::Live patch, which loaded
    ActionDispatch::Response, is now applied once Action Controller loads, and the Action View
    subscriber looks up its logger on first use instead of when its file loads.
  • Active Record: key SQL bind values that have no column name by their parameter position ($1,
    $2, ...), as Rails 8.2 now does in its own SQL logs. These are casted binds, plain values such
    as those passed to connection.select_all(sql, name, binds). All of them were previously logged
    under a single nil key, so a query with several such binds logged binds: {nil: ["foo", 2]}
    instead of binds: {"$1": "foo", "$2": 2}. Applies to every supported Rails version.
    Log output change: the nil bind key is gone, so update any log query, dashboard or alert
    that matches payload.binds.nil to match the positional keys instead. Binds that name their
    column, including [column, value] pairs, are still keyed and filtered by that name.
  • Rails 8.1+: log open redirects reported by config.action_controller.action_on_open_redirect = :notify, and path relative redirects reported by
    config.action_controller.action_on_path_relative_redirect = :notify. Rails' text log subscriber
    never logs the open_redirect.action_controller and unsafe_redirect.action_controller events
    (on Rails 8.2 only its structured event subscriber reports open redirects), so neither was
    logged. Both are now logged at :warn with the redirect's stack trace, cleaned of gem frames, as
    the backtrace: open redirects with location, request_method and request_path in the payload,
    under the logger of the controller handling the request, and path relative redirects with url.
    When cleaning would remove every frame, as for a redirect from an engine's controller, the
    backtrace keeps instead the frames from the first one in the file that defines the controller's
    action, or every frame when there is none, with gem paths shortened.
  • Active Job: support config.active_job.verbose_enqueue_logs, which Rails turns on in
    development for new applications. When it is on, each enqueue entry has the application code
    that enqueued the job as source in its payload, such as
    source: "app/controllers/orders_controller.rb:18:in 'OrdersController#create'", where Rails'
    own log adds a ↳ line. It was ignored on every Rails version. As Rails does, the source is the
    first frame of the call stack that the application's Rails.backtrace_cleaner keeps, and every
    info and error entry gets one when there is such a frame: a job performed inline, such as with
    perform_now, has the code that performed it, while the perform entries of a job performed by a
    worker have none, and its Continuation step entries (Rails 8.1+) have the job's line. A job
    enqueued after its transaction commits (enqueue_after_transaction_commit, Rails 8.1+) is
    logged at the commit, so its source is the code that opened the transaction, as in Rails' own
    log. To use another cleaner, assign
    RailsSemanticLogger::ActiveJob::LogSubscriber.backtrace_cleaner.
  • Active Job: close the parentheses in the message of an enqueue or enqueue_at that failed
    with an error, which reads as Rails words it:
    Failed enqueuing MyJob (Job ID: 1a2b) to Sidekiq(default): RuntimeError (boom).
    It ended ... to Sidekiq(default) (RuntimeError (boom), missing a closing
    parenthesis, since 4.13.0. Log output change: update any log query or alert that matches the
    old message.
  • Active Record: support config.active_record.verbose_query_logs, which Rails turns on in
    development for new applications. When it is on, each query entry, and each strict loading
    violation, has the application code that caused it as source in its payload, such as
    source: "app/models/user.rb:12:in 'User.recent'", where Rails' own log adds a ↳ line. It
    was ignored on every Rails version. As Rails does, the source is the first frame of the call
    stack that the application's Rails.backtrace_cleaner keeps. To use another cleaner, assign
    RailsSemanticLogger::ActiveRecord::LogSubscriber.backtrace_cleaner.
  • Action Controller: clean the backtraces it logs with the application's Rails.backtrace_cleaner,
    as Rails 8.1 does for its own subscriber, on every supported Rails version. Application frames
    are logged relative to Rails.root, and the application's backtrace silencers apply. This covers
    the open and path relative redirect backtraces, and the source of a Redirected to entry when
    ActionDispatch.verbose_redirect_logs is on (Rails 8.1+). Log output change: that source
    was an absolute path, such as
    /srv/app/app/controllers/articles_controller.rb:12:in 'ArticlesController#create', and is now
    app/controllers/articles_controller.rb:12:in 'ArticlesController#create', as in Rails' own log.
    On Rails 7.2 to 8.1, Rails' cleaner also leaves out frames outside app/, config/, lib/ and
    test/, as Rails' own log does, so code in other directories, such as packs/ or a local engine
    in engines/, is no longer the source; add to Rails.backtrace_cleaner to change that. To use
    another cleaner, assign RailsSemanticLogger::ActionController::LogSubscriber.backtrace_cleaner.
  • Action Controller: skip logging, as Rails does, when the controller has no logger and
    ActionController::Base.logger is nil, instead of raising NoMethodError from the subscriber.
  • Action Controller: leave the request out of the unpermitted_parameters context, as Rails'
    structured event subscriber does. The request refers back to itself, so the :json formatter
    overflowed the stack and the Unpermitted parameter line was never written, and the appender
    thread walked the request's env while the request was still using it. Fixed in #​338. Thanks to
    Philippe Vaucher.
  • CI also tests against Rails edge (rails/rails main). A failure there is reported but does not
    fail the build, and the default rake task still runs only the released Rails versions.
  • Clean the backtraces of logged exceptions with Rails.backtrace_cleaner by default, as Rails' own
    log does. Sets Semantic Logger 5.3's SemanticLogger.backtrace_cleaner, so the text formatters
    (:default, :color, ...) and the :json formatter, including the appenders that send JSON
    (HTTP, TCP, UDP, Kafka, ...), write only the application's frames, relative to Rails.root. The
    silencers in config/initializers/backtrace_silencers.rb apply, and an exception with no
    application frames, such as one raised entirely within a gem, keeps its whole backtrace. This
    covers every exception logged through Semantic Logger: requests, Active Job and Sidekiq job
    failures, and the application's own logger.error(exception) calls. Error services, such as
    Sentry or Bugsnag, still receive the full backtrace. See
    discussion #​236.
    Log output change: backtraces were logged in full, with absolute paths. To log full
    backtraces again, set the BACKTRACE environment variable as with the rest of Rails, opt out
    with config.semantic_logger.backtrace_cleaner = nil in config/application.rb, or opt out
    for one appender with formatter: {json: {backtrace_cleaner: false}}.
  • Action Dispatch: log a routing error, and the other exceptions in
    ActionDispatch::ExceptionWrapper.silent_exceptions (ActionController::RoutingError and
    ActionDispatch::Http::MimeNegotiation::InvalidType), without its backtrace when none of its
    frames is the application's, as Rails' own log does. Every other exception is logged as before. A
    request for a missing route, such as /apple-touch-icon.png, is now one line, after the
    response's status, instead of dozens of middleware frames:
    Rails -- 404 Not Found -- Exception: ActionController::RoutingError: No route matches [GET] "/apple-touch-icon.png".
    It is logged with Semantic Logger's log_exception: :partial, so the entry has the exception's
    class and message but not the exception: the :json formatter writes them in the message
    rather than as an exception, and Semantic Logger's own error service appenders, such as
    sentry_ruby, receive a message rather than an exception. The message also names each exception
    that caused it, which Rails lists as "Caused by", without their backtraces, such as the
    Mime::Type::InvalidMimeType behind an invalid Accept header. Rails renders the exception, and error
    services hooked into Rails report it, as before. With BACKTRACE set, or a routing error raised
    from application code, the exception is logged with its backtrace;
    config.semantic_logger.backtrace_cleaner = nil does not change this. To leave these out of the
    log altogether, set config.action_dispatch.log_rescued_responses = false.
    See discussion #​236.
  • Action Dispatch: log a SyntaxError raised while handling a request, such as one in a file that
    Rails loads on demand in development. It was logged as
    ArgumentError: Invalid value for logger exception, since Rails passes it wrapped in an
    ActiveSupport::SyntaxErrorProxy.
  • Redact the application's config.filter_parameters from every log entry by default, not only
    from the request parameters that Rails filters itself. Sets Semantic Logger 5.3's
    SemanticLogger.sensitive_keys once the application has initialized, so the value of every key
    that the filters match is written as "[FILTERED]" in the payload, named tags, and context of
    every entry, at any depth, by every appender. Keys are matched as written and in snake_case, so
    an X-Api-Key header in a payload is redacted, as x_api_key. See
    semantic_logger discussion #​272.
    Log output change: the filters match any key that contains them, so Rails' default filters
    (:passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc)
    also redact keys such as max_tokens, token_count, cache_key, and api_key_id, every
    email, and the concurrency_key of Solid Queue's entries. To opt out, set
    config.rails_semantic_logger.redact_filter_parameters = false; assigning
    SemanticLogger.sensitive_keys = nil does not opt out, since it cannot be told apart from never
    assigning it. An application that assigns its own SemanticLogger.sensitive_keys keeps them.
    Limits:
    • Rails' default filters do not match Authorization or Cookie; add them, e.g.
      config.filter_parameters += [:authorization, :cookie].
    • Active Job arguments and Action Mailer args are logged as JSON text, which is not redacted.
      For a job that takes a secret, leave its arguments out of the log with
      self.log_arguments = false.
    • Proc filters are not applied, since they change values rather than match keys.
    • A dotted filter, such as "credit_card.code", only matches a key named that, not a code key
      nested in credit_card. That includes the "model.attribute" filters that Rails adds for
      Active Record encrypted attributes.
    • Entries logged before the application has initialized may not be redacted.
  • Record where each entry was logged, with Semantic Logger 5.3's SemanticLogger.call_site_level:
    the file, line, and method of the code behind it. The text formatters write it after the thread,
    such as [1234:puma 1 articles_controller.rb:15 ArticlesController#index], and the :json
    formatter as file, line, and method. Unlike backtrace_level, it reads only the frames up to
    that code, about a microsecond per entry. For the entries of Rails' events, Rails Semantic Logger
    reads the stack up to the first application frame, with the subscriber's backtrace cleaner, which
    costs more. When there is none, it reads up to where Rails took over from the application, or the
    whole stack, when Rails did not take over, or a verbose_*_logs option needs the entry's source.
    • On by default in development, at every level. Log output change: to turn it off, or choose
      another level, set config.semantic_logger.call_site_level = nil (or :info, ...) in
      config/application.rb, config/environments/development.rb, or an initializer.
    • In the Rails console it replaces backtrace_level, which captured a backtrace for every entry
      at the default level. Backtraces in the console are back to the :error default.
    • The entries for Rails' events record the application code behind them, not Active Support's
      frame: for a query, the code that ran it; for a redirect, send_data, send_file, unpermitted
      parameters, and fragment caching, the line in the action; for Processing, Completed, and CSRF
      warnings, the controller's action; for rescue_from, where the exception was raised; for a
      render, the code that called render, or the template that rendered a partial; for Active Job,
      the code that enqueued or performed the job, or else the job's #perform; for Action Mailer,
      the code that delivered the mail, or else the mailer's action; for an exception that a request
      raised, including in a live or streamed response, where the application raised it.
    • Application code that only wraps what Rails runs, such as an around_action, or a worker's
      middleware, is not taken for the code behind an entry that Rails logs once it has taken over.
      The search stops where Rails dispatches an action, and where Active Job performs a job from its
      queue, so a template that Rails renders once the action has returned records no call site, and
      a job that a worker performs records its #perform, as does a job performed by the inline or
      test adapter. An action, or #perform, that a class inherits is labelled with the class that
      defines it, and a compiled template's frame has no label, since Rails names its method with
      numbers that change on every boot. With BACKTRACE set, every frame is the application's, so
      the call site is the first frame outside Rails Semantic Logger.
    • Entries with no application code behind them record no call site: Rack's Started, a halted
      filter chain, Sidekiq's job start, completion, and error handler entries, and Solid Queue's.
  • Active Record: decide whether to log a query's backtrace by its entry's level, :debug, as
    Semantic Logger does, rather than the logger's level. With the logger at :trace and
    SemanticLogger.backtrace_level = :debug, the backtrace started in Active Support rather than at
    the application code that ran the query.
  • Sidekiq: log a queue latency (sidekiq.queue.latency) of zero, rather than a negative one, when the
    job was enqueued by a host whose clock is ahead of this one. Semantic Logger 5.3 deprecates a
    negative metric_amount.
redis/redis-rb (redis)

v6.1.0

Compare Source

New features

  • Add the BLESS key-protection commands (Redis 8.12): bless_get, bless_set, bless_clear,
    bless_scan and bless_scan_each. On Redis::Cluster, bless_scan iterates every shard the
    way scan does (requires redis-cluster-client 0.17.3). Redis::Distributed implements all but
    bless_scan, whose cursor cannot span ring nodes; use bless_scan_each there. (#​1395)
  • Add the set member expiration commands (Redis 8.12): sexpire, spexpire, sexpireat,
    spexpireat, sttl, spttl, sexpiretime, spexpiretime and spersist, with the
    nx:/xx:/gt:/lt: condition options, plus saddex with mnx:/mxx: and the
    ex:/px:/exat:/pxat:/keepttl: expiry options. All are available on
    Redis::Distributed. (#​1405)
  • Add zmove, bzmove and zmovemember (Redis 8.12). Available on Redis::Distributed.
    (#​1411)
  • Add bitrangeintarray (Redis 8.12). Available on Redis::Distributed. (#​1409)
  • Add the array commands (Redis 8.8): arset, arget, armset, armget, argetrange,
    arlen, arcount, ardel, ardelrange, arinsert, arseek, arnext, arlastitems,
    arring, arscan, argrep, arop and arinfo. All are available on Redis::Distributed.
    (#​1371)
  • Add increx with by:, lbound:/ubound:/saturate: and the
    ex:/px:/exat:/pxat:/persist:/enx: expiry options, and xnack (Redis 8.8).
    increx is available on Redis::Distributed. (#​1372)
  • json_set now accepts fpha: to store a numeric array as a packed floating-point array, and
    the sorted set union/intersection commands accept aggregate: "count" (Redis 8.8). (#​1373)
  • Add keyspace notification support: channel builders and a binary-safe parser for the classic
    __keyspace@*/__keyevent@* channels and the Redis 8.8 subkey notification families
    (Redis::KeyspaceNotifications), plus a manager (Redis#keyspace_notifications) that owns a
    dedicated connection, dispatches typed Notification objects to handlers, and automatically
    re-subscribes after connection loss (on_reconnect signals the lossy gap). Enabling
    notify-keyspace-events on the server remains the operator's responsibility. Not supported by
    Redis::Distributed. See specs/keyspace-notifications/user-guide.md. (#​1375)
  • Add the hot key tracking commands (Redis 8.6): hotkeys_start, hotkeys_get, hotkeys_stop
    and hotkeys_reset. A tracking session is state of a single server, so Redis::Cluster and
    Redis::Distributed raise NotImplementedError, also inside pipelined/multi; call them
    on a single node instead. See the README "Hot key tracking (HOTKEYS)" section. (#​1408)
  • xadd now accepts idmp: and idmpauto: for idempotent production, and add xcfgset
    (Redis 8.6). (#​1402)
  • xreadgroup now accepts claim: (Redis 8.4). (#​1401)
  • Add compare-and-set and compare-and-delete support (Redis 8.4): set accepts ifeq:, ifne:,
    ifdeq: and ifdne:, and add delex and digest. Redis::XXH3.hexdigest computes the
    XXH3-64 digest of a value locally in pure Ruby, so ifdeq:/ifdne: need no DIGEST round
    trip. Available on Redis::Distributed. See the README "Compare-and-set (CAS/CAD)" section.
    (#​1393)
  • Add xdelex and xackdel; xadd and xtrim now accept policy: (:keepref, :delref or
    :acked); cluster('slot-stats', ...) replies are reshaped into [slot, Hash] pairs
    (Redis 8.2). (#​1391, #​1392)
  • Add the vector set commands (Redis 8.0): vadd, vcard, vdim, vemb, vlinks, vsim,
    vrem, vismember, vrandmember, vrange (Redis 8.4), vinfo, vsetattr and vgetattr.
    All are available on Redis::Distributed. (#​1382)
  • Add hgetdel, hgetex and hsetex (Redis 8.0). All are available on Redis::Distributed.
    (#​1389)
  • Add hexpireat, hpexpireat, hexpiretime, hpexpiretime and hpersist; hexpire and
    hpexpire now accept the nx:/xx:/gt:/lt: condition options (Redis 7.4). All are
    available on Redis::Distributed. (#​1374)
  • Add waitaof (Redis 7.2). On Redis::Cluster it is sent to every primary and each count in
    the reply is the minimum across primaries; Redis::Cluster.new now accepts
    command_routings: to override the driver's per-command request/response policies. (#​1387)
  • Add Redis functions (Redis 7.0): function, fcall and fcall_ro. All are available on
    Redis::Distributed. (#​1383)
  • Add sort_ro, lcs, sintercard and zintercard (Redis 7.0). All are available on
    Redis::Distributed. (#​1384)
  • info now accepts several sections at once, shutdown accepts save:, now:, force: and
    abort:, xgroup accepts entriesread:, and add xsetid with entriesadded: and
    maxdeletedid: (Redis 7.0). (#​1385)
  • Query Engine vector fields pass every attribute through, so algorithm-specific ones such as
    compression: "SQ8" and training_threshold: (Redis 8.12) need no special handling. (#​1397)
  • Make the constants under Redis, such as the reply-reshaping lambdas and
    Redis::Future::FutureNotReady, shareable, so that commands and pipelines work in non-main
    Ractors. (#​1403)
  • Add redis/ractorize, which freezes Redis::Client::ERROR_MAPPING and
    Redis::Cluster::Client::ERROR_MAPPING so that errors can be translated in non-main Ractors.
    Require it in the main Ractor after anything that adds errors to the mappings. See the README
    "Ractors" section. (#​1403)

Bug fixes

  • Make hset return 0 without calling the server when given an empty hash, instead of raising
    ERR wrong number of arguments for 'hset' command. (#​1290, #​1404)
  • Make Redis::Distributed#multi release the watched key once the transaction runs or raises, so
    that commands on keys stored on other nodes no longer raise CannotDistribute after a watch
    and multi sequence. An explicit #unwatch or another #multi after the transaction still
    works as before. (#​1407)
  • Fix a race where calling unsubscribe/punsubscribe from another thread while the
    subscribed client was concurrently tearing down raised NoMethodError instead of
    Redis::SubscriptionError. (#​1375)
  • With sentinels, errors raised by pipelined and multi are now translated to Redis::*
    errors instead of surfacing as RedisClient::* errors. (#​1396)
  • zrank and zrevrank with with_score: true return nil for a missing key or member
    instead of [nil, nil], and RESP2 nan replies become Float::NAN (Redis 7.2). (#​1388)
  • xautoclaim replies now include a 'deleted' key with the ids that were deleted from the
    stream and dropped from the PEL (Redis 7.0; always [] on 6.2). (#​1386)
  • migrate inside pipelined/multi now falls back to the client's db and timeout instead
    of the pipeline's. (#​1381)
  • himport_prepare snapshots the field names at preparation time, so mutating the strings
    afterwards no longer changes the schema used for automatic re-preparation. (#​1380)
  • ft_aggregate now sends the right LOAD field count when the fields are given as nested
    arrays. (#​1379)
  • In pipelined(exception: false), errors are no longer passed through the reply reshaping
    lambdas, the flag now also applies to multi inside the pipeline, and when EXEC aborts the
    transaction's command futures hold the error instead of staying unresolved. (#​1377)
  • Only fall back to RESP2 when HELLO itself fails with NOPROTO, instead of on any command
    error whose message contains NOPROTO. (#​1376)
  • Redis::HashRing#remove_node filters the ring positions once instead of once per replica.
    (#​1378)

Maintenance

  • Pin redis-client to 0.31.0. (#​1400)
  • Pin redis-cluster-client to 0.18.0; see cluster/CHANGELOG.md for the routing changes it
    brings to Redis::Cluster. (#​1375, #​1395)
  • Document the himport_auto_prepare client option. (#​1370)
  • Add CONTRIBUTORS.md. (#​1410)
SeleniumHQ/selenium (selenium-webdriver)

v4.54.0

=========================

  • Support CDP versions: v156, v157, v158
  • stop the driver service when starting a session fails with any error (#​18333)
  • [build] Automated Browser Version Update (major) with CDP (#​18338)
  • add --diagnose to safaridriver when SE_DEBUG is set (#​18356)
  • fail fast when a driver process exits during startup and stop it when startup fails (#​18357)
  • send driver output to the logger again when it is at debug (#​18358)
  • add local BiDi event listeners to the low-level modules (#​18365)
  • add env to Selenium::Server so the test Grid gets the real HOME for Safari diagnose logs (#​18366)
  • mark Remote::Bridge and Remote::BiDiBridge as @​api private (#​18368)
bblimke/webmock (webmock)

v3.40.0

Compare Source

  • Add support for Curl::Multi (#​535)

    Previously, WebMock didn't see requests sent with Curl::Multi. A handle added with multi.add and sent with multi.perform went to the real server, even when a stub matched it or real connections were disabled, and WebMock didn't record it.

    Now a handle that matches a stub gets the stubbed response during multi.perform, and one that is neither stubbed nor allowed raises WebMock::NetConnectNotAllowedError from multi.add. Allowed requests still run together in curb's own multi loop. WebMock records both, and WebMock.after_request callbacks get both.

    If your tests send Curl::Multi requests to real servers, stub them or allow their hosts, for example with WebMock.disable_net_connect!(allow: "api.example.com"). VCR, hooked into WebMock, now records and replays these requests too, and raises VCR::Errors::UnhandledHTTPRequestError for one that a cassette doesn't have, so record such cassettes again.

    Thanks to Todd Fisher

  • Drop curb callbacks on Curl::Easy#reset for stubbed requests, as curb does

    Previously, a callback such as on_complete, set before reset, still ran for a stubbed request made after it. Curb drops every callback on reset, so a real request didn't run it. If your tests rely on such a callback, set it again after reset.

v3.39.0

Compare Source

  • Fix tracing libraries that wrap HTTPClient failing on stubbed requests (#​1010)

    Previously, for a stubbed request, WebMock's version of HTTPClient's private do_get_block method returned a Thread::Queue instead of the response that HTTPClient's own version returns. Libraries that wrap the method to trace requests, such as Datadog's, read that result as the response.

    It now returns the response, as it already did for real requests.

  • Match and record Net::HTTP URL encoded forms set with set_form (#​959)

    Previously, WebMock saw no body for a request whose form was set with request.set_form([["foo", "bar"]]), because Net::HTTP encodes such a form only when it sends the request. A stub such as with(body: {"foo" => "bar"}) didn't match, and callbacks and VCR recorded the request without its body.

    WebMock now records the body of a URL encoded form given as a hash or an array of pairs, as Net::HTTP encodes it, and leaves sending the request to Net::HTTP. A multipart form, or a form given as another enumerable, which may be read only once, is recorded without a body, as before. If VCR, hooked into WebMock, matches requests on their body, record cassettes that contain such requests again.

  • Fix async-websocket connections failing with WebMock enabled (#​953)

    Previously, connecting with Async::WebSocket::Client raised NoMethodError: undefined method 'acquire' for nil, even to a host that allowed real connections. async-websocket takes a connection from the async-http client's pool, and WebMock's version of the client had no pool.

    The client now hands out its real connection pool when WebMock's settings allow real connections to the host, and raises WebMock::NetConnectNotAllowedError otherwise. WebMock can't stub or record what a library sends over such a connection, and neither can VCR, so with VCR hooked into WebMock, allow the host with WebMock.disable_net_connect!(allow: ...).

  • Match the Cookie header that Typhoeus sends for the cookie option (#​813)

    Previously, Typhoeus.get(url, cookie: "key=value") sent Cookie: key=value, but WebMock recorded the request without it, so a stub with with(headers: {"Cookie" => "key=value"}) didn't match.

    WebMock now records the header, unless the request sets its own Cookie header, which is then the one sent, or uses libcurl's cookie engine with cookiefile, cookiejar or cookielist, which adds its own cookies to it. If VCR, hooked into WebMock, matches requests on their headers, record cassettes that contain such requests again. VCR now records the cookie too, so filter it, for example with filter_sensitive_data, if it is a secret.

  • Fix VCR failing to replay Typhoeus requests when hooked into both Typhoeus and WebMock (#​973)

    Previously, with hook_into :typhoeus, :webmock, VCR warned that "There appears to be a bug in WebMock's after_request hook", and replaying a Typhoeus request from a cassette raised ArgumentError. VCR's Typhoeus hook answered the request before WebMock saw it, and WebMock still passed the request to after_request callbacks, as nil.

    WebMock now leaves out requests it didn't see. On older versions, hook_into :webmock alone records and replays Typhoeus requests too.

  • Run the instrumentation of the http gem 6 for stubbed requests (#​881)

    Previously, with version 6 of the http gem (HTTP.rb), a stubbed request skipped the instrumentation feature, so HTTP.use(instrumentation: {instrumenter: ...}) emitted no request.http events for it. In every version, a stubbed timeout or HTTP::Error emitted no error.http event.

    Stubbed requests now emit the same instrumentation events as real ones. Other features that HTTP.rb 6 runs around a request, such as caching and digest auth, still don't run for stubbed requests.

  • Fix Net::HTTP uploads raising ArgumentError for body streams whose read needs a length (#​644)

    Previously, a request with body_stream set to an object with def read(length, buffer = nil) raised ArgumentError: wrong number of arguments, even with real connections allowed, because WebMock called read without arguments. Net::HTTP itself always passes a length, so the upload worked without WebMock.

    WebMock now reads such a stream in chunks.

  • Fix failure messages raising Encoding::CompatibilityError for bodies in different encodings (#​668)

    Previously, the message for an unstubbed request, or for a failed assert_requested, could raise Encoding::CompatibilityError: incompatible character encodings: BINARY (ASCII-8BIT) and UTF-8 instead of showing the failure. This happened when the message listed a UTF-8 body with non ASCII characters, such as a stub with(body: "café"), next to a binary one, such as an uploaded image.

    Such messages now show the failure, with bytes that aren't valid UTF-8 written as escapes, such as \xFF.

  • Show URI templates, regexps and query options as Ruby in the list of registered stubs (#​938)

    Previously, the registered stubs listed for an unstubbed request put every URI in quotes, so a template stub was shown as stub_request(:get, ""http://localhost:9200/{index}/_search""), a regexp as a string, and a query given to with was written inside the quotes.

    The list now shows stub_request(:get, Addressable::Template.new("http://localhost:9200/{index}/_search")), a regexp as a regexp, and a query that isn't part of the URL as with(query: ...). The suggested stub for the unmatched request is unchanged.

  • Leave out of the body diff the values that a regexp in a stub's body pattern matches (#​840)

    Previously, when a request didn't match a stub such as with(body: {"email" => /@/}, headers: {"X-Token" => "1"}) because of its headers, the body diff in the message still listed ["~", "email", "milo@carter.net", /@/], so the regexp looked like the cause.

    The diff now leaves out the values that such a regexp matches.

  • Leave the User-Agent header out of the suggested stub for an unmatched request (#​596)

    Previously, the stub that WebMock suggests, as in "You can stub this request with the following snippet", required the request's User-Agent, such as 'User-Agent'=>'Ruby' or one with the client's version. A stub pasted from it stopped matching when the client was upgraded or the tests ran on another platform.

    The suggestion now leaves User-Agent out, so it matches whatever the client sends. The message still shows the request with all its headers.

  • Fix loading a YAML or Marshal dump of an em-http-request client while WebMock is enabled (#​729)

    Previously, YAML.unsafe_load(client.to_yaml) or Marshal.load(Marshal.dump(client)) raised ArgumentError: undefined class/module EventMachine::HttpClient::CookieJar, because WebMock replaces EventMachine::HttpClient with a subclass.

    Such a dump now loads. A dump made while WebMock is enabled names WebMock's subclass, so load it where WebMock is loaded.

  • Convert a status given as a string of digits, and deprecate statuses such as :ok (#​802)

    Previously, to_return(status: "201") gave the code "2" in Net::HTTP, because WebMock kept the string and adapters used its first character as the code. to_return(status: :ok) gave the code "o", or 0 in some clients, without an error.

    A string of digits is now converted to a number. A status such as :ok, "ok" or 200.0 now prints a deprecation warning, and WebMock 4.0 will raise ArgumentError for it. Use a number such as 200, or Rack::Utils.status_code(:ok) in a Rack app. A code and reason pair such as [200, "OK"] works as before.

  • Keep each cookie of a stubbed response with several Set-Cookie headers, in order (#​470)

    Previously, a raw response such as to_return(File.read("response.txt")) with two Set-Cookie lines gave clients one comma joined Set-Cookie value, which can't be split back, since a cookie such as a=1; Expires=Wed, 21 Oct 2026 07:28:00 GMT contains a comma. A stub such as to_return(headers: {"Set-Cookie" => ["sid=old; Max-Age=0", "sid=new"]}) gave the cookies sorted, so a client applied sid=old; Max-Age=0 last and deleted the cookie, and Curb got them on one header line.

    Each client now gets the cookies as it would from a server sending these lines: separately, in the given order, on lines of their own in Curb, and joined in headers["Set-Cookie"] and listed in response[:cookies] in Excon. Other repeated response headers are unchanged.

    A test that expected the cookies of such a stub joined, or sorted, now gets them as a real server would send them. For a real response with several cookies, after_request callbacks, and so VCR, now get them in the order the server sent them instead of sorted, and for Excon each cookie instead of the joined header, so recordings and snapshots of them can change.

  • Point out when a request URL and a stub's URL differ in a slash at the end of the path (#​864)

    WebMock treats http://example.com/users and http://example.com/users/ as different URLs, since servers can too. Previously, when a request missed a stub because of that slash, the message didn't say why.

    The registered stubs listed for an unstubbed request, and the message of a failed assert_requested or have_been_made, now point out the slash. Matching is unchanged.

v3.38.0

Compare Source

  • Allow or disable real requests only within a block (#​1110)

    WebMock.allow_net_connect! and WebMock.disable_net_connect! now take a block, for example WebMock.disable_net_connect!(allow: "api.example.com") { ... }. The settings apply only while the block runs. When it ends, even with an exception, the settings from before the call come back.

    Previously, either method ignored a block. In WebMock.allow_net_connect! { Net::HTTP.get(uri) }, the request never ran, and real requests stayed allowed until the settings changed again. Code in such a block now runs.

    The settings are global, so other threads see them while the block runs. Don't run such blocks in several threads at once, because they can restore each other's settings in the wrong order.

    Thanks to Yegor Bugayenko for the suggestion

  • Record the form Content-Type of Typhoeus requests with a hash body (#​463)

    Previously, Typhoeus.post(url, body: {page: 2}) sent Content-Type: application/x-www-form-urlencoded, but WebMock recorded the request without it. A stub with with(body: {page: 2}) didn't match, and neither did a stub that required that header.

    WebMock now records the header whenever Typhoeus sends it for a hash body: for a POST, even with an empty hash, and for any other method except PUT and HEAD, unless the form is empty.

    A request that sets its own Content-Type keeps it. Multipart forms, such as a hash with a file or a request with multipart: true, still have no Content-Type recorded, except an empty POST, which Typhoeus sends URL encoded even then. Requests with nobody: true have none either.

    Callbacks, WebMock.executed_requests and VCR see the header too, and the stub suggested for an unmatched request includes it and shows a form body as a hash. Update assertions that compare all the headers of such a request. If VCR, hooked into WebMock, matches requests on their headers, record the affected cassettes again.

  • Keep a with block when with is called again with options only

    Previously, stub_request(:post, url).with { |request| request.body == "yes" }.with(headers: {"X-A" => "1"}) dropped the block, so the stub also matched a request with that header and the body "no". A later with call already kept the options it didn't give, such as body:, and now keeps the block too. The same applies to a_request.

    A stub or request expectation that matched only because the block was dropped no longer matches. Calling with again with a block, or with an option given before, still replaces it.

  • Match numbers and boolean values in query patterns (#​371)

    Previously, with(query: hash_including(page: 2)) never matched ?page=2, because query values in a request are strings and WebMock compared them with the Integer 2. A plain hash had the same problem when the stub's URI was a regexp, a template or a lambda, as in stub_request(:get, /example/).with(query: {page: 2}). With a string URI, an array of numbers such as {tag: [2, 10]} didn't match ?tag[]=2&tag[]=10.

    WebMock now compares numbers, true and false in query patterns as strings, including inside nested hash_including and hash_excluding matchers.

    This also makes hash_excluding work with such values. Previously, with(query: hash_excluding(page: 2)) matched ?page=2. A test that passed only because of this will now fail.

  • Fix nested hash_including and hash_excluding with symbol keys in RSpec ([#​900](https://

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-b-sycmj4 October 21, 2026 01:55 Inactive
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch from 9f43986 to f49a2c1 Compare October 21, 2026 22:47
@renovate renovate Bot changed the title Update bundler non-major dependencies to v1.201.0 Update bundler non-major dependencies to v1.202.0 Oct 21, 2026
@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-b-sycmj4 October 21, 2026 22:48 Inactive
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch from f49a2c1 to 7816eb8 Compare October 22, 2026 06:18
@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-b-sycmj4 October 22, 2026 06:18 Inactive
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch from 7816eb8 to 5799ef1 Compare October 22, 2026 19:12
@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-b-sycmj4 October 22, 2026 19:13 Inactive
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch from 5799ef1 to 079f8ea Compare October 22, 2026 23:21
@renovate renovate Bot changed the title Update bundler non-major dependencies to v1.202.0 Update bundler non-major dependencies to v1.203.0 Oct 22, 2026
@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-b-sycmj4 October 22, 2026 23:21 Inactive
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch from 079f8ea to 7bb501d Compare October 26, 2026 09:34
@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-b-sycmj4 October 26, 2026 09:34 Inactive
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch from 7bb501d to 7aa5182 Compare October 27, 2026 00:06
@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-b-sycmj4 October 27, 2026 00:06 Inactive
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch from 7aa5182 to 631a1b1 Compare October 28, 2026 05:05
@mitlib
mitlib had a problem deploying to timdex-api-p-renovate-b-sycmj4 October 28, 2026 05:05 Failure
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch from 631a1b1 to 8a508cf Compare October 28, 2026 20:11
@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-b-sycmj4 October 28, 2026 20:12 Inactive
@renovate renovate Bot changed the title Update bundler non-major dependencies to v1.203.0 Update bundler non-major dependencies to v1.204.0 Oct 28, 2026
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch from 8a508cf to 0fb85a4 Compare October 29, 2026 17:11
@renovate renovate Bot changed the title Update bundler non-major dependencies to v1.204.0 Update bundler non-major dependencies to v4.26.0 Oct 29, 2026
@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-b-sycmj4 October 29, 2026 17:11 Inactive
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch from 0fb85a4 to 8620221 Compare October 29, 2026 22:35
@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-b-sycmj4 October 29, 2026 22:35 Inactive
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch from 8620221 to 9c1efb0 Compare October 30, 2026 13:48
@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-b-sycmj4 October 30, 2026 13:49 Inactive
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch from 9c1efb0 to 5661042 Compare October 30, 2026 21:50
@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-b-sycmj4 October 30, 2026 21:50 Inactive
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch from 5661042 to c571827 Compare November 5, 2026 00:01
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch 7 times, most recently from a3a7f7c to 895f3ea Compare November 13, 2026 21:04
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch 7 times, most recently from a542d7d to ae814e5 Compare November 19, 2026 06:27
@renovate renovate Bot changed the title Update bundler non-major dependencies to v4.26.0 Update bundler non-major dependencies to v4.26.0 - autoclosed Nov 19, 2026
@renovate renovate Bot closed this Nov 19, 2026
@renovate
renovate Bot deleted the renovate/bundler-minor-patch branch November 19, 2026 16:29
@renovate renovate Bot changed the title Update bundler non-major dependencies to v4.26.0 - autoclosed Update bundler non-major dependencies to v1.216.0 Nov 21, 2026
@renovate renovate Bot reopened this Nov 21, 2026
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch 3 times, most recently from da74d40 to b95ffd8 Compare November 21, 2026 20:43
@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-b-hbdnmk November 21, 2026 20:43 Inactive
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch from b95ffd8 to f0b7ef6 Compare November 22, 2026 02:08
@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-b-hbdnmk November 22, 2026 02:08 Inactive
@renovate
renovate Bot force-pushed the renovate/bundler-minor-patch branch from f0b7ef6 to 11cf0f7 Compare November 23, 2026 21:18
@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-b-hbdnmk November 23, 2026 21:19 Inactive
@JPrevost
JPrevost merged commit d759981 into main Nov 24, 2026
2 checks passed

This branch was previously deployed

2 inactive (1 outdated) deployments
timdex-api-p-renovate-b-hbdnmk — 11cf0f7f Deployed Nov 23, 2026 by mitlib
timdex-api-p-renovate-b-sycmj4 — 5661042e Deployed Oct 30, 2026 by mitlib
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