Skip to content

Upgrading rubocop 0.80 to 0.81

Breaking0.80.1 → 0.81.0Breaking1New17Changed2Fixed12Other1

BreakingUpgrade verdict

1 breaking change.

  • (Breaking) Remove Lint/EndInMethod cop.
1 item needs code or config changes
Breaking1
(Breaking) Remove Lint/EndInMethod cop.
Lint/EndInMethod

Generated by DepDelta from published Ruby source. Not mixed with prose notes.

  • added: class CaseMatchNode < Node
  • added: method CaseMatchNode.each_in_pattern()
  • added: method CaseMatchNode.else?()
  • added: method CaseMatchNode.else_branch()
  • added: method CaseMatchNode.in_pattern_branches()
  • added: method CaseMatchNode.keyword()
  • added: method Node.guard_clause?()
  • added: method Traversal.on_case_match(_)
  • added: method Traversal.on_in_pattern(_)
  • removed: const ArrayAlignment.MSG
  • added: const ArrayAlignment.ALIGN_ELEMENTS_MSG
  • added: const ArrayAlignment.FIXED_INDENT_MSG
  • added: method ElseAlignment.on_case_match(_)
  • removed: class EndInMethod < Cop
  • removed: const EndInMethod.MSG
  • removed: method EndInMethod.on_postexe(_)
  • added: class RaiseException < Cop
  • added: class StructNewOverride < Cop
  • added: const RaiseException.MSG
  • added: const StructNewOverride.MSG
  • added: const StructNewOverride.STRUCT_MEMBER_NAME_TYPES
  • added: const StructNewOverride.STRUCT_METHOD_NAMES
  • added: method BooleanSymbol.autocorrect(_)
  • added: method RaiseException.on_send(_)
  • added: method StructNewOverride.on_send(_)
  • added: method MethodName.on_send(_)
  • added: class TrailingCommaInBlockArgs < Cop
  • added: const ModuleFunction.FORBIDDEN_MSG
  • added: const TrailingCommaInBlockArgs.MSG
  • added: method EndBlock.autocorrect(_)
  • added: method Lambda.on_numblock(_)
  • added: method TrailingCommaInBlockArgs.autocorrect(_)
  • added: method TrailingCommaInBlockArgs.on_block(_)
  • added: method JUnitFormatter.classname_attribute_value(_)