Skip to content

Releases: Shopify/tapioca

v0.11.2

10 Mar 16:07

Choose a tag to compare

What's Changed

✨ Enhancements

🐛 Bug Fixes

New Contributors

Full Changelog: v0.11.1...v0.11.2

v0.11.1

23 Feb 20:08

Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • protobuf: Handle AbstractMessage descendants by @dirceu in #1411

🛠 Other Changes

Full Changelog: v0.11.0...v0.11.1

v0.11.0

21 Feb 12:01
b22faf4

Choose a tag to compare

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

v0.10.5

04 Jan 13:51
6c2396b

Choose a tag to compare

What's Changed

✨ Enhancements

🐛 Bug Fixes

  • Support Rails 6.0 which has no SignedId class defined by @paracycle in #1327
  • Ensure that trackers stay enabled until after gem command is run by @paracycle in #1331

Full Changelog: v0.10.4...v0.10.5

v0.10.4

19 Dec 22:15
766c9e7

Choose a tag to compare

What's Changed

✨ Enhancements

🐛 Bug Fixes

  • Handle keyword argument splats correctly by @timfjord in #1288
  • Do not pass T.untyped to ObjectSpace::WeakMap by @LTe in #1303

🛠 Other Changes

  • Fix backwards compatibility with sorbet-runtime by @dirceu in #1277

New Contributors

Full Changelog: v0.10.3...v0.10.4

v0.10.3

10 Nov 17:35

Choose a tag to compare

What's Changed

✨ Enhancements

🛠 Other Changes

New Contributors

Full Changelog: v0.10.2...v0.10.3

v0.10.2

29 Sep 19:18
b0b8b17

Choose a tag to compare

What's Changed

🐛 Bug Fixes

🛠 Other Changes

New Contributors

Full Changelog: v0.10.0...v0.10.2

v0.10.1

14 Sep 00:37
v0.10.1
212c392

Choose a tag to compare

What's Changed

🐛 Bug Fixes

Full Changelog: v0.10.0...v0.10.1

v0.10.0

31 Aug 14:50

Choose a tag to compare

What's Changed

v0.10.0 includes enhancements made since v0.9.2 release and all the bugfixes that were previously made available in v0.9.x versions.

✨ Enhancements

🐛 Bug Fixes

🛠 Other Changes

  • Make ActiveRecord#find return value typed by @gaborszakacs in #1089
  • Generate enum module definitions, and use symbols as then return value for methods which get/set enums by @shidel-dev in #607
  • Bump yard-sorbet by @dduugg in #1134
  • Revert "Bump sorbet-static-and-runtime from 0.5.10326 to 0.5.10370" by @KaanOzkan in #1137

New Contributors

Full Changelog: v0.9.2...v0.10.0

v0.9.4

22 Aug 21:48
4c6f88c

Choose a tag to compare

What's Changed

The v0.9.3 release was a bit strange, since it was released with a subset of features from 0.9.0-0.9.2, instead of adding bugfixes on top of those versions. So this release lists all the changes since 0.9.2 instead.

🐛 Bug Fixes

Full Changelog: v0.9.2...v0.9.4