Releases: Shopify/rubocop-sorbet
Releases · Shopify/rubocop-sorbet
v0.7.6
What's Changed
🛠 Other Changes
- Forbid usage of type aliased shapes by @KaanOzkan in #181
Full Changelog: v0.7.5...v0.7.6
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/UndefinedConfig
for now by @sambostock in #184 - Refactor
ForbidIncludeConstLiteral
by @sambostock in #153 - Extract lint & docs CI job by @sambostock in #187
- Document
SignatureBuildOrder
cop by @sambostock in #186 - Use mixin instead of superclass for signature cops by @sambostock in #183
- Refactor & Optimize
EmptyLineAfterSig
by @sambostock in #185 - Enable
EmptyLineAfterSig
in RBI config by @sambostock in #188
Full Changelog: v0.7.4...v0.7.5
v0.7.4
What's Changed
✨ Enhancements
- Extract new
BuggyObsoleteStrictMemoization
cop 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
ExactStrictness
toSorbet/ValidSigil
cop 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
InternalAffairs
cops & prepare forRuboCop::Cop::{Cop,Base}
transition. by @sambostock in #143 - Refactor
TypeAliasName
by @sambostock in #145 - Refactor
ForbidExtendTSigHelpersInShims
by @sambostock in #146 - Refactor
SingleLineRbiClassModuleDefinitions
by @sambostock in #147 - Teach YARD about
@safety
tag by @sambostock in #149 - Refactor
RedundantExtendTSig
by @sambostock in #151 - Refactor
ForbidSuperclassConstLiteral
by @sambostock in #152 - Refactor
ForbidUntypedStructProps
by @sambostock in #148 - Refactor
AllowIncompatibleOverride
by @sambostock in #150 - Refactor
BindingConstantWithoutTypeAlias
by @sambostock in #154 - Add new
Sorbet/ImplicitConversionMethod
cop 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::ImmutableStruct
inForbidUntypedStructProps
by @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/RedundantExtendTSig
cop by @sambostock in #131 - Fix default config for
RedundantExtendTSig
by @sambostock in #138 - Fix missing
sig
false 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_user
fromnew_cop
generator task by @sambostock in #129 - Skip
bundle exec rake changelog:new
new_cop
TODO 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