Releases: Shopify/rubocop-sorbet
Releases · Shopify/rubocop-sorbet
v0.11.0
What's Changed
🛠 Other Changes
- Add style (sig | rbs | both) to EnforceSignature cop by @TobiasBales in #328
- Fix docs url for lsp by @Earlopain in #349
- Add Sorbet/ForbidTSig and Sorbet/ForbidTHelpers cops by @burke in #355
- Add
ForbidTAnyWithNilClasscop by @botantony in #356
New Contributors
- @TobiasBales made their first contribution in #328
- @burke made their first contribution in #355
- @botantony made their first contribution in #356
Full Changelog: v0.10.4...v0.11.0
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
BlockMethodDefinitioncop by @rafaelfranca in #335 - Handle methods with no arguments in
BlockMethodDefinitionautocorrector 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
grepoverselectwhen using it only for type narrowing by @rafaelfranca in #312
🐛 Bug Fixes
- Handle double-commented Sorbet sigils correctly by @rafaelfranca in #311
- Support
attrmethod inEmptyLineAfterSigcop 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_methodsusages by @Morriar in #318 - Add
Sorbet/BlockMethodDefinitionby @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_constantizeinSorbet/ConstantsFromStringsby @magni- in #283 - Introduce
Sorbet/ForbidSigWithoutRuntimeby @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
ForbidTEnumcop by @Morriar in #284 - Set
Sorbet/StrictSigiltoSafe: falseby @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