Releases: Shopify/rubocop-sorbet
Releases · Shopify/rubocop-sorbet
v0.7.5
What's Changed
🐛 Bug Fixes
- ForbidTStruct handles nilable properties by @Morriar in #180
- Make incompatible override rule not fail on incomplete signatures by @vinistock in #191
🛠 Other Changes
- Disable
InternalAffairs/UndefinedConfigfor now by @sambostock in #184 - Refactor
ForbidIncludeConstLiteralby @sambostock in #153 - Extract lint & docs CI job by @sambostock in #187
- Document
SignatureBuildOrdercop by @sambostock in #186 - Use mixin instead of superclass for signature cops by @sambostock in #183
- Refactor & Optimize
EmptyLineAfterSigby @sambostock in #185 - Enable
EmptyLineAfterSigin RBI config by @sambostock in #188
Full Changelog: v0.7.4...v0.7.5
v0.7.4
What's Changed
✨ Enhancements
- Extract new
BuggyObsoleteStrictMemoizationcop by @amomchilov in #175 - Add cop to forbid T::Struct uses and autocorrect them to bare classes by @Morriar in #178
🛠 Other Changes
- Update RedundantExtendTSig to trim whole line by @bitwise-aiden in #172
New Contributors
- @bitwise-aiden made their first contribution in #172
Full Changelog: v0.7.3...v0.7.4
v0.7.3
What's Changed
🐛 Bug Fixes
- Support block syntax in AllowIncompatibleOverride by @KaanOzkan in #173
Full Changelog: v0.7.2...v0.7.3
v0.7.2
What's Changed
🐛 Bug Fixes
- match SIGIL_REGEX behavior to sorbet sigil parsing by @jakebrady5 in #170
New Contributors
- @jakebrady5 made their first contribution in #170
Full Changelog: v0.7.1...v0.7.2
v0.7.1
The gem should still be usable with those Ruby versions, but we will make no attempt at making it compatible nor will we be testing it against those versions going forward.
What's Changed
✨ Enhancements
- Add cop to rewrite obsolete memoization pattern by @amomchilov in #162
- Improve
ForbidTUn{safe,typed}by @sambostock in #144 - Add
ExactStrictnesstoSorbet/ValidSigilcop by @paracycle in #167 - Suggest zsh-compatible rake syntax by @dduugg in #166
🐛 Bug Fixes
- Fix signature order cop when we have an incomplete call by @vinistock in #164
🛠 Other Changes
- Bump RuboCop version and drop Ruby 2.5 and 2.6 support by @paracycle in #168
- Enable
InternalAffairscops & prepare forRuboCop::Cop::{Cop,Base}transition. by @sambostock in #143 - Refactor
TypeAliasNameby @sambostock in #145 - Refactor
ForbidExtendTSigHelpersInShimsby @sambostock in #146 - Refactor
SingleLineRbiClassModuleDefinitionsby @sambostock in #147 - Teach YARD about
@safetytag by @sambostock in #149 - Refactor
RedundantExtendTSigby @sambostock in #151 - Refactor
ForbidSuperclassConstLiteralby @sambostock in #152 - Refactor
ForbidUntypedStructPropsby @sambostock in #148 - Refactor
AllowIncompatibleOverrideby @sambostock in #150 - Refactor
BindingConstantWithoutTypeAliasby @sambostock in #154 - Add new
Sorbet/ImplicitConversionMethodcop by @dduugg in #165
New Contributors
- @amomchilov made their first contribution in #162
Full Changelog: v0.7.0...v0.7.1
v0.7.0
What's Changed
🧑💻 Consumer Facing Changes
- Support
T::ImmutableStructinForbidUntypedStructPropsby @ghiculescu in #116 - Add a cop to detect extra lines after signatures by @stefkin in #126
- Add rbi/** to default AllowedPaths for ForbidRBIOutsideOfAllowedPaths by @dduugg in #127
- Prevent SignatureBuildOrder from breaking on empty signatures by @vinistock in #128
- Add new
Sorbet/RedundantExtendTSigcop by @sambostock in #131 - Fix default config for
RedundantExtendTSigby @sambostock in #138 - Fix missing
sigfalse positive onsig(:final)by @sambostock in #139
🛠 Other Changes
- Migrate off probot-CLA to new GitHub Action by @cursedcoder in #117
- Update documentation for sigil order cop by @ameketa in #120
- Update documentation by @ameketa in #121
- Deprecate Probot and add GitHub action to close stale PRs by @egiurleo in #123
- Verify documentation is up to date on CI by @vinistock in #125
- Remove
github_userfromnew_copgenerator task by @sambostock in #129 - Skip
bundle exec rake changelog:newnew_copTODO by @sambostock in #132 - Add Ruby 3.2 to test matrix & use it in development by @sambostock in #136
New Contributors
- @cursedcoder made their first contribution in #117
- @ameketa made their first contribution in #120
- @egiurleo made their first contribution in #123
- @stefkin made their first contribution in #126
- @dduugg made their first contribution in #127
- @sambostock made their first contribution in #129
Full Changelog: v0.6.11...v0.7.0
v0.6.11
v0.6.10
v0.6.9
What's Changed
✨ Enhancements
- Add cop forbidding use of T.untyped by @alexevanczuk in #108
🐛 Bug Fixes
- Fix BindingConstantWithoutTypeAlias for type members with arguments by @Morriar in #107
- Do not search for sigils in the middle of comments by @rafaelfranca in #109
New Contributors
- @alexevanczuk made their first contribution in #108
- @rafaelfranca made their first contribution in #109
Full Changelog: v0.6.8...v0.6.9
v0.6.8
What's Changed
🐛 Bug Fixes
🛠 Other Changes
- Add Ruby 3.1 to the CI matrix by @petergoldstein in #98
- Refine
Style/MutableConstantto processT.letexpressions. by @paracycle in #101 - Better explanation on how to use the
rbi.ymlconfig by @Morriar in #97
New Contributors
- @petergoldstein made their first contribution in #98
Full Changelog: v0.6.7...v0.6.8