Releases: Shopify/spoom
Releases · Shopify/spoom
v1.7.6
v1.7.5
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
🛠 Other Changes
Full Changelog: v1.7.4...v1.7.5
v1.7.4
v1.7.3
What's Changed
✨ Enhancements
🐛 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
- @jesse-shopify made their first contribution in #754
Full Changelog: v1.7.2...v1.7.3
v1.7.2
v1.7.1
v1.7.0
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
andT.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 inif:
andunless:
statements by @corsonknowles in #738 - Provide a better way to extract RBS comments from source by @Morriar in #740
New Contributors
- @rxbchen made their first contribution in #731
- @corsonknowles made their first contribution in #738
Full Changelog: v1.6.3...v1.7.0
v1.6.3
v1.6.2
What's Changed
✨ Enhancements
🐛 Bug Fixes
🛠 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
- @maxveldink made their first contribution in #716
- @jcoleman made their first contribution in #720
Full Changelog: v1.6.1...v1.6.2