diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 084b45fbd6ae..fd2bb2b0d330 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -35,5 +35,5 @@ Include the output of `rubocop -V` or `bundle exec rubocop -V` if using Bundler. ``` $ [bundle exec] rubocop -V -0.64.0 (using Parser 2.5.1.2, running on ruby 2.5.1 x86_64-linux) +0.65.0 (using Parser 2.5.1.2, running on ruby 2.5.1 x86_64-linux) ``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 371248080453..ddaa6cdb5065 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 0.65.0 (2019-02-19) + ### New features * [#6126](https://github.com/rubocop-hq/rubocop/pull/6126): Add an experimental strict mode to `Style/MutableConstant` that will freeze all constants, rather than just literals. ([@rrosenblum][]) diff --git a/README.md b/README.md index 32c272050de8..668d3e20e314 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ haven't reached version 1.0 yet). To prevent an unwanted RuboCop update you might want to use a conservative version locking in your `Gemfile`: ```rb -gem 'rubocop', '~> 0.64.0', require: false +gem 'rubocop', '~> 0.65.0', require: false ``` ## Quickstart diff --git a/lib/rubocop/version.rb b/lib/rubocop/version.rb index 61c3b6a1b99b..c4c0338fd608 100644 --- a/lib/rubocop/version.rb +++ b/lib/rubocop/version.rb @@ -3,7 +3,7 @@ module RuboCop # This module holds the RuboCop version information. module Version - STRING = '0.64.0'.freeze + STRING = '0.65.0'.freeze MSG = '%s (using Parser %s, running on ' \ '%s %s %s)'.freeze diff --git a/manual/installation.md b/manual/installation.md index 60b34940c64c..beeedfb86f1d 100644 --- a/manual/installation.md +++ b/manual/installation.md @@ -16,7 +16,7 @@ haven't reached version 1.0 yet). To prevent an unwanted RuboCop update you might want to use a conservative version locking in your `Gemfile`: ```rb -gem 'rubocop', '~> 0.64.0', require: false +gem 'rubocop', '~> 0.65.0', require: false ``` !!! Note diff --git a/relnotes/v0.65.0.md b/relnotes/v0.65.0.md new file mode 100644 index 000000000000..b7f6c64003c8 --- /dev/null +++ b/relnotes/v0.65.0.md @@ -0,0 +1,24 @@ +### New features + +* [#6126](https://github.com/rubocop-hq/rubocop/pull/6126): Add an experimental strict mode to `Style/MutableConstant` that will freeze all constants, rather than just literals. ([@rrosenblum][]) + +### Bug fixes + +* [#6765](https://github.com/rubocop-hq/rubocop/pull/6765): Fix false positives in keyword arguments for `Style/MethodCallWithArgsParentheses` `omit_parentheses`. ([@gsamokovarov][]) +* [#6763](https://github.com/rubocop-hq/rubocop/pull/6763): Fix false positives in range literals for `Style/MethodCallWithArgsParentheses` `omit_parentheses`. ([@gsamokovarov][]) +* [#6748](https://github.com/rubocop-hq/rubocop/issues/6748): Fix `Style/RaiseArgs` auto-correction breaking in contexts that require parentheses. ([@drenmi][]) +* [#6751](https://github.com/rubocop-hq/rubocop/issues/6751): Prevent `Style/OneLineConditional` from breaking on `retry` and `break` keywords. ([@drenmi][]) +* [#6755](https://github.com/rubocop-hq/rubocop/issues/6755): Prevent `Style/TrailingCommaInArgument` from breaking when a safe method call is chained on the offending method. ([@drenmi][], [@hoshinotsuyoshi][]) + +### Changes + +* [#6766](https://github.com/rubocop-hq/rubocop/pull/6766): Drop support for Ruby 2.2.0 and 2.2.1. ([@pocke][]) +* [#6733](https://github.com/rubocop-hq/rubocop/pull/6733): Warn duplicated keys in `.rubocop.yml`. ([@pocke][]) +* [#6613](https://github.com/rubocop-hq/rubocop/pull/6613): Mark `Style/ModuleFunction` as `SafeAutocorrect: false` and disable autocorrect by default. ([@dduugg][]) + +[@rrosenblum]: https://github.com/rrosenblum +[@gsamokovarov]: https://github.com/gsamokovarov +[@drenmi]: https://github.com/drenmi +[@hoshinotsuyoshi]: https://github.com/hoshinotsuyoshi +[@pocke]: https://github.com/pocke +[@dduugg]: https://github.com/dduugg