diff --git a/CHANGELOG.md b/CHANGELOG.md index d4e6e66fc55f..bcb07be0bdcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,26 @@ ## master (unreleased) +### New features + +* [#5388](https://github.com/rubocop/rubocop/issues/5388): Add new `Style/UnlessLogicalOperators` cop. ([@caalberts][]) +* [#9525](https://github.com/rubocop/rubocop/issues/9525): Add `AllowMethodsWithArguments` option to `Style/SymbolProc`. ([@koic][]) + +### Bug fixes + +* [#9520](https://github.com/rubocop/rubocop/issues/9520): Fix an incorrect auto-correct for `Style/MultipleComparison` when comparing a variable with multiple items in `if` and `elsif` conditions. ([@koic][]) +* [#9548](https://github.com/rubocop/rubocop/pull/9548): Fix a false positive for `Style/TrailingBodyOnMethodDefinition` when endless method definition body is after newline in opening parenthesis. ([@koic][]) +* [#9541](https://github.com/rubocop/rubocop/issues/9541): Fix `Style/HashConversion` when the correction needs to be wrapped in parens. ([@dvandersluis][]) +* [#9533](https://github.com/rubocop/rubocop/issues/9533): Make metrics length cops aware of multi-line kwargs. ([@koic][]) +* [#9523](https://github.com/rubocop/rubocop/issues/9523): Fix an error for `Style/TrailingMethodEndStatement` when endless method definition signature and body are on different lines. ([@koic][]) +* [#9482](https://github.com/rubocop/rubocop/issues/9482): Return minimal known ruby version from gemspecs `required_ruby_version`. ([@HeroProtagonist][]) +* [#9539](https://github.com/rubocop/rubocop/issues/9539): Fix an error for `Style/RedundantBegin` when using body of `begin` is empty. ([@koic][]) +* [#9542](https://github.com/rubocop/rubocop/pull/9542): Fix `Layout/FirstArgumentIndentation` for operator methods not called as operators. ([@dvandersluis][], [@TSMMark][]) + +### Changes + +* [#9526](https://github.com/rubocop/rubocop/issues/9526): Add `AllowSplatArgument` option to `Style/HashConversion` and the option is true by default. ([@koic][]) + ## 1.10.0 (2021-02-15) ### New features @@ -5469,3 +5489,4 @@ [@taichi-ishitani]: https://github.com/taichi-ishitani [@cteece]: https://github.com/cteece [@TSMMark]: https://github.com/TSMMark +[@caalberts]: https://github.com/caalberts diff --git a/changelog/change_add_allow_splat_argument_option_to_hash_conversion.md b/changelog/change_add_allow_splat_argument_option_to_hash_conversion.md deleted file mode 100644 index f2d615d0fc2b..000000000000 --- a/changelog/change_add_allow_splat_argument_option_to_hash_conversion.md +++ /dev/null @@ -1 +0,0 @@ -* [#9526](https://github.com/rubocop/rubocop/issues/9526): Add `AllowSplatArgument` option to `Style/HashConversion` and the option is true by default. ([@koic][]) diff --git a/changelog/fix_error_for_style_redundant_begin.md b/changelog/fix_error_for_style_redundant_begin.md deleted file mode 100644 index 8e61e30f8a0b..000000000000 --- a/changelog/fix_error_for_style_redundant_begin.md +++ /dev/null @@ -1 +0,0 @@ -* [#9539](https://github.com/rubocop/rubocop/issues/9539): Fix an error for `Style/RedundantBegin` when using body of `begin` is empty. ([@koic][]) diff --git a/changelog/fix_error_for_style_trailing_method_end_statement.md b/changelog/fix_error_for_style_trailing_method_end_statement.md deleted file mode 100644 index 0c4234d39f72..000000000000 --- a/changelog/fix_error_for_style_trailing_method_end_statement.md +++ /dev/null @@ -1 +0,0 @@ -* [#9523](https://github.com/rubocop/rubocop/issues/9523): Fix an error for `Style/TrailingMethodEndStatement` when endless method definition signature and body are on different lines. ([@koic][]) diff --git a/changelog/fix_false_positive_for_style_trailing_body_on_method_definition.md b/changelog/fix_false_positive_for_style_trailing_body_on_method_definition.md deleted file mode 100644 index ad38b97bd46d..000000000000 --- a/changelog/fix_false_positive_for_style_trailing_body_on_method_definition.md +++ /dev/null @@ -1 +0,0 @@ -* [#9548](https://github.com/rubocop/rubocop/pull/9548): Fix a false positive for `Style/TrailingBodyOnMethodDefinition` when endless method definition body is after newline in opening parenthesis. ([@koic][]) diff --git a/changelog/fix_fix_layoutfirstargumentindentation_for.md b/changelog/fix_fix_layoutfirstargumentindentation_for.md deleted file mode 100644 index 1f9c44edb785..000000000000 --- a/changelog/fix_fix_layoutfirstargumentindentation_for.md +++ /dev/null @@ -1 +0,0 @@ -* [#9542](https://github.com/rubocop/rubocop/pull/9542): Fix `Layout/FirstArgumentIndentation` for operator methods not called as operators. ([@dvandersluis][], [@TSMMark][]) diff --git a/changelog/fix_fix_stylehashconversion_when_the.md b/changelog/fix_fix_stylehashconversion_when_the.md deleted file mode 100644 index db47bc5b31bd..000000000000 --- a/changelog/fix_fix_stylehashconversion_when_the.md +++ /dev/null @@ -1 +0,0 @@ -* [#9541](https://github.com/rubocop/rubocop/issues/9541): Fix `Style/HashConversion` when the correction needs to be wrapped in parens. ([@dvandersluis][]) diff --git a/changelog/fix_incorrect_autocorrect_for_style_multiple_comparison.md b/changelog/fix_incorrect_autocorrect_for_style_multiple_comparison.md deleted file mode 100644 index 49c6727056cf..000000000000 --- a/changelog/fix_incorrect_autocorrect_for_style_multiple_comparison.md +++ /dev/null @@ -1 +0,0 @@ -* [#9520](https://github.com/rubocop/rubocop/issues/9520): Fix an incorrect auto-correct for `Style/MultipleComparison` when comparing a variable with multiple items in `if` and `elsif` conditions. ([@koic][]) diff --git a/changelog/fix_make_metrics_length_cops_aware_of_multi_line_kwargs.md b/changelog/fix_make_metrics_length_cops_aware_of_multi_line_kwargs.md deleted file mode 100644 index ad1545e73e99..000000000000 --- a/changelog/fix_make_metrics_length_cops_aware_of_multi_line_kwargs.md +++ /dev/null @@ -1 +0,0 @@ -* [#9533](https://github.com/rubocop/rubocop/issues/9533): Make metrics length cops aware of multi-line kwargs. ([@koic][]) diff --git a/changelog/fix_return_minimal_known_ruby_version_from.md b/changelog/fix_return_minimal_known_ruby_version_from.md deleted file mode 100644 index 44c9f0bce8cf..000000000000 --- a/changelog/fix_return_minimal_known_ruby_version_from.md +++ /dev/null @@ -1 +0,0 @@ -* [#9482](https://github.com/rubocop/rubocop/issues/9482): Return minimal known ruby version from gemspecs `required_ruby_version`. ([@HeroProtagonist][]) diff --git a/changelog/new_add_allow_if_method_has_arguments_option_to_style_symbol_proc.md b/changelog/new_add_allow_if_method_has_arguments_option_to_style_symbol_proc.md deleted file mode 100644 index 1ca9edb669f7..000000000000 --- a/changelog/new_add_allow_if_method_has_arguments_option_to_style_symbol_proc.md +++ /dev/null @@ -1 +0,0 @@ -* [#9525](https://github.com/rubocop/rubocop/issues/9525): Add `AllowMethodsWithArguments` option to `Style/SymbolProc`. ([@koic][]) diff --git a/changelog/new_add_new_styleunlesslogicaloperators_cop.md b/changelog/new_add_new_styleunlesslogicaloperators_cop.md deleted file mode 100644 index 29b5f16fe323..000000000000 --- a/changelog/new_add_new_styleunlesslogicaloperators_cop.md +++ /dev/null @@ -1 +0,0 @@ -* [#5388](https://github.com/rubocop/rubocop/issues/5388): Add new `Style/UnlessLogicalOperators` cop. ([@caalberts][])