# Changelog ## 1.1.7 * Fix an issue with nested generated todos being ignored [#311](https://github.com/testdouble/standard/pull/311) ## 1.1.6 * Update rubocop from 1.18.3 to [1.18.4](https://github.com/rubocop-hq/rubocop/releases/tag/v1.18.4) ## 1.1.5 * Update rubocop from 1.18.2 to [1.18.3](https://github.com/rubocop-hq/rubocop/releases/tag/v1.18.3) * Update rubocop-performance from 1.11.3 to [1.11.4](https://github.com/rubocop-hq/rubocop-performance/releases/tag/v1.11.4) * Disabled `Performance/DeletePrefix` because it was marked as unsafe. ## 1.1.4 * Update rubocop from 1.18.1 to [1.18.2](https://github.com/rubocop-hq/rubocop/releases/tag/v1.18.2) * Update rubocop-performance from 1.11.2 to [1.11.3](https://github.com/rubocop-hq/rubocop-performance/releases/tag/v1.11.3) ## 1.1.3 * Update rubocop from 1.17.0 to [1.18.1](https://github.com/rubocop-hq/rubocop/releases/tag/v1.18.1) ## 1.1.2 * Update rubocop from 1.14.0 to [1.17.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.17.0) ## 1.1.1 * Update rubocop from 1.13.0 to [1.14.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.14.0) * Update rubocop-performance from 1.11.1 to [1.11.2](https://github.com/rubocop-hq/rubocop-performance/releases/tag/v1.11.2) ## 1.1.0 * Update rubocop from 1.12.1 to [1.13.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.13.0) * Update rubocop-performance from 1.9.2 to [1.11.1](https://github.com/rubocop-hq/rubocop-performance/releases/tag/v1.11.1) * Enabled the following rules: * [`Performance/RedundantSplitRegexpArgument`](https://github.com/rubocop/rubocop-performance/pull/190) * [`Style/IfWithBooleanLiteralBranches`](https://github.com/rubocop-hq/rubocop/pull/9396) * [`Lint/TripleQuotes`](https://github.com/rubocop-hq/rubocop/pull/9402) * [`Lint/SymbolConversion`](https://github.com/rubocop/rubocop/pull/9362) * [`Lint/OrAssignmentToConstant`](https://github.com/rubocop-hq/rubocop/pull/9363) * [`Lint/NumberedParameterAssignment`](https://github.com/rubocop-hq/rubocop/pull/9326) * [`Style/HashConversion`](https://github.com/rubocop-hq/rubocop/pull/9478) * [`Gemspec/DateAssignment`](https://github.com/rubocop-hq/rubocop/pull/9496) * [`Style/StringChars`](https://github.com/rubocop/rubocop/pull/9615) ## 1.0.5 * Update rubocop from 1.11.0 to [1.12.1](https://github.com/rubocop-hq/rubocop/releases/tag/v1.12.1) ## 1.0.4 * Workaround RuboCop's CLI from erroring when it detects a cop named BlockDelimiters by renaming it to BlockSingleLineBraces ([#271](https://github.com/testdouble/standard/issues/271)) ## 1.0.3 * Fix an exit code bug introduced in 1.0.2 ([#272](https://github.com/testdouble/standard/pull/272) ## 1.0.2 * Preserve RuboCop's CLI exit codes ([#270](https://github.com/testdouble/standard/pull/270)) by [@nicksieger](https://github.com/nicksieger) ## 1.0.1 * Update rubocop from 1.10.0 to [1.11.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.11.0) * Update rubocop-performance from 1.9.2 to [1.10.1](https://github.com/rubocop-hq/rubocop-performance/releases/tag/v1.10.1) ## 1.0.0 * Relax multi-line block rules, moving away from enforcing semantic blocks to instead allowing code to adhere to whatever multi-line format the author deems best [#263](https://github.com/testdouble/standard/pull/263) * Allow a `standard:disable` comment directive in addition to `rubocop:disable` [#186](https://github.com/testdouble/standard/pull/186) * Remove the banner text that standard outputs after failure [#264](https://github.com/testdouble/standard/pull/264) ## 0.13.0 * Update rubocop from 1.7.0 to [1.10.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.10.0) enabling: * [`Lint/AmbiguousAssignment`](https://github.com/rubocop-hq/rubocop/issues/9223) * [`Style/HashExcept`](https://github.com/rubocop-hq/rubocop/pull/9283) * [`Lint/DeprecatedConstants`](https://github.com/rubocop-hq/rubocop/pull/9324) ## 0.12.0 * Update rubocop from 1.7.0 to [1.8.1](https://github.com/rubocop-hq/rubocop/releases/tag/v1.8.1) * Enabled [`Style/SlicingWithRange`](https://github.com/testdouble/standard/issues/175) ## 0.11.0 * Update rubocop-performance from 1.9.1 to [1.9.2](https://github.com/rubocop-hq/rubocop-performance/releases/tag/v1.9.2) * Update rubocop from 1.4.2 to [1.7.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.7.0) * Changed `Style/NegatedIf` to `postfix` ## 0.10.2 * Remove [`Lint/DuplicateBranch`](https://github.com/testdouble/standard/pull/228) ## 0.10.1 * Remove [`Performance/ArraySemiInfiniteRangeSlice`](https://github.com/testdouble/standard/pull/225#discussion_r532678908) ## 0.10.0 * Update rubocop-performance from 1.8.1 to [1.9.1](https://github.com/rubocop-hq/rubocop-performance/releases/tag/v1.9.1) enabling: * [`Performance/BlockGivenWithExplicitBlock`](https://github.com/rubocop-hq/rubocop-performance/pull/173) * [`Performance/ConstantRegexp`](https://github.com/rubocop-hq/rubocop-performance/pull/174) * [`Performance/ArraySemiInfiniteRangeSlice`](https://github.com/rubocop-hq/rubocop-performance/pull/175) * Update rubocop from 1.2.0 to [1.4.2](https://github.com/rubocop-hq/rubocop/releases/tag/v1.4.2) enabling: * [`Style/NilLambda`](https://github.com/rubocop-hq/rubocop/pull/9020) * [`Lint/DuplicateBranch`](https://github.com/rubocop-hq/rubocop/pull/8404) ## 0.9.0 * Update rubocop from 1.0.0 to [1.2.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.2.0) enabling: * [`Lint/DuplicateRegexpCharacterClassElement`](https://github.com/rubocop-hq/rubocop/pull/8896) * [`Style/ArgumentsForwarding`](https://github.com/rubocop-hq/rubocop/pull/7646) * Don't find offense in `Style/SemanticBlocks` when a top-level `rescue` is used in a `do`/`end` functional block, fixing [#205](https://github.com/testdouble/standard/issues/205) ## 0.8.1 * Make it match semver ## 0.8 * Update rubocop from 0.93.1 to [1.0.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.0.0) * Update rubocop from 0.92 to [0.93](https://github.com/rubocop-hq/rubocop/releases/tag/v0.93) to [0.93.1](https://github.com/rubocop-hq/rubocop/releases/tag/v0.93.1) enabling: * [`Style/ClassEqualityComparison`](https://github.com/rubocop-hq/rubocop/pull/8833) * Disable `Performance/Sum` because #208 and the lack of actual auto-correcting is also causing more trouble ## 0.7 * Update rubocop from 0.91.1 to [0.92](https://github.com/rubocop-hq/rubocop/releases/tag/v0.92) ## 0.6.2 * Update rubocop from 0.91 to [0.91.1](https://github.com/rubocop-hq/rubocop/releases/tag/v0.91.1) * Update rubocop-performance from 1.8.0 to 1.8.1: * Enable `Performance/Sum` ## 0.6.1 * Update Rubocop from [0.90](https://github.com/rubocop-hq/rubocop/releases/tag/v0.90.0) to [0.91](https://github.com/rubocop-hq/rubocop/releases/tag/v0.91.0), enabling: * [`Lint/UselessTimes`](https://github.com/rubocop-hq/rubocop/pull/8702) * [`Layout/BeginEndAlignment`](https://github.com/rubocop-hq/rubocop/pull/8628) * [`Lint/ConstantDefinitionInBlock`](https://github.com/rubocop-hq/rubocop/pull/8707) * [`Lint/IdentityComparison`](https://github.com/rubocop-hq/rubocop/pull/8699/) re-enabling after bug fixes: * [`Bundler/DuplicatedGem`](https://github.com/rubocop-hq/rubocop/pull/8666) * [`Naming/BinaryOperatorParameterName`](https://github.com/rubocop-hq/rubocop/issues/8664) ## 0.6.0 * Update Rubocop from [0.89.1](https://github.com/rubocop-hq/rubocop/releases/tag/v0.89.1) to [0.90](https://github.com/rubocop-hq/rubocop/releases/tag/v0.90.0), enabling: * [`Style/KeywordParametersOrder`](https://github.com/rubocop-hq/rubocop/pull/8563) * [`Lint/DuplicateRequire`](https://github.com/rubocop-hq/rubocop/pull/8474) * [`Lint/TrailingCommaInAttributeDeclaration`](https://github.com/rubocop-hq/rubocop/pull/8549) * Update [`Style/Alias` to prefer `alias_method`](https://github.com/testdouble/standard/pull/196) * Update rubocop-performance from 1.7.1 to 1.8.0: * Plan to enable [`Performance/Sum`](https://github.com/rubocop-hq/rubocop-performance/pull/137) in the future, but there is currently a bug in the implementation * Add `ruby-2.3.yml` to add support for 2.3. ## 0.5.2 * Turned off `Lint/MissingSuper`, because it effectively bans a common idiom in Sorbet ([#195](https://github.com/testdouble/standard/issues/195)) and might be a bit too heavy-handed/opinionated for cases where a class is designed intentionally to not run its parent's initializer (like abstract superclasses more generally) ## 0.5.1 * Enabled `Style/MultilineWhenThen` ## 0.5.0 * Update Rubocop from [0.85.0](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md#0850-2020-06-01) to [0.89.1](https://github.com/rubocop-hq/rubocop/releases/tag/v0.89.1), enabling: * `Lint/BinaryOperatorWithIdenticalOperands` * `Lint/DuplicateElsifCondition` * `Lint/DuplicateRescueException` * `Lint/FloatComparison` * `Lint/MissingSuper` * `Lint/OutOfRangeRegexpRef` * `Lint/RedundantRequireStatement` * `Lint/RedundantSplatExpansion` * `Lint/SafeNavigationWithEmpty` * `Lint/SelfAssignment` * `Lint/TopLevelReturnWithArgument` * `Style/GlobalStdStream` * `Style/RedundantAssignment` * `Style/RedundantFetchBlock` * `Style/RedundantFileExtensionInRequire` * Update rubocop-performance from 1.6.0 to 1.7.1, enabling: * `Performance/BigDecimalWithNumericArgument` * `Performance/RedundantSortBlock` * `Performance/RedundantStringChars` * `Performance/ReverseFirst` * `Performance/SortReverse` * `Performance/Squeeze` ## 0.4.7 * Update Rubocop from [0.83.0](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md#0830-2020-05-11) to [0.85.0](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md#0850-2020-06-01), notably: * Enable [Lint/MixedRegexpCaptureTypes](https://rubocop.readthedocs.io/en/stable/cops_lint/#lintmixedregexpcapturetypes) * Enable [Lint/DeprecatedOpenSSLConstant](https://rubocop.readthedocs.io/en/stable/cops_lint/#lintdeprecatedopensslconstant) * Enable [Style/RedundantRegexpCharacterClass](https://github.com/rubocop-hq/rubocop/pull/8055) * Enable [Style/RedundantRegexpEscape](https://github.com/rubocop-hq/rubocop/pull/7908) * Update rubocop-performance to [1.6.0](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md#160-2020-05-22), enabling: * [Performance/BindCall](https://github.com/rubocop-hq/rubocop-performance/issues/77) * [Performance/DeletePrefix](https://github.com/rubocop-hq/rubocop-performance/pull/105) * [Performance/DeleteSuffix](https://github.com/rubocop-hq/rubocop-performance/pull/105) ## 0.4.6 * Disable `Naming/BinaryOperatorParameterName` because (when non-ascii method names are used), it incorrectly identifies them as being `+()` operator overrides (overly aggressive) ## 0.4.5 * Disable `Naming/AsciiIdentifiers` for the same reason as mentioned below in 0.4.4 (specifically to allow programs written in non-Latin languages to define identifiers) ## 0.4.4 * Disable `Naming/MethodName` cop. While `snake_case` is the conventional way to name a Ruby method, the cop is too restrictive in that it also prevents non-ASCII characters from being included in method names ## 0.4.3 * Improve output of the todo feature ## 0.4.2 * Track Rubocop [0.83.0](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md#0830-2020-05-11) * Update our default to allow trailing whitespace in heredocs * Disable auto-correct for a cop that changed `:true` to `true`, as that's not safe * Allow comments in empty `when` blocks ## 0.4.1 * add given/given! as `{}` friendly blocks [#172](https://github.com/testdouble/standard/pull/172) ## 0.4.0 * Add `--todo` mode for incremental adoption of Standard to a project ([PR](https://github.com/testdouble/standard/pull/155) by [@mrbiggred](https://github.com/mrbiggred)) ## 0.3.0 * Update Standard to track Rubocop 0.82.0 ([commit](https://github.com/testdouble/standard/commit/d663ea62d519c659087ad606bfed031c6303ff20))