Releases: Shopify/tapioca
Releases · Shopify/tapioca
v0.14.1
What's Changed
🐛 Bug Fixes
- ActiveRecordFixtures compiler should support passing no args by @KaanOzkan in #1895
Full Changelog: v0.14.0...v0.14.1
v0.14.0
What's Changed
✨ Enhancements
- Add
reset_association
method signature for singular AR associations by @cbothner in #1854 - Infer types for active record fixtures by @TobiasBales in #1871
- Check RBI syntax in DslCompiler test helper by @bdewater in #1870
- Introduce
skip_constants
flag todsl
by @KaanOzkan in #1877 - Use
type_for_attribute
to determine primary_key forfind
by @alex-tan in #1851 - Remove
ActiveSupport::Deprecation
silencing from loader by @bravehager in #1891
🐛 Bug Fixes
- generate overloaded sigs for active record sum by @stathis-alexander in #1830
- Use
T.any(Integer, Float, BigDecimal)
as the return type for ActiveRecord calculation methods by @olivier-thatch in #1879 - Improve ActiveRecord::QueryMethods#distinct by @bdewater in #1882
- Detach RBI header comment from top-level node (when generating YARD docs) by @dduugg in #1885
New Contributors
- @cbothner made their first contribution in #1854
- @TobiasBales made their first contribution in #1871
- @alex-tan made their first contribution in #1851
- @bravehager made their first contribution in #1891
Full Changelog: v0.13.3...v0.14.0
v0.13.3
v0.13.2
What's Changed
🚧 Breaking Changes
✨ Enhancements
- Automatic stdout/stderr assertion updates by @kddnewton in #1853
- load default compilers before user defined compilers by @stathis-alexander in #1831
- Update Active Record find sig to allow a block by @bdewater in #1844
- Update Active Record count sig to allow a block by @bdewater in #1860
🛠 Other Changes
- Specify DSL compiler contributions in README by @KaanOzkan in #1866
New Contributors
- @stathis-alexander made their first contribution in #1831
Full Changelog: v0.13.1...v0.13.2
v0.13.1
What's Changed
🐛 Bug Fixes
- Do not call
has_presence?
onProtobuf::FieldDescriptor
unless method exists by @egiurleo in #1840 - Fix ActiveRecordRelations compiler by @Morriar in #1843
New Contributors
- @george-ma made their first contribution in #1846
Full Changelog: v0.13.0...v0.13.1
v0.13.0
What's Changed
✨ Enhancements
- Add support for overloaded signatures and add overloaded ActiveRecordRelations sigs by @bdewater in #1799
- More accurately type ActiveRecordRelations calculation methods by @jeffcarbs in #1408
- Improve typing for SecurePassword authenticate* methods by @bdewater in #1824
- Include the 'has_FIELD?' methods in RBIs generated from protobuf by @tgwizard in #1835
- Fix return type of ActiveRecord::QueryMethods#extract_associated by @bdewater in #1823
- Document exporting signatures using
rbi/
folder by @KaanOzkan in #1792 - Update README to clarify what --verify does by @simonlevasseur in #1817
🐛 Bug Fixes
- Make unprocessable compilers a warning instead of an error by @paracycle in #1794
- Stronger checks for existence of
config
gem by @paracycle in #1802 - Improve type generation for ActiveModel::Attributes by @mihyaeru21 in #1779
- Handle YARD crashing by @kddnewton in #1811
- Prevent
abort
call within gem from breakingtapioca gem
command by @andyw8 in #1826 - Upgrade protobuf and update tests by @KaanOzkan in #1827
- Fix rack gem version in failing test by @egiurleo in #1801
New Contributors
- @mihyaeru21 made their first contribution in #1779
- @simonlevasseur made their first contribution in #1817
- @tgwizard made their first contribution in #1835
Full Changelog: v0.12.0...v0.13.0
v0.12.0
Important
The DSL compiler refactor to stop requiring unnecessary things into memory might change what DSL RBI files are generated in your application. If the resulting output of DSL RBI generation from this version is causing type-checking problems please open an issue.
What's Changed
✨ Enhancements
🐛 Bug Fixes
- Fix proc type generation for
T::Struct
props by @paracycle in #1767 - Stop requiring stuff from DSL compilers by @paracycle in #1765
Full Changelog: v0.11.17...v0.12.0
v0.11.17
What's Changed
🐛 Bug Fixes
- Skip compiling constants with alias from another gem in namespace by @egiurleo in #1756
- Update IdentityCache compiler to generate correct multi methods by @bitwise-aiden in #1758
- Check if prepare argument is a symbol or string by @KaanOzkan in #1762
Full Changelog: v0.11.16...v0.11.17
v0.11.16
What's Changed
✨ Enhancements
- Add Action Text compiler by @ghiculescu in #1632
- Add support for Rails 7.1 normalization to Active Record columns compiler by @olivier-thatch in #1755
🛠 Other Changes
- Restore
type_for(type)
function by @antoine-malliarakis in #1714 - Remove duplicate block parameter in ActiveJob#perform_later by @jenshenny in #1757
New Contributors
- @antoine-malliarakis made their first contribution in #1714
- @jenshenny made their first contribution in #1757
Full Changelog: v0.11.15...v0.11.16
v0.11.15
What's Changed
🐛 Bug Fixes
- Remove fixed hash patch by @vinistock in #1750
🛠 Other Changes
- Bump our Sorbet dependency to
0.5.10820
to remove lots of compatibility workarounds by @paracycle in #1740 - Add Ruby 3.3 as a non-experimental test target by @paracycle in #1745
- Start targeting Rails 7.1 by default by @paracycle in #1742
- Enhance type inference for ActiveModel attributes by @jessiel-hacke in #1715
New Contributors
- @jessiel-hacke made their first contribution in #1715
Full Changelog: v0.11.14...v0.11.15