Releases: Shopify/rubocop-sorbet
Releases · Shopify/rubocop-sorbet
v0.10.5
What's Changed
🛠 Other Changes
- Add style (sig | rbs | both) to EnforceSignature cop by @TobiasBales in #328
New Contributors
- @TobiasBales made their first contribution in #328
Full Changelog: v0.10.4...v0.10.5
v0.10.4
v0.10.3
What's Changed
✨ Enhancements
🐛 Bug Fixes
- Fix a few issues with
BlockMethodDefinition
cop by @rafaelfranca in #335 - Handle methods with no arguments in
BlockMethodDefinition
autocorrector by @magni- in #336
Full Changelog: v0.10.2...v0.10.3
v0.10.2
What's Changed
🛠 Other Changes
- Fix new cop generation by @bfad in #326
- Bump rubocop requirement to include
any_def_type?
by @KaanOzkan in #330
Resolved errors while executing Sorbet/EmptyLineAfterSig
cop introduced in the previous version
New Contributors
Full Changelog: v0.10.1...v0.10.2
v0.10.1
What's Changed
✨ Enhancements
- Add cop to suggest using
grep
overselect
when using it only for type narrowing by @rafaelfranca in #312
🐛 Bug Fixes
- Handle double-commented Sorbet sigils correctly by @rafaelfranca in #311
- Support
attr
method inEmptyLineAfterSig
cop by @rafaelfranca in #316 - Fix EmptyLineAfterSig cop to preserve RuboCop directive comments by @rafaelfranca in #315
🛠 Other Changes
- Drop support for EOL'd Ruby 3.0 by @magni- in #299
- Add runtime dependency to lint_roller by @KaanOzkan in #305
- Upgrade development Ruby to 3.4.3 by @rafaelfranca in #309
- Translate all test from RSpec to Minitest by @rafaelfranca in #310
- Pin GitHub Actions to commit by @rxbchen in #313
- Add cop to forbid
mixes_in_class_methods
usages by @Morriar in #318 - Add
Sorbet/BlockMethodDefinition
by @magni- in #319
New Contributors
Full Changelog: v0.10.0...v0.10.1
v0.10.0
What's Changed
🚧 Breaking Changes
- Fix plugin/require logic by @paracycle in #301
🐛 Bug Fixes
- Add missing AllowRBS for default config of EnforceSignatures by @bitwise-aiden in #297
Full Changelog: v0.9.0...v0.10.0
v0.9.0
What's Changed
✨ Enhancements
🛠 Other Changes
- Also restrict
safe_constantize
inSorbet/ConstantsFromStrings
by @magni- in #283 - Introduce
Sorbet/ForbidSigWithoutRuntime
by @Morriar in #288 - Update Sorbet/EnforceSignatures to accept RBS signatures by @bitwise-aiden in #291
- Pluginfy RuboCop Performance by @ngan in #289
New Contributors
Full Changelog: v0.8.9...v0.9.0
v0.8.9
What's Changed
✨ Enhancements
- Tweak Rubocop rules for inline RBS in RBI files by @Morriar in #282
- Add
ForbidTEnum
cop by @Morriar in #284 - Set
Sorbet/StrictSigil
toSafe: false
by @corsonknowles in #268 - fix documentation: sigil cops autocorrect using suggested level by @stathis-alexander in #273
- Make deprecations about the codebase by @Morriar in #285
New Contributors
- @stathis-alexander made their first contribution in #273
Full Changelog: v0.8.7...v0.8.9
v0.8.7
What's Changed
🛠 Other Changes
- Remove warning from RuboCop in rbi config by @Earlopain in #265
Full Changelog: v0.8.6...v0.8.7
v0.8.6
What's Changed
✨ Enhancements
- Register offense for
ConstantsFromStrings
with safe navigation by @Earlopain in #253
🛠 Other Changes
- Use
add_global_offense
forForbidRBIOutsideOfAllowedPaths
by @Earlopain in #251 - Add workflow to auto-merge dependabot updates by @vinistock in #259
- Set
DocumentationBaseURL
andDocumentationExtension
by @Earlopain in #252 - Rescue ::Bundler::GemfileNotFound if sorbet-static is not found by @oneearedrabbit in #262
- Add Sorbet/Refinement by @corsonknowles in #263
New Contributors
- @oneearedrabbit made their first contribution in #262
- @corsonknowles made their first contribution in #263
Full Changelog: v0.8.5...v0.8.6