Skip to content

Releases: Shopify/rubocop-sorbet

v0.7.5

31 Oct 15:55
8f3126a

Choose a tag to compare

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

Full Changelog: v0.7.4...v0.7.5

v0.7.4

28 Sep 14:13
c2bb447

Choose a tag to compare

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

New Contributors

Full Changelog: v0.7.3...v0.7.4

v0.7.3

16 Aug 19:56

Choose a tag to compare

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

07 Aug 14:28
7a42d25

Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • match SIGIL_REGEX behavior to sorbet sigil parsing by @jakebrady5 in #170

New Contributors

Full Changelog: v0.7.1...v0.7.2

v0.7.1

03 Aug 20:21
e908bac

Choose a tag to compare

⚠️ This version drops support for Ruby 2.5 and 2.6.
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

🐛 Bug Fixes

  • Fix signature order cop when we have an incomplete call by @vinistock in #164

🛠 Other Changes

New Contributors

Full Changelog: v0.7.0...v0.7.1

v0.7.0

03 Feb 21:43
a9d407b

Choose a tag to compare

What's Changed

🧑‍💻 Consumer Facing Changes

  • Support T::ImmutableStruct in ForbidUntypedStructProps 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 on sig(:final) by @sambostock in #139

🛠 Other Changes

New Contributors

Full Changelog: v0.6.11...v0.7.0

v0.6.11

30 Jun 15:25
dd4fa9c

Choose a tag to compare

What's Changed

✨ Enhancements

Full Changelog: v0.6.10...v0.6.11

v0.6.10

16 Jun 20:18

Choose a tag to compare

What's Changed

🐛 Bug Fixes

v0.6.9

16 Jun 19:47
v0.6.9
d82f6f2

Choose a tag to compare

What's Changed

✨ Enhancements

🐛 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

Full Changelog: v0.6.8...v0.6.9

v0.6.8

16 Jun 19:40
71179f3

Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • Support new type_member / type_template syntax by @Morriar in #105

🛠 Other Changes

New Contributors

Full Changelog: v0.6.7...v0.6.8