From fc6a2ab897a069d861adbc1c88e51b2cf8aa88ac Mon Sep 17 00:00:00 2001 From: Bartosz Blimke Date: Sun, 25 Feb 2024 23:51:09 +0100 Subject: [PATCH] Version 3.23.0 --- CHANGELOG.md | 7 ++++++- lib/webmock/version.rb | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f16fe083..b8e7c6ce 100644 --- a/CHANGELOG.md +++ b/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. diff --git a/lib/webmock/version.rb b/lib/webmock/version.rb index b51dfdd0..ba520a1a 100644 --- a/lib/webmock/version.rb +++ b/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