Skip to content

v0.11.0

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Feb 12:01
· 1276 commits to main since this release
b22faf4

What's Changed

This is release packed full of new functionality. The headline feature of this release is that Tapioca is now able to properly load Rails engines from gems both in Classic and Zeitwerk modes. This means that running bundle exec tapioca init on a new Rails 7 app no longer results in a type-checking error. 🎉

Tapioca now also generates less extraneous top-level constant definitions in gem RBI files and can handle more DSL patterns.

Finally, there is new mode for the bin/tapioca dsl command where you can supply filenames, as well as constants, as arguments and Tapioca will try to generate DSL RBI files for all the constants discovered in those files.

As always, a huge thank you to all the contributors that have made this release so much better.

✨ Enhancements

DSL Compilers

Gem RBI generation

  • Stop regenerating all value constants for reopened types by @paracycle in #1385
  • Improve eager loading Rails engines when Zeitwerk is present by @egiurleo in #1329
  • Load engines properly in both Zeitwerk and Classic modes by @paracycle in #1389

DSL RBI generation

Configuration

🐛 Bug Fixes

  • ActionControllerHelpers DSL compiler should not call name directly by @Morriar in #1354

New Contributors

Full Changelog: v0.10.5...v0.11.0