diff --git a/CHANGELOG.md b/CHANGELOG.md index be93261f74..ecdbb4fe25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 1.6.1 (2020-06-05) + ### New features * [#115](https://github.com/rubocop-hq/rubocop-performance/issues/115): Support `String#sub` and `String#sub!` methods for `Performance/DeletePrefix` and `Performance/DeleteSuffix` cops. ([@fatkodima][]) diff --git a/lib/rubocop/performance/version.rb b/lib/rubocop/performance/version.rb index a18eaf866b..afbdfb9b40 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.6.0' + STRING = '1.6.1' end end end diff --git a/relnotes/v1.6.1.md b/relnotes/v1.6.1.md new file mode 100644 index 0000000000..8bf298f823 --- /dev/null +++ b/relnotes/v1.6.1.md @@ -0,0 +1,11 @@ +### New features + +* [#115](https://github.com/rubocop-hq/rubocop-performance/issues/115): Support `String#sub` and `String#sub!` methods for `Performance/DeletePrefix` and `Performance/DeleteSuffix` cops. ([@fatkodima][]) + +### Bug fixes + +* [#111](https://github.com/rubocop-hq/rubocop-performance/issues/111): Fix an error for `Performance/DeletePrefix` and `Performance/DeleteSuffix` cops when using autocorrection with RuboCop 0.81 or lower. ([@koic][]) +* [#118](https://github.com/rubocop-hq/rubocop-performance/issues/118): Fix a false positive for `Performance/DeletePrefix`, `Performance/DeleteSuffix`, `Performance/StartWith`, and `Performance/EndWith` cops when receiver is multiline string. ([@koic][]) + +[@fatkodima]: https://github.com/fatkodima +[@koic]: https://github.com/koic