Skip to content

Commit

Permalink
Version 3.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bblimke committed Feb 6, 2024
1 parent 4489297 commit 0e3c8fb
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
22 changes: 22 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,27 @@
# Changelog

# 3.20.0

* Optimised EmHttpRequestAdapter performance.

Thanks to [Ricardo Trindade](https://github.com/RicardoTrindade)

* Removed runtime dependency on base64.

Thanks to [Earlopain](https://github.com/Earlopain)

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

Thanks to [James Brown](https://github.com/Roguelazer)

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

Thanks to [Kazuhiro NISHIYAMA](https://github.com/znz)

* 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

* 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.
Expand Down
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -1189,6 +1189,10 @@ People who submitted patches and new features or suggested improvements. Many th
* Yuki Inoue
* Brandon Weaver
* Josh Nichols
* Ricardo Trindade
* Earlopain
* James Brown
* Kazuhiro NISHIYAMA

For a full list of contributors you can visit the
[contributors](https://github.com/bblimke/webmock/contributors) page.
Expand Down
2 changes: 1 addition & 1 deletion lib/webmock/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module WebMock
VERSION = '3.19.1' unless defined?(::WebMock::VERSION)
VERSION = '3.20.0' unless defined?(::WebMock::VERSION)
end

0 comments on commit 0e3c8fb

Please sign in to comment.