Skip to content

Releases: Shopify/spoom

v1.7.6

12 Aug 12:18
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • Do not associate a RBS comment to a node after a blank line by @Morriar in #780

Full Changelog: v1.7.5...v1.7.6

v1.7.5

18 Jul 13:54
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Allow translation of abstract methods by @Morriar in #765
  • Make translation of generics, helpers and abstract methods optional by @Morriar in #770
  • Make translation of each kind of T assertions optional by @Morriar in #771

🐛 Bug Fixes

  • Fix RBS to RBI signature translation for def nodes within sends by @Morriar in #779

🛠 Other Changes

  • Raise NotImplementedError from abstract methods by @Morriar in #766

Full Changelog: v1.7.4...v1.7.5

v1.7.4

13 Jun 17:33
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Translate to RBS/RBI using multiline syntax when over --max-line-length by @Morriar in #761

🛠 Other Changes

  • Translate Sorbet helpers to RBS comments by @Morriar in #762

Full Changelog: v1.7.3...v1.7.4

v1.7.3

10 Jun 20:00
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Translate T.bind(self, X) calls to RBS comments by @Morriar in #758

🐛 Bug Fixes

  • Mark ActiveJob::Callbacks as alive by @Morriar in #748
  • Translator to RBS only removes extend T::Helpers when needed by @Morriar in #751
  • Clear last_sigs when returning early on abstract by @Morriar in #755
  • Tests for simplifying and normalizing types in sigs during translation by @jesse-shopify in #754
  • Do not translate Sorbet assertions in ternary expressions by @Morriar in #756
  • Only translate top level assertions by @Morriar in #757

🛠 Other Changes

  • Remove dead attr_reader: Spoom::Sorbet::Metrics::CodeMetricsVisitor::counters by @shopify-codedb in #743
  • Add granular error handling for RBS to RBI translation by @paracycle in #746
  • Configure repo for Ruby LSP explorer by @vinistock in #749
  • Fix incorrect extend T::Helpers for foreign annotations by @KaanOzkan in #750

New Contributors

Full Changelog: v1.7.2...v1.7.3

v1.7.2

23 May 16:27
255fb4a
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • Avoid deleting comments when the comment is not an annotation by @st0012 in #742

Full Changelog: v1.7.1...v1.7.2

v1.7.1

23 May 16:16
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Collect metrics about Sorbet and RBS usage by @Morriar in #741

Full Changelog: v1.7.0...v1.7.1

v1.7.0

23 May 13:39
db0b29d
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Handle RBS annotations on attribute signatures by @Morriar in #729
  • Translate RBS multiline comments back to Sorbet sigs by @Morriar in #736
  • Add RBI <> RBS translation of class helpers and generics by @Morriar in #733
  • Translate T.cast and T.must into RBS comments by @Morriar in #714

🛠 Other Changes

  • Pin GitHub Actions to commit by @rxbchen in #731
  • Fix a few RBS sig mismatchs by @Morriar in #730
  • Use Source::Rewriter for RBS sigs and assertions translation. by @Morriar in #734
  • Add callback conditions to deadcode to catch symbolic references to live methods in if: and unless: statements by @corsonknowles in #738
  • Provide a better way to extract RBS comments from source by @Morriar in #740

New Contributors

Full Changelog: v1.6.3...v1.7.0

v1.6.3

09 May 21:45
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Translate @without_runtime <> T::Sig::WithoutRuntime.sig by @Morriar in #728

Full Changelog: v1.6.2...v1.6.3

v1.6.2

09 May 21:45
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Allow translating signatures in RBI files by @Morriar in #701

🐛 Bug Fixes

  • Do not export comments when extracting RBI signatures by @Morriar in #718

🛠 Other Changes

  • docs: add translate command examples to README by @maxveldink in #716
  • Translate all T.let to RBS inline comments supported by Sorbet by @Morriar in #715
  • Upgrade development Ruby to 3.4.3 by @vinistock in #725
  • Add feature to generate JUnit XML output by @jcoleman in #720

New Contributors

Full Changelog: v1.6.1...v1.6.2

v1.6.1

13 Mar 20:03
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Add option to generate RBS sigs without positional names by @Morriar in #699

🐛 Bug Fixes

  • Ignore RBS signatures that contain a parsing error by @Morriar in #700

Full Changelog: v1.6.0...v1.6.1