Releases: Shopify/tapioca
Releases · Shopify/tapioca
v0.17.0
What's Changed
✨ Enhancements
- Add support for
ActiveSupportclasses inSidekiq::Workermethods by @iMacTia in #2104 - Add
fromandtokwargs types to generatedsaved_change_to_attribute?andwill_save_change_to_attribute?methods by @dewski in #2243 - Add support for RBS signature comments by @Morriar in #2236
🐛 Bug Fixes
- Fix
fetch_annotationsignature by @Morriar in #2213 - Fix check shims to allow methods with different parameters by @Morriar in #2245
- Use Zeitwerk::Loader.all_dirs to load all directories by @st0012 in #2283
New Contributors
Full Changelog: v0.16.11...v0.17.0
v0.16.11
What's Changed
✨ Enhancements
- Stop ignoring symbols in payload when discovering subconstants by @paracycle in #2203
🐛 Bug Fixes
- Raise
Thor::Errorinstead ofexitby @KaanOzkan in #2207
Full Changelog: v0.16.10...v0.16.11
v0.16.10
What's Changed
✨ Enhancements
- Collect telemetry about add-on usage by @vinistock in #2187
- [Tapioca add-on] Use more accurate heuristic to ignore test files in lsp addon by @KaanOzkan in #2190
- Introduce
addon_modeivar to Tapioca::Cli by @KaanOzkan in #2195
Full Changelog: v0.16.9...v0.16.10
v0.16.9
What's Changed
✨ Enhancements
- Run URL helpers compiler when routes are modified by @vinistock in #2165
- [Tapioca Addon] Support gem RBI generation by @alexcrocha in #2081
- [Tapioca Add-on] Trigger
ActiveSupport::TestCaseDSL compiler on fixture changes by @andyw8 in #2163 - Add progress indication for DSL operations by @vinistock in #2176
- Reload DSL compilers in the workspace automatically by @vinistock in #2178
🐛 Bug Fixes
- Return a Hash from
GroupChain#sizeby @KaanOzkan in #2157 - Fix
chdirissue for LSP by @andyw8 in #2171 - No-op if runner client is null by @vinistock in #2172
- [Tapioca Add-on] Fix orphaned gem RBI cleanup logic by @alexcrocha in #2181
Full Changelog: v0.16.8...v0.16.9
v0.16.8
What's Changed
✨ Enhancements
🐛 Bug Fixes
- Fix signature of
GroupChain#sizemethod by @paracycle in #2153
Full Changelog: v0.16.7...v0.16.8
v0.16.7
What's Changed
🐛 Bug Fixes
- ActiveRecord
selectblock returnsBasicObjectby @jakebrady5 in #2147
New Contributors
- @jakebrady5 made their first contribution in #2147
Full Changelog: v0.16.6...v0.16.7
v0.16.6
What's Changed
🚧 Breaking Changes
- Rename
#sorbet_type→#__tapioca_typeby @amomchilov in #2125
✨ Enhancements
--excludeshould also exclude transitive dependencies by @rzane in #2096- Add hash return type for relation groupchain size by @marknuzz in #2044
- Provide a hook for custom
ActiveModeltypes by @rzane in #2112 - Handle
ActiveRecord::Locking::LockingTypeby @kbruccoleri in #2014 - Don't assume nilable when
#__tapioca_typeis provided by @rzane in #2126 - [Tapioca Addon] Handle missing gems gracefully in tapioca gem command by @alexcrocha in #2111
🐛 Bug Fixes
- ActiveRecord
selectreturns anArraywhen called on Relation with block given by @stathis-alexander in #2103 - Revert "Don't attempt to load built-in compilers multiple times" by @KaanOzkan in #2122
- Support Bundler 2.6 by @deivid-rodriguez in #2129
🛠 Other Changes
- Clarify DSL compiler contribution instructions by @amomchilov in #2109
New Contributors
- @kbruccoleri made their first contribution in #2014
- @deivid-rodriguez made their first contribution in #2129
Full Changelog: v0.16.5...v0.16.6
v0.16.5
What's Changed
✨ Enhancements
- Use method overloading to improve WhereChain definition by @paracycle in #2070
- [Tapioca Add-on] Implement boilerplate add-on code by @KaanOzkan in #2088
- [Tapioca Add-on] Introduce internal
lsp_addonflag by @KaanOzkan in #2091 - Infer the worker count for
tapioca dslby @rzane in #2089 - [Tapioca Add-on] Generate DSL RBIs in add-on mode by @KaanOzkan in #2093
🐛 Bug Fixes
- Call
to_aon cachedObjectSpaceenumerator by @warhammerkid in #2073 - Avoid writing gitattributes file unless necessary by @vinistock in #2077
- Ensure only constants that extend Module are parsed from requested paths by @hamishmorgan in #2084
- Pass LSP add-on option to DSL by @vinistock in #2097
- Pass lsp addon option to DSL loader by @vinistock in #2098
New Contributors
- @warhammerkid made their first contribution in #2073
- @hamishmorgan made their first contribution in #2084
- @rzane made their first contribution in #2089
Full Changelog: v0.16.4...v0.16.5
v0.16.4
What's Changed
✨ Enhancements
- Fixes for AASM compiler by @marknuzz in #2043
- Use Prism to determine valid names by @vinistock in #2060
- Use Prism.parse_success? to skip reifying the AST by @KaanOzkan in #2067
🐛 Bug Fixes
New Contributors
Full Changelog: v0.16.3...v0.16.4
v0.16.3
What's Changed
✨ Enhancements
- Iterate over requested_constants in DSL helpers by @KaanOzkan in #1989
- Support Postgres Interval, Range, Bit, and BitVarying by @alex-tan in #2010
🐛 Bug Fixes
- Fix types for composite primary keys by @alex-tan in #2007
- Correct type annotation in
ActiveRecordColumnTypeHelper'sby @cquinones100 in #2015
New Contributors
- @cquinones100 made their first contribution in #2015
- @Earlopain made their first contribution in #2026
Full Changelog: v0.16.2...v0.16.3