diff --git a/CHANGELOG.md b/CHANGELOG.md index 107e4c0f55..3b269f7b1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 1.10.0 (2021-03-01) + ### New features * [#190](https://github.com/rubocop/rubocop-performance/pull/190): Add new `Performance/RedundantSplitRegexpArgument` cop. ([@mfbmina][]) diff --git a/lib/rubocop/performance/version.rb b/lib/rubocop/performance/version.rb index 2f4f2209a9..c67ef22b54 100644 --- a/lib/rubocop/performance/version.rb +++ b/lib/rubocop/performance/version.rb @@ -4,7 +4,7 @@ module RuboCop module Performance # This module holds the RuboCop Performance version information. module Version - STRING = '1.9.2' + STRING = '1.10.0' def self.document_version STRING.match('\d+\.\d+').to_s diff --git a/relnotes/v1.10.0.md b/relnotes/v1.10.0.md new file mode 100644 index 0000000000..de078e9593 --- /dev/null +++ b/relnotes/v1.10.0.md @@ -0,0 +1,18 @@ +### New features + +* [#190](https://github.com/rubocop/rubocop-performance/pull/190): Add new `Performance/RedundantSplitRegexpArgument` cop. ([@mfbmina][]) +* [#213](https://github.com/rubocop/rubocop-performance/pull/213): Add new `Performance/RedundantEqualityComparisonBlock` cop. ([@koic][]) + +### Bug fixes + +* [#207](https://github.com/rubocop/rubocop-performance/issues/207): Fix an error for `Performance/Sum` when using `map(&do_something).sum` without receiver. ([@koic][]) +* [#210](https://github.com/rubocop/rubocop-performance/pull/210): Fix a false negative for `Performance/BindCall` when receiver is not a method call. ([@koic][]) + +### Changes + +* [#205](https://github.com/rubocop/rubocop-performance/issues/205): Update `Performance/ConstantRegexp` to allow memoized regexps. ([@dvandersluis][]) +* [#212](https://github.com/rubocop/rubocop-performance/pull/212): Enable unsafe auto-correct for `Performance/StartWith` and `Performance/EndWith` cops by default. ([@koic][]) + +[@mfbmina]: https://github.com/mfbmina +[@koic]: https://github.com/koic +[@dvandersluis]: https://github.com/dvandersluis