From d707719285f85b08266c750f1ea315d553934fc5 Mon Sep 17 00:00:00 2001 From: Bartosz Blimke Date: Sat, 26 Aug 2023 09:33:06 +0200 Subject: [PATCH] Version 3.19.0 --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++++ README.md | 8 ++++++++ lib/webmock/version.rb | 2 +- 3 files changed, 43 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db4671e6..0261324f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,39 @@ # Changelog +# 3.19.0 + + * Do not alter real (non-stubbed) request headers when handling em-http-request requests. + + Thanks to [Yoann Lecuyer](https://github.com/ylecuyer) + + * Fix matching stubs with HashExcludingMatcher + + Thanks to [Lucas Arnaud](https://github.com/lucasarnaud) + + * Remove development and test files from the gem package + + Thanks to [Orien Madgwick](https://github.com/orien) + + * Fix supported http client gem version checks. + + Thanks to [Marc Rohloff](https://github.com/marcrohloff) and [Roman Stražanec](https://github.com/romanstrazanec) + + * Non-string body passed to #to_return_json is now converted to JSON string. + + Thanks to [inkstak](https://github.com/inkstak) + + * `[::1]` is recognised as localhost e.g when passing `allow_localhost` option to `disable_net_connect!` + + Thanks to [Yuki Inoue](https://github.com/Yuki-Inoue) + + * Optimized `normalize_headers` for performance + + Thanks to [Brandon Weaver](https://github.com/baweaver) + + * Added Frozen string literal to files to optimise memory usage + + Thanks to [Josh Nichols](https://github.com/technicalpickles) + # 3.18.1 * Reverted simplified connection handing in Net::HTTP adapter due to https://github.com/bblimke/webmock/issues/999 diff --git a/README.md b/README.md index 38d6d609..7e816215 100644 --- a/README.md +++ b/README.md @@ -1181,6 +1181,14 @@ People who submitted patches and new features or suggested improvements. Many th * Cedric Sohrauer * Akira Matsuda * Mark Spangler +* Henrik Nyh +* Yoann Lecuyer +* Lucas Arnaud +* Marc Rohloff +* inkstak +* Yuki Inoue +* Brandon Weaver +* Josh Nichols For a full list of contributors you can visit the [contributors](https://github.com/bblimke/webmock/contributors) page. diff --git a/lib/webmock/version.rb b/lib/webmock/version.rb index cb735ef2..9ae4420f 100644 --- a/lib/webmock/version.rb +++ b/lib/webmock/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module WebMock - VERSION = '3.18.1' unless defined?(::WebMock::VERSION) + VERSION = '3.19.0' unless defined?(::WebMock::VERSION) end