Skip to content

Commit

Permalink
Version 3.23.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bblimke committed Feb 25, 2024
1 parent 43717a5 commit fc6a2ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
@@ -1,10 +1,15 @@
# Changelog

# 3.23.0

* Fixed HTTP.rb adapter to support streaming real responses when WebMock is enabled.

Thanks to [Viacheslav Nepomniashchikh](https://github.com/aka-nez) for reporting and investigating this [issue](https://github.com/bblimke/webmock/issues/1017).

# 3.22.0

* Addressed an issue in the HTTPClient adapter where memoized stubbed responses and memoized request_signatures were incorrectly persisted between subsequent requests ([#1019](https://github.com/bblimke/webmock/issues/1019)). The implementation of a more robust thread-safety solution by [Tom Beauvais](https://github.com/tbeauvais) in [PR #300](https://github.com/bblimke/webmock/pull/300) not only resolved the memoization problem but also enhanced the overall thread safety of the adapter. This update ensures that stubbed responses and request signatures are correctly isolated to individual requests, improving both consistency and thread safety.


# 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.
Expand Down
2 changes: 1 addition & 1 deletion lib/webmock/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module WebMock
VERSION = '3.22.0' unless defined?(::WebMock::VERSION)
VERSION = '3.23.0' unless defined?(::WebMock::VERSION)
end

0 comments on commit fc6a2ab

Please sign in to comment.