Releases: Shopify/tapioca
Releases · Shopify/tapioca
v0.16.11
What's Changed
✨ Enhancements
- Stop ignoring symbols in payload when discovering subconstants by @paracycle in #2203
🐛 Bug Fixes
- Raise
Thor::Error
instead ofexit
by @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_mode
ivar 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::TestCase
DSL 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#size
by @KaanOzkan in #2157 - Fix
chdir
issue 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#size
method by @paracycle in #2153
Full Changelog: v0.16.7...v0.16.8
v0.16.7
What's Changed
🐛 Bug Fixes
- ActiveRecord
select
block returnsBasicObject
by @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_type
by @amomchilov in #2125
✨ Enhancements
--exclude
should 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
ActiveModel
types by @rzane in #2112 - Handle
ActiveRecord::Locking::LockingType
by @kbruccoleri in #2014 - Don't assume nilable when
#__tapioca_type
is provided by @rzane in #2126 - [Tapioca Addon] Handle missing gems gracefully in tapioca gem command by @alexcrocha in #2111
🐛 Bug Fixes
- ActiveRecord
select
returns anArray
when 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_addon
flag by @KaanOzkan in #2091 - Infer the worker count for
tapioca dsl
by @rzane in #2089 - [Tapioca Add-on] Generate DSL RBIs in add-on mode by @KaanOzkan in #2093
🐛 Bug Fixes
- Call
to_a
on cachedObjectSpace
enumerator 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's
by @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
v0.16.2
What's Changed
✨ Enhancements
🐛 Bug Fixes
- Fix type generation for types named AttachedClass that are not
T::Types::AttachedClassType
by @Morriar in #2005
New Contributors
Full Changelog: v0.16.1...v0.16.2