All Versions
Latest Version
Avg Release Cycle
21 days
Latest Release

Changelog History
Page 10

  • v1.14.0 Changes

    • Handling non UTF-8 characters in query params.

    Thanks to Florian DΓΌtsch for reporting the issue.

    • βž• Added support for request_block param in Excon

    Thanks to Dmitry Gutov for reporting the issue.

    • πŸ›  Fixed compatibility with latest Curb

    Thanks to Ian Lesperance and Matthew Horan

    • Triggering errbacks assynchronously in em-http-request adapter.

    Thanks to Ian Lesperance and Matthew Horan

    • Handling query params with a hashes nested inside arrays.

    Thanks to Ian Asaff

    • πŸ”„ Changed NetConnectNotAllowedError to inherit from Exception to allow it to bubble up into a test suite.

    Thanks to Daniel van Hoesel

    • HTTPClient adapter is thread safe.

    Thanks to Tom Beauvais

  • v1.13.0 Changes

    • Net::HTTP::Persistent compatibility. WebMock doesn't disconnect previously started connections upon a request anymore.
  • v1.12.3 Changes

    • πŸ›  Fixed issue with handling Addressable::URI with query params passed to Net::HTTP.get_response

    Thanks to Leif Bladt

    • πŸ›  Fixed HTTPClient adapter to not raise an error if a request with multipart body is executed.
  • v1.12.2 Changes

    • πŸ›  Fixed issue with handling request.path when Addressable::URI is passed to #request instead of URI with Ruby 2.0.

    Thanks to Leif Bladt

    • Accept integers as query param values in request stubs

    i.e. stub_request(:get, /.*/).with(:query => {"a" => 1})

    Thanks to Mitsutaka Mimura

  • v1.12.1 Changes

    • πŸ›  Fixed Minitest < 5.0 compatibility

    Thanks to Alex Tomlins for reporting the issue.

  • v1.12.0 Changes

    • Not using Gem spec anymore to check loaded Curb version.

    • WebMock.disable_net_connect! now accepts array of regexps as allow param:

    i.e. WebMock.disable_net_connect!(:allow => [/, /])

    Thanks to Bastien Vaucher

    • πŸ›  Fixed on_header Curb callback behaviour in Curb adapter

    Thanks to Joel Chippindale

    • πŸ›  Fixed aws-sdk compatibility with Ruby 2.0, by supporting continue_timeout accessor on Net::HTTP socket.

    Thanks to Lin Jen-Shin

    • πŸ›  Fixed WebMock::Server to not give "log writing failed. can't be called from trap context" warning with Ruby 2.0

    Thanks to Murahashi Sanemat Kenichi

    • βž• Added support for EM-HTTP-Request streaming data off disk feature.

    Thanks to Lin Jen-Shin

    • βž• Added compatibility with Minitest 5

    Thanks to Tim Kurvers

    • Excon >= 0.22 compatibility.

    • πŸ›  README has nice sytnax hightlighting and fixed code styling!

    Thanks to Ilya Vassilevsky

    • πŸš… Compatibility with Rails 4 rack.session.options

    Thanks to gotwalt

  • v1.11.0 Changes

    • πŸ‘ Excon >= 0.17 support.

    Thanks to Nathan Sutton for reporting this issue and to Wesley Beary and Myron Marston for help.

  • v1.10.2 Changes

    • '+' in request path is treated as plus, but in query params always as a space.
  • v1.10.1 Changes

    • πŸ›  '+' in request body is still treated as a space. This fixes a bug introduced in previous version.

    Thanks to Erik Michaels-Ober for reporting this problem.

    • πŸ›  Fixed issue: response body declared as Proc was not evaluated again on subsequent requests.

    Thanks to Rick Fletcher for reporting this issue.

  • v1.10.0 Changes

    • '+' in query params is not treated as space anymore and is encoded as %2B

    Thanks to goblin for reporting this issue.

    • added remove_request_stub method to the api to allow removing unused stubs i.e.

      stub_get = stub_request(:get, "")
    • assert_requested and assert_not_requested raise an error if a stub object is provided together with a block.