Skip to content

Commit

Permalink
Version 3.21.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bblimke committed Feb 20, 2024
1 parent f7080b5 commit d209ee1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
@@ -1,9 +1,17 @@
# Changelog

# 3.21.2

* Corrected type checking in `WebMock::Response#assert_valid_body!` to accurately recognize `Hash` objects. Additionally, improved the clarity of the error message for unsupported body types, guiding users towards proper usage.

Thanks to [Jake Robb](https://github.com/jakerobb) for reporting.

# 3.21.1

* The stubbed Net::HTTPResponse#uri now returns request.uri, aligning it with the behavior of an actual Net::HTTPResponse.

Thanks to [Abe Voelker](https://github.com/abevoelker) for reporting and to [Victor Maslov](https://github.com/Nakilon) and [Gio Lodi](https://github.com/mokagio) for the suggested solution.

# 3.21.0

* Don't use deprecated Rack::VERSION for Rack >= 3
Expand Down Expand Up @@ -192,7 +200,7 @@

* Fixed async-http adapter to only considered requests as real if they are real.

Thanks to Thanks to [Tony Schneider](https://github.com/tonywok) and [Samuel Williams](https://github.com/ioquatix)
Thanks to [Tony Schneider](https://github.com/tonywok) and [Samuel Williams](https://github.com/ioquatix)

# 3.11.2

Expand Down
2 changes: 1 addition & 1 deletion lib/webmock/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module WebMock
VERSION = '3.21.1' unless defined?(::WebMock::VERSION)
VERSION = '3.21.2' unless defined?(::WebMock::VERSION)
end

0 comments on commit d209ee1

Please sign in to comment.