From 53d872366d7966cdfe38346ce66a90ad8aef56c7 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Mon, 15 Feb 2021 15:08:44 +0200 Subject: [PATCH] Update Changelog --- CHANGELOG.md | 25 +++++++++++++++++++ ...tation_for_style_eval_with_location_cop.md | 1 - ...sitive_for_layout_space_before_brackets.md | 1 - ...rror_for_lint_redundant_splat_expansion.md | 1 - ...error_for_style_explicit_block_argument.md | 1 - ...fix_false_negative_for_lint_else_layout.md | 1 - ...e_positive_for_lint_multiple_comparison.md | 1 - ...ocorrect_for_first_argument_indentation.md | 1 - ...correct_autocorrect_for_hash_conversion.md | 1 - ...t_for_lint_deprecated_open_ssl_constant.md | 1 - .../fix_update_lintdebugger_so_that_only.md | 1 - ...tocorrect_for_styleevalwithlocation_cop.md | 1 - ...nore_modules_to_constant_visibility_cop.md | 1 - ...new_add_new_gemspec_date_assignment_cop.md | 1 - changelog/new_style_hash_conversion_cop.md | 1 - 15 files changed, 25 insertions(+), 14 deletions(-) delete mode 100644 changelog/change_improve_documentation_for_style_eval_with_location_cop.md delete mode 100644 changelog/fix_a_false_positive_for_layout_space_before_brackets.md delete mode 100644 changelog/fix_an_error_for_lint_redundant_splat_expansion.md delete mode 100644 changelog/fix_an_error_for_style_explicit_block_argument.md delete mode 100644 changelog/fix_false_negative_for_lint_else_layout.md delete mode 100644 changelog/fix_false_positive_for_lint_multiple_comparison.md delete mode 100644 changelog/fix_incorrect_autocorrect_for_first_argument_indentation.md delete mode 100644 changelog/fix_incorrect_autocorrect_for_hash_conversion.md delete mode 100644 changelog/fix_incorrect_autocorrect_for_lint_deprecated_open_ssl_constant.md delete mode 100644 changelog/fix_update_lintdebugger_so_that_only.md delete mode 100644 changelog/new_add_autocorrect_for_styleevalwithlocation_cop.md delete mode 100644 changelog/new_add_ignore_modules_to_constant_visibility_cop.md delete mode 100644 changelog/new_add_new_gemspec_date_assignment_cop.md delete mode 100644 changelog/new_style_hash_conversion_cop.md diff --git a/CHANGELOG.md b/CHANGELOG.md index e7b427871b16..8610874f1b2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,29 @@ ## master (unreleased) +### New features + +* [#9478](https://github.com/rubocop-hq/rubocop/pull/9478): Add new `Style/HashConversion` cop. ([@zverok][]) +* [#9496](https://github.com/rubocop-hq/rubocop/pull/9496): Add new `Gemspec/DateAssignment` cop. ([@koic][]) +* [#8724](https://github.com/rubocop-hq/rubocop/issues/8724): Add `IgnoreModules` configuration to `Style/ConstantVisibility` to not register offense for module definitions. ([@tejasbubane][]) +* [#9403](https://github.com/rubocop-hq/rubocop/issues/9403): Add autocorrect for `Style/EvalWithLocation` cop. ([@cteece][]) + +### Bug fixes + +* [#9500](https://github.com/rubocop-hq/rubocop/issues/9500): Update `Lint/Debugger` so that only specific receivers for debug methods lead to offenses. ([@dvandersluis][]) +* [#9499](https://github.com/rubocop-hq/rubocop/issues/9499): Fix a false positive for `Layout/SpaceBeforeBrackets` when multiple spaces are inserted inside the left bracket. ([@koic][]) +* [#9507](https://github.com/rubocop-hq/rubocop/issues/9507): Fix an incorrect auto-correct for `Lint/RedundantSplatExpansion` when expanding `Array.new` call on method argument. ([@koic][]) +* [#9490](https://github.com/rubocop-hq/rubocop/issues/9490): Fix incorrect auto-correct for `Layout/FirstArgumentIndentation` when specifying `EnforcedStyle: with_fixed_indentation` of `Layout/ArgumentAlignment` and `EnforcedStyle: consistent` of `Layout/FirstArgumentIndentation`. ([@koic][]) +* [#9497](https://github.com/rubocop-hq/rubocop/issues/9497): Fix an error for `Style/ExplicitBlockArgument` when `yield` is inside block of `super`. ([@koic][]) +* [#9349](https://github.com/rubocop-hq/rubocop/issues/9349): Fix a false positive for `Lint/MultipleComparison` when using `&`, `|`, and `^` set operation operators in multiple comparison. ([@koic][]) +* [#9511](https://github.com/rubocop-hq/rubocop/pull/9511): Fix a false negative for `Lint/ElseLayout` when using multiple `elsif`s. ([@koic][]) +* [#9513](https://github.com/rubocop-hq/rubocop/issues/9513): Fix an incorrect auto-correct for `Style/HashConversion` when using hash argument `Hash[]`. ([@koic][]) +* [#9492](https://github.com/rubocop-hq/rubocop/issues/9492): Fix an incorrect auto-correct for `Lint/DeprecatedOpenSSLConstant` when using no argument algorithm. ([@koic][]) + +### Changes + +* [#9405](https://github.com/rubocop-hq/rubocop/pull/9405): Improve documentation for `Style/EvalWithLocation` cop. ([@taichi-ishitani][]) + ## 1.9.1 (2021-02-01) ### New features @@ -5441,3 +5464,5 @@ [@jdufresne]: https://github.com/jdufresne [@adithyabsk]: https://github.com/adithyabsk [@cteece]: https://github.com/ceteece +[@taichi-ishitani]: https://github.com/taichi-ishitani +[@cteece]: https://github.com/cteece diff --git a/changelog/change_improve_documentation_for_style_eval_with_location_cop.md b/changelog/change_improve_documentation_for_style_eval_with_location_cop.md deleted file mode 100644 index d0e2896fd2a2..000000000000 --- a/changelog/change_improve_documentation_for_style_eval_with_location_cop.md +++ /dev/null @@ -1 +0,0 @@ -* [#9405](https://github.com/rubocop-hq/rubocop/pull/9405): Improve documentation for `Style/EvalWithLocation` cop. ([@taichi-ishitani][]) diff --git a/changelog/fix_a_false_positive_for_layout_space_before_brackets.md b/changelog/fix_a_false_positive_for_layout_space_before_brackets.md deleted file mode 100644 index e22038bb1307..000000000000 --- a/changelog/fix_a_false_positive_for_layout_space_before_brackets.md +++ /dev/null @@ -1 +0,0 @@ -* [#9499](https://github.com/rubocop-hq/rubocop/issues/9499): Fix a false positive for `Layout/SpaceBeforeBrackets` when multiple spaces are inserted inside the left bracket. ([@koic][]) diff --git a/changelog/fix_an_error_for_lint_redundant_splat_expansion.md b/changelog/fix_an_error_for_lint_redundant_splat_expansion.md deleted file mode 100644 index 18fac23be22a..000000000000 --- a/changelog/fix_an_error_for_lint_redundant_splat_expansion.md +++ /dev/null @@ -1 +0,0 @@ -* [#9507](https://github.com/rubocop-hq/rubocop/issues/9507): Fix an incorrect auto-correct for `Lint/RedundantSplatExpansion` when expanding `Array.new` call on method argument. ([@koic][]) diff --git a/changelog/fix_an_error_for_style_explicit_block_argument.md b/changelog/fix_an_error_for_style_explicit_block_argument.md deleted file mode 100644 index 7787bb9c071a..000000000000 --- a/changelog/fix_an_error_for_style_explicit_block_argument.md +++ /dev/null @@ -1 +0,0 @@ -* [#9497](https://github.com/rubocop-hq/rubocop/issues/9497): Fix an error for `Style/ExplicitBlockArgument` when `yield` is inside block of `super`. ([@koic][]) diff --git a/changelog/fix_false_negative_for_lint_else_layout.md b/changelog/fix_false_negative_for_lint_else_layout.md deleted file mode 100644 index 5a7c171aa809..000000000000 --- a/changelog/fix_false_negative_for_lint_else_layout.md +++ /dev/null @@ -1 +0,0 @@ -* [#9511](https://github.com/rubocop-hq/rubocop/pull/9511): Fix a false negative for `Lint/ElseLayout` when using multiple `elsif`s. ([@koic][]) diff --git a/changelog/fix_false_positive_for_lint_multiple_comparison.md b/changelog/fix_false_positive_for_lint_multiple_comparison.md deleted file mode 100644 index abb931ed99a3..000000000000 --- a/changelog/fix_false_positive_for_lint_multiple_comparison.md +++ /dev/null @@ -1 +0,0 @@ -* [#9349](https://github.com/rubocop-hq/rubocop/issues/9349): Fix a false positive for `Lint/MultipleComparison` when using `&`, `|`, and `^` set operation operators in multiple comparison. ([@koic][]) diff --git a/changelog/fix_incorrect_autocorrect_for_first_argument_indentation.md b/changelog/fix_incorrect_autocorrect_for_first_argument_indentation.md deleted file mode 100644 index ad4a2c63b40c..000000000000 --- a/changelog/fix_incorrect_autocorrect_for_first_argument_indentation.md +++ /dev/null @@ -1 +0,0 @@ -* [#9490](https://github.com/rubocop-hq/rubocop/issues/9490): Fix incorrect auto-correct for `Layout/FirstArgumentIndentation` when specifying `EnforcedStyle: with_fixed_indentation` of `Layout/ArgumentAlignment` and `EnforcedStyle: consistent` of `Layout/FirstArgumentIndentation`. ([@koic][]) diff --git a/changelog/fix_incorrect_autocorrect_for_hash_conversion.md b/changelog/fix_incorrect_autocorrect_for_hash_conversion.md deleted file mode 100644 index a8a3680824f6..000000000000 --- a/changelog/fix_incorrect_autocorrect_for_hash_conversion.md +++ /dev/null @@ -1 +0,0 @@ -* [#9513](https://github.com/rubocop-hq/rubocop/issues/9513): Fix an incorrect auto-correct for `Style/HashConversion` when using hash argument `Hash[]`. ([@koic][]) diff --git a/changelog/fix_incorrect_autocorrect_for_lint_deprecated_open_ssl_constant.md b/changelog/fix_incorrect_autocorrect_for_lint_deprecated_open_ssl_constant.md deleted file mode 100644 index 4dfab862e749..000000000000 --- a/changelog/fix_incorrect_autocorrect_for_lint_deprecated_open_ssl_constant.md +++ /dev/null @@ -1 +0,0 @@ -* [#9492](https://github.com/rubocop-hq/rubocop/issues/9492): Fix an incorrect auto-correct for `Lint/DeprecatedOpenSSLConstant` when using no argument algorithm. ([@koic][]) diff --git a/changelog/fix_update_lintdebugger_so_that_only.md b/changelog/fix_update_lintdebugger_so_that_only.md deleted file mode 100644 index 4d97126f2913..000000000000 --- a/changelog/fix_update_lintdebugger_so_that_only.md +++ /dev/null @@ -1 +0,0 @@ -* [#9500](https://github.com/rubocop-hq/rubocop/issues/9500): Update `Lint/Debugger` so that only specific receivers for debug methods lead to offenses. ([@dvandersluis][]) diff --git a/changelog/new_add_autocorrect_for_styleevalwithlocation_cop.md b/changelog/new_add_autocorrect_for_styleevalwithlocation_cop.md deleted file mode 100644 index bae3a681b29a..000000000000 --- a/changelog/new_add_autocorrect_for_styleevalwithlocation_cop.md +++ /dev/null @@ -1 +0,0 @@ -* [#9403](https://github.com/rubocop-hq/rubocop/issues/9403): Add autocorrect for `Style/EvalWithLocation` cop. ([@cteece][]) diff --git a/changelog/new_add_ignore_modules_to_constant_visibility_cop.md b/changelog/new_add_ignore_modules_to_constant_visibility_cop.md deleted file mode 100644 index 1157033bf21c..000000000000 --- a/changelog/new_add_ignore_modules_to_constant_visibility_cop.md +++ /dev/null @@ -1 +0,0 @@ -* [#8724](https://github.com/rubocop-hq/rubocop/issues/8724): Add `IgnoreModules` configuration to `Style/ConstantVisibility` to not register offense for module definitions. ([@tejasbubane][]) diff --git a/changelog/new_add_new_gemspec_date_assignment_cop.md b/changelog/new_add_new_gemspec_date_assignment_cop.md deleted file mode 100644 index bf90559e8669..000000000000 --- a/changelog/new_add_new_gemspec_date_assignment_cop.md +++ /dev/null @@ -1 +0,0 @@ -* [#9496](https://github.com/rubocop-hq/rubocop/pull/9496): Add new `Gemspec/DateAssignment` cop. ([@koic][]) diff --git a/changelog/new_style_hash_conversion_cop.md b/changelog/new_style_hash_conversion_cop.md deleted file mode 100644 index 15e110410952..000000000000 --- a/changelog/new_style_hash_conversion_cop.md +++ /dev/null @@ -1 +0,0 @@ -* [#9478](https://github.com/rubocop-hq/rubocop/pull/9478): Add new `Style/HashConversion` cop. ([@zverok][])