diff --git a/CHANGELOG.md b/CHANGELOG.md index a9a4a68846..3c96c56b90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 1.6.0 (2020-05-22) + ### New features * [#77](https://github.com/rubocop-hq/rubocop-performance/issues/77): Add new `Performance/BindCall` cop. ([@koic][]) diff --git a/lib/rubocop/performance/version.rb b/lib/rubocop/performance/version.rb index d07d623aab..a18eaf866b 100644 --- a/lib/rubocop/performance/version.rb +++ b/lib/rubocop/performance/version.rb @@ -3,7 +3,7 @@ module RuboCop module Performance module Version - STRING = '1.5.2' + STRING = '1.6.0' end end end diff --git a/relnotes/v1.6.0.md b/relnotes/v1.6.0.md new file mode 100644 index 0000000000..8127fd6588 --- /dev/null +++ b/relnotes/v1.6.0.md @@ -0,0 +1,20 @@ +### New features + +* [#77](https://github.com/rubocop-hq/rubocop-performance/issues/77): Add new `Performance/BindCall` cop. ([@koic][]) +* [#105](https://github.com/rubocop-hq/rubocop-performance/pull/105): Add new `Performance/DeletePrefix` and `Performance/DeleteSuffix` cops. ([@koic][]) +* [#107](https://github.com/rubocop-hq/rubocop-performance/pull/107): Support regexp metacharacter `^` for `Performance/StartWith` cop and regexp metacharacter `$` for `Performance/EndWith` cop. ([@koic][]) + +### Bug fixes + +* [#55](https://github.com/rubocop-hq/rubocop-performance/issues/55): Fix an incorrect autocorrect for `Performance/RegexpMatch` when using `str.=~(/regexp/)`. ([@koic][]) +* [#108](https://github.com/rubocop-hq/rubocop-performance/pull/108): Fix an incorrect autocorrect for `Performance/ReverseEach` when there is a newline between reverse and each. ([@joe-sharp][], [@dischorde][], [@siegfault][]) + +### Changes + +* [#103](https://github.com/rubocop-hq/rubocop-performance/pull/103): **(BREAKING)** Drop support for Ruby 2.3. ([@koic][]) +* [#101](https://github.com/rubocop-hq/rubocop-performance/issues/101): Mark unsafe for `Performance/Casecmp` cop. ([@koic][]) + +[@koic]: https://github.com/koic +[@joe-sharp]: https://github.com/joe-sharp +[@dischorde]: https://github.com/dischorde +[@siegfault]: https://github.com/siegfault