diff --git a/CHANGELOG.md b/CHANGELOG.md index 6438e597..f16fe083 100644 --- a/CHANGELOG.md +++ b/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. diff --git a/lib/webmock/version.rb b/lib/webmock/version.rb index b16ee933..b51dfdd0 100644 --- a/lib/webmock/version.rb +++ b/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