Skip to content

Commit

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

# 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.21.2' unless defined?(::WebMock::VERSION)
VERSION = '3.22.0' unless defined?(::WebMock::VERSION)
end

0 comments on commit 9c18b6c

Please sign in to comment.