Skip to content

v0.4.16

Compare
Choose a tag to compare
@paracycle paracycle released this 09 Mar 23:10

New Features:

  • Tapioca can now correctly generate T::Enum types using enum do ... end blocks in gem RBIs (thanks @jeffcarbs) [PR #243]
  • DSL RBI generation operation will now clear dangling RBI files from the target directory. The operation keeps track of all DSL RBI files that already exist in the target directory and removes each file that has been regenerated from that list. Anything that is left behind at the end of the whole operation must be dangling RBI files that don't correspond to any live constants. Thus, those RBI files are deleted. [PR #244]
  • You can now make Tapioca work with a custom Sorbet executable by setting the TAPIOCA_SRB_PATH environment variable (thanks @nathunsmitty) [PR #246]

Fixes:

  • Mixed in class methods detection for modules is best effort and never raises. [PR #252 - Fixes #237]
  • Change loader behaviour to support pre-Rails 6 apps. [PR #251 - Fixes #239]