Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update webmock 3.14.0 → 3.20.0 (minor) #207

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Feb 7, 2024

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ webmock (3.14.0 → 3.20.0) · Repo · Changelog

Release Notes

3.20.0 (from changelog)

  • Optimised EmHttpRequestAdapter performance.

    Thanks to Ricardo Trindade

  • Removed runtime dependency on base64.

    Thanks to Earlopain

  • Typhoeus::Response objects constructed from stubbed responses now have all timing attributes set to 0.0.

    Thanks to James Brown

  • Optimised WebMock::Util::Headers by removing redundant freeze invocations.

    Thanks to Kazuhiro NISHIYAMA

  • The default stubbed response body, which is an empty String, is unfrozen.

  • When building signatures of requests made by http.rb, the request body encoding is now preserved.

3.19.1 (from changelog)

  • When passing a Proc or lambda as response body to to_return_json, the body is evaluated at the time of request and not at the time of to_return_json method invocation.

    Thanks to Jason Karns for reporting.

3.19.0 (from changelog)

  • When passing a Proc or lambda as response body to to_return_json, the body is evaluated at the time of request and not at the time of to_return_json method invocation.

    Thanks to Jason Karns for reporting.

  • Do not alter real (non-stubbed) request headers when handling em-http-request requests.

    Thanks to Yoann Lecuyer

  • Fix matching stubs with HashExcludingMatcher

    Thanks to Lucas Arnaud

  • Remove development and test files from the gem package

    Thanks to Orien Madgwick

  • Fix supported http client gem version checks.

    Thanks to Marc Rohloff and Roman Stražanec

  • Non-string body passed to #to_return_json is now converted to JSON string.

    Thanks to inkstak

  • [::1] is recognised as localhost e.g when passing allow_localhost option to disable_net_connect!

    Thanks to Yuki Inoue

  • Optimized normalize_headers for performance

    Thanks to Brandon Weaver

  • Added Frozen string literal to files to optimise memory usage

    Thanks to Josh Nichols

3.18.1 (from changelog)

  • Reverted simplified connection handing in Net::HTTP adapter due to #999

3.18.0 (from changelog)

  • Net::BufferedIO is not replaced anymore.

    Thanks to Ray Zane

  • Simplified connection handing in Net::HTTP adapter.

    Thanks to Ray Zane

3.17.1 (from changelog)

3.17.0 (from changelog)

  • Minimum required Ruby version is 2.3

    Thanks to Go Sueyoshi

  • When using Net::HTTP, stubbed socket StubSocket#close and StubSocket#closed? behave more like the real sockets.

    Thanks to Ray Zane

  • Added peeraddr, ssl_version and cipher methods to stubbed sockets used by Net::HTTP.

    Thanks to Ray Zane

  • Added support for matching top-level array in JSON request body.

    E.g.

    stub_request(:post, 'www.example.com').with(body: [{a: 1}])
    

    Thanks to Cedric Sohrauer

3.16.2 (from changelog)

  • Minimum required Ruby version is 2.0.

3.16.0 (from changelog)

  • Fix leaky file descriptors and reuse socket for persistent connections.

    Thanks to Ray Zane

  • Allow specifying for what URIs or hosts, Net::HTTP should connect on start.

    Thanks to Ray Zane

3.15.2 (from changelog)

  • Minimum required Ruby version is 2.0.

3.15.0 (from changelog)

  • fixed async-http adapter on Windows

    Thanks to Pavel Rosický

  • Support for http.rb >= 5.0.2

    Thanks to ojab

  • Curb adapter supports headers with : character in the header value

    Thanks to Giorgio Gambino

  • Support for matching body of JSON or application/x-www-form-urlencoded requests with content type header including charset.

    Thanks to Timmitry

  • Prevent double-wrapping http.rb features on non-stubbed requests

    Thanks to Michael Fairley

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ addressable (indirect, 2.8.0 → 2.8.6) · Repo · Changelog

Release Notes

2.8.6 (from changelog)

  • Memoize regexps for common character classes (#524)

2.8.5 (from changelog)

  • Fix thread safety issue with encoding tables (#515)
  • Define URI::NONE as a module to avoid serialization issues (#509)
  • Fix YAML serialization (#508)

2.8.4 (from changelog)

  • Restore Addressable::IDNA.unicode_normalize_kc as a deprecated method (#504)

2.8.3 (from changelog)

  • Fix template expand level 2 hash support for non-string objects (#499, #498)

2.8.2 (from changelog)

  • Improve cache hits and JIT friendliness (#486)
  • Improve code style and test coverage (#482)
  • Ensure reset of deferred validation (#481)
  • Resolve normalization differences between IDNA::Native and IDNA::Pure (#408, #492)
  • Remove redundant colon in Addressable::URI::CharacterClasses::AUTHORITY regex (#438) (accidentally reverted by #449 merge but added back in #492)

2.8.1 (from changelog)

  • refactor Addressable::URI.normalize_path to address linter offenses (#430)
  • remove redundant colon in Addressable::URI::CharacterClasses::AUTHORITY regex (#438)
  • update gemspec to reflect supported Ruby versions (#466, #464, #463)
  • compatibility w/ public_suffix 5.x (#466, #465, #460)
  • fixes "invalid byte sequence in UTF-8" exception when unencoding URLs containing non UTF-8 characters (#459)
  • Ractor compatibility (#449)
  • use the whole string instead of a single line for template match (#431)
  • force UTF-8 encoding only if needed (#341)

Does any of this look wrong? Please let us know.

↗️ crack (indirect, 0.4.5 → 0.4.6) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 13 commits:

↗️ hashdiff (indirect, 1.0.1 → 1.1.0) · Repo · Changelog

Release Notes

1.1.0 (from changelog)

  • Add ignore_keys option (#86 @MatzFan)
  • Remove pinned version of rake < 11
  • Bump rspec dep ~> 3.5
  • Bump rubocop dep >= 1.52.1
  • Bump rubocop-rspec dep > 1.16.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 5 commits:

↗️ public_suffix (indirect, 4.0.6 → 5.0.4) · Repo · Changelog

Release Notes

5.0.4 (from changelog)

Changed

5.0.3 (from changelog)

Fixed

  • Fixed automated release workflow.

5.0.1 (from changelog)

Changed

  • Updated definitions.

5.0.0 (from changelog)

Changed

  • Minimum Ruby version is 2.6

  • Updated definitions.

4.0.7 (from changelog)

Fixes

  • Fixed YARD rake task (GH-179)

Changed

  • Updated definitions.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ rexml (indirect, 3.2.5 → 3.2.6) · Repo · Changelog

Release Notes

3.2.6

Improvements

  • Required Ruby 2.5 or later explicitly.
    GH-69
    [Patch by Ivo Anjo]

  • Added documentation for maintenance cycle.
    GH-71
    [Patch by Ivo Anjo]

  • Added tutorial.
    GH-77
    GH-78
    [Patch by Burdette Lamar]

  • Improved performance and memory usage.
    GH-94
    [Patch by fatkodima]

  • REXML::Parsers::XPathParser#abbreviate: Added support for
    function arguments.
    GH-95
    [Reported by pulver]

  • REXML::Parsers::XPathParser#abbreviate: Added support for string
    literal that contains double-quote.
    GH-96
    [Patch by pulver]

  • REXML::Parsers::XPathParser#abbreviate: Added missing / to
    :descendant_or_self/:self/:parent.
    GH-97
    [Reported by pulver]

  • REXML::Parsers::XPathParser#abbreviate: Added support for more patterns.
    GH-97
    [Reported by pulver]

Fixes

  • Fixed a typo in NEWS.
    GH-72
    [Patch by Spencer Goodman]

  • Fixed a typo in NEWS.
    GH-75
    [Patch by Andrew Bromwich]

  • Fixed documents.
    GH-87
    [Patch by Alexander Ilyin]

  • Fixed a bug that Attriute convert ' and &apos; even when
    attribute_quote: :quote is used.
    GH-92
    [Reported by Edouard Brière]

  • Fixed links in tutorial.
    GH-99
    [Patch by gemmaro]

Thanks

  • Ivo Anjo

  • Spencer Goodman

  • Andrew Bromwich

  • Burdette Lamar

  • Alexander Ilyin

  • Edouard Brière

  • fatkodima

  • pulver

  • gemmaro

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 25 commits:

🆕 bigdecimal (added, 3.1.6)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Feb 7, 2024
Copy link
Contributor Author

depfu bot commented Feb 22, 2024

Closed in favor of #208.

@depfu depfu bot closed this Feb 22, 2024
@depfu depfu bot deleted the depfu/update/webmock-3.20.0 branch February 22, 2024 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants