Skip to content

Releases: Shopify/tapioca

v0.11.9

13 Sep 22:55
9f73195
Compare
Choose a tag to compare

What's Changed

🚧 Breaking Changes

✨ Enhancements

  • Handle arguments with loads in Graphql mutations by @such in #1556
  • Add a json_api_client DSL compiler by @lavoiesl in #1565
  • Add from and to parameters for _changed? generated methods by @DougEdey in #1568
  • Improve GraphQL Mutation compiler by @paracycle in #1571
  • Add support for --include-dependencies flag by @LTe in #1548
  • Update GraphQL mutation compiler to consider arguments with replace_null_with_default by @dom-binti in #1622
  • Add tests for GenericTypeRegistry by @amomchilov in #1635
  • Support Composite Primary keys in ActiveRecordColumns compiler by @gmcgibbon in #1646
  • Capitalize descriptions shown in CLI help by @eggplants in #1630
  • Start generating .gitattributes file for generated and vendored RBI files by @paracycle in #1604
  • Implement ActiveModel::Validations::Confirm compiler by @Tonkpils in #1644
  • Add support for loading custom DSL extensions by @olivier-thatch in #1602

🐛 Bug Fixes

🛠 Other Changes

  • Extract multiple commands from Dsl command by @paracycle in #1575
  • Extract multiple commands from Gem command by @paracycle in #1574
  • Refactor Command classes to make run method the public API by @paracycle in #1577
  • Extract common functionality from DSL commands to base class by @paracycle in #1578
  • Docs: Tapioca should also be in test group in Gemfile by @andyw8 in #1610

New Contributors

Full Changelog: v0.11.8...v0.11.9

v0.11.8

12 Jul 18:27
50027c9
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

🐛 Bug Fixes

  • Remove extraneous requires_ancestor for Kernel on DslCompiler by @andyw8 in #1564

Full Changelog: v0.11.7...v0.11.8

v0.11.7

23 Jun 18:33
13e3298
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Implement support for has_attached_class! method by @paracycle in #1514
  • Default to raising exception if Rails app cannot be loaded by @KaanOzkan in #1523

🛠 Other Changes

New Contributors

Full Changelog: v0.11.6...v0.11.7

v0.11.6

12 May 12:21
08e3869
Compare
Choose a tag to compare

What's Changed

🛠 Other Changes

New Contributors

Full Changelog: v0.11.5...v0.11.6

v0.11.5

12 Apr 17:19
66b00f4
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • Fix running tapioca dsl for Rails 5.x based applications by @Slike9 in #1462
  • Fix ActiveRecordScope Compiler to not duplicate relation methods of superclass by @codingarchitect-wq in #1453

🛠 Other Changes

  • Use ReqParam instead Param because Param is an abstract class by @st0012 in #1467
  • feat: consistently define fetch_multi_by by @cribbles in #1468
  • Bump tapioca gem version to 0.11.5 by @Shinomix in #1474

New Contributors

Full Changelog: v0.11.4...v0.11.5

v0.11.4

31 Mar 15:07
dc01b39
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

🛠 Other Changes

New Contributors

Full Changelog: v0.11.3...v0.11.4

v0.11.3

21 Mar 22:07
Compare
Choose a tag to compare

What's Changed

This is a small release that makes Tapioca compatible with Bundler v2.4.9

🐛 Bug Fixes

  • Remove support for old Bundler API in materialize_deps by @KaanOzkan in #1448

🛠 Other Changes

Full Changelog: v0.11.2...v0.11.3

v0.11.2

10 Mar 16:07
Compare
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
Compare
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
Compare
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