Skip to content

Releases: Shopify/tapioca

v0.6.3

27 Jan 20:55
Compare
Choose a tag to compare

What's Changed

This minor release fixes a compatibility problem with latest Sorbet releases and adds a missing Thor version dependency.

🐛 Bug Fixes

Full Changelog: v0.6.2...v0.6.3

v0.6.2

20 Jan 23:37
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

🐛 Bug Fixes

  • Fix and improve method parameter sanitization by @paracycle in #689
  • Ignore interpolated strings in RequiresCompiler by @brasic in #683
  • Make generic AR column types T.untyped by @paracycle in #712

🛠 Other Changes

  • Filter out Sorbet modules and modules that would be mixed in by other modules from dynamic extends by @paracycle in #713

New Contributors

Full Changelog: v0.6.1...v0.6.2

v0.6.1

26 Dec 13:59
fc1445a
Compare
Choose a tag to compare

This is a quick bug-fix release for the 0.6 series

What's Changed

🐛 Bug Fixes

Full Changelog: v0.6.0...v0.6.1

v0.6.0

17 Dec 22:15
8cb17b5
Compare
Choose a tag to compare

What's Changed

This is a major release on our path to releasing 1.0 version. It includes some headline features, like Active Record relation generation and doing parallel RBI generation (which really helps with --doc mode). But it also includes some breaking changes, especially around Tapioca configuration.

If the addition of ActiveRecordRelations generator ends up creating too many errors in your code, you can always --exclude ActiveRecordRelations while migrating to this version and then clean up the errors later. The behaviour of other Active Record generators will change to reflect the fact that relations are not being generated.

🚧 Breaking Changes

  • Refactor config infrastructure to be integrated with Thor by @paracycle in #659

✨ Enhancements

🐛 Bug Fixes

  • Support ActiveRecord::Enum for abstract classes by @etiennebarrie in #555
  • Fix eval'ed constants not being generated in gem RBI generation by @paracycle in #589
  • Generate typed store accessors in their own module by @Morriar in #587
  • Exclude anonymous or value constants from DSL generation by @paracycle in #595
  • Sanitize type aliases by @vinistock in #609
  • Fix support for abstract singleton class methods by @mutecipher in #615
  • Remove stale gem rbis on generate by @vinistock in #616
  • Compare modules by identity for Tapioca::Compilers::Dsl::Base#processable_constants by @etiennebarrie in #627
  • Fix reflection target class existence check by @paracycle in #634
  • Properly load reflections for namespaced has_many relations by @jflinter in #637
  • Eager load constants registered for autoload after loading gems by @paracycle in #639

🛠 Other Changes

New Contributors

Full Changelog: v0.5.4...v0.6.0

v0.5.6

03 Dec 18:19
Compare
Choose a tag to compare

This is a bug-fix release from the 0.5 stable branch

What's Changed

🐛 Bug Fixes

  • Compare modules by identity for Tapioca::Compilers::Dsl::Base#processable_constants. #627
  • Remove stale gem RBIs on generate. #616
  • Fix support for abstract singleton class methods. #615
  • Sanitize type aliases. #609
  • Exclude anonymous or value constants from DSL generation. #595

Full Changelog: v0.5.5...v0.5.6

v0.5.5

25 Nov 22:59
Compare
Choose a tag to compare

What's Changed

🚧 Breaking Changes

  • Bump dependency versions to prepare for requires_ancestor change. #591
    Note: This means that, from this version on, Tapioca has a minimum dependency on Sorbet version 0.5.9204 released on October 06, 2021.

🐛 Bug Fixes

  • The doc option should not have a default value. #566
  • Support ActiveRecord::Enum for abstract classes. #555
  • Fix eval'ed constants not being generated in gem RBI generation. #589
  • Generate typed store accessors in their own module. #587

🛠 Other Changes

  • Add pessimistic version dependencies on other Shopify gems. #633

Full Changelog: v0.5.4...v0.5.5

v0.5.4

26 Oct 16:12
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed a problem with generating RBI files for default gems (#562)

v0.5.3

21 Oct 22:04
Compare
Choose a tag to compare

⚠️ Alerts

  • Tapioca now requires a minimum Sorbet version of 0.5.6200 (released Jan 2020)

✨ Enhancements

🧹 Changes

  • Remove unparser as a direct dependency (#519)

v0.5.2

16 Sep 20:03
5d0898a
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Load ConstantLocator early to make sure we don't misattribute constant locations (#493)
  • Load Rails before requiring the Gemfile, which is needed for some gems to load properly (#500)

✨Enhancements

  • Support modules that declare SmartProperties properties. (#502)

v0.4.27

16 Sep 20:01
113838a
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Load ConstantLocator early to make sure we don't misattribute constant locations (#493)
  • Load Rails before requiring the Gemfile, which is needed for some gems to load properly (#500)