diff --git a/CHANGELOG.md b/CHANGELOG.md index 61b0f4261..13a89d374 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## 3.5.0 + + * Ruby 2.6.0 support + + Thanks to [Arkadiy Tetelman](https://github.com/arkadiyt) + + * Added `WebMock.reset_executed_requests!` method. + + stub_get = stub_request(:get, "www.example.com") + Net::HTTP.get('www.example.com', '/') + WebMock::RequestRegistry.instance.times_executed(stub_get.request_pattern) # => 1 + reset_executed_requests! + WebMock::RequestRegistry.instance.times_executed(stub_get.request_pattern) # => 0 + + Thanks to [Olia Kremmyda](https://github.com/oliakremmyda) + + * Performance improvements + + Thanks to [Pavel Rosický](https://github.com/ahorek) + ## 3.4.2 * Fixed `rbuf_fill` in Net::HTTP adapter to be thread-safe diff --git a/README.md b/README.md index cc21a0bb7..5daa83d9b 100644 --- a/README.md +++ b/README.md @@ -1080,6 +1080,9 @@ People who submitted patches and new features or suggested improvements. Many th * Lukas Pokorny * Arkadiy Tetelman * Kazato Sugimoto +* Olle Jonsson +* Pavel Rosický +* Geremia Taglialatela 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 983bb2f15..87c04e5ff 100644 --- a/lib/webmock/version.rb +++ b/lib/webmock/version.rb @@ -1,3 +1,3 @@ module WebMock - VERSION = '3.4.2' unless defined?(::WebMock::VERSION) + VERSION = '3.5.0' unless defined?(::WebMock::VERSION) end