All Versions
Latest Version
Avg Release Cycle
21 days
Latest Release

Changelog History
Page 8

  • v1.20.0 Changes

  • v1.19.0 Changes

    • Fixed issue with Excon adapter giving warning message when redirects middleware was enabled.

      Thanks to Theo Hultberg for reporting that.

    • Fixed issue with undefined method 'valid_request_keys' for Excon::Utils:Module

      Thanks to Pablo Jairala

    • Fixed query mapper to encode 'one' => ['1','2'] as 'one[]=1&one[]=2'.

      Thanks to Insoo Buzz Jung

    • Improved cookies support for em-http-request

      Thanks to Carlos Alonso Pérez

    • Fix HTTP Gem adapter to ensure uri attribute is set on response object.

      Thanks to Aleksey V. Zapparov

    • Fixed HTTPClient adapter. The response header now receives request_method, request_uri, and request_query transferred from request header

      Thanks to trlorenz

    • Query mapper supports nested data structures i.e. {"first" => [{"two" => [{"three" => "four"}, "five"]}]}

      Thanks to Alexander Simonov

    • Fixed compatibility with latest versions of Excon which don't define VALID_REQUEST_KEYS anymore.

      Thanks to Pablo Jairala

    • Request method is always a symbol is request signatures. This fixes the issue of WebMock not matching Typhoeus requests with request method defined as string.

      Thanks to Thorbjørn Hermanse

    • Stubbing instructions which are displayed when no matching stub is found, can be disabled with Config.instance.show_stubbing_instructions = false

      Thanks to Mark Lorenz

    • Notation used for mapping query strings to data structure can be configured i.e. WebMock::Config.instance.query_values_notation = :subscript. This allows setting :flat_array notation which supports duplicated parameter names in query string.

      Thanks to tjsousa

  • v1.18.0 Changes

    • ⚡️ Updated dependency on Addressable to versions >= 2.3.6

    • ➕ Added support for matching uris using RFC 6570 (URI Templates)

      uri_template = "{id}/"
      stub_request(:any, uri_template)

    Thanks to Max Lincoln

    • 🛠 Fixed content length calculation for Rack responses with UTF8 body

    Thanks to Oleg Gritsenko

    • ➕ Add missing Curl::Easy aliases

    Thanks to Hwan-Joon Choi

    • HTTP Gem >= 0.6.0 compatibility

    Thanks to Aleksey V. Zapparov

    • ✅ Minitest 4 and 5 compatibility.

    Thanks to SHIBATA Hiroshi

  • v1.17.4 Changes

    • ⚡️ Update matchers for RSpec 3's matcher protocol

    Thanks to Rob Olson

  • v1.17.3 Changes

    • 🛠 Fixed issue with Rack response removing 'Content-Type' header

    Thanks to Bo Jeanes and Matthew Conway

  • v1.17.2 Changes

    • 👌 Support for chunked responses in Curb

    Thanks to Zachary Belzer

    • 🛠 Fixed handling of request body passed as a hash to

    Thanks to Mason Chang for reporting.

  • v1.17.1 Changes

    • ➕ Added missing license statements.

    Thanks to Praveen Arimbrathodiyil

  • v1.17.0 Changes

    • 👍 HTTP gem support!

    Thanks to Aleksey V. Zapparov

    • 🛠 Limited Excon gem requirement to version < 0.30 until the compatibility with version > 0.30.0 is fixed.

    Thanks to Aleksey V. Zapparov

    • 🛠 Fixed issue where empty query key caused a TypeError

    Thanks to Jon Rowe

    • Handling Typhoeus on_headers and on_body params.

    Thanks to Matt Burke

  • v1.16.1 Changes

    • 🛠 Fixed "NameError: uninitialized constant WebMock::Response::Pathname" issue.

    Thanks to Alex Stupakow and Karen Wang for the fix.

  • v1.16.0 Changes

    • 👍 Allow a Pathname to be passed as a Response body

      stub_request(:get, /
        body: Rails.root.join('test/fixtures/foo.txt')

    Thanks to Ben Pickles

    • hash_including matcher can be initialized with empty keys to match any values.

      stub_request(:post, "").with(:body => hash_including(:a, :b => {'c'}))'', '{"a":"1","b":"c"}', :content_type => 'application/json')

    Thanks to Stefano Uliari