Releases: Shopify/tapioca
Releases · Shopify/tapioca
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
v0.16.1
What's Changed
✨ Enhancements
- Log Sorbet signature block errors that lead to misleading RBI signatures generated by @phil-monroe in #1980
🐛 Bug Fixes
- Fix ActiveRecordRelations Model.new typing by @bitwise-aiden in #1983
New Contributors
- @phil-monroe made their first contribution in #1980
Full Changelog: v0.16.0...v0.16.1
v0.16.0
What's Changed
✨ Enhancements
- Remove unnecessary
.each
by @amomchilov in #1953 - Short circuit Rails app loading if Rails constant isn't defined by @paracycle in #1956
- Optimize
URLHelpers.gather_constants
by @amomchilov in #1935 - Generate *_changed? and *_previously_changed? sigs for belongs_to relations by @cheshire137 in #1955
- Make it possible to extend list of id types for ActiveRecord relations by @paracycle in #1967
- Add
ActiveSupportTimeExt
compiler by @paracycle in #1962 - Load built-in DSL compilers before loading custom ones by @paracycle in #1970
🐛 Bug Fixes
- Fix missing array signature for ActiveRecordRelation #create by @bitwise-aiden in #1946
- Make DSL compiler test helper work without needing an extra require by @paracycle in #1963
- Fix ActiveRecordRelation compiler's handling of composite primary keys by @bitwise-aiden in #1966
- Skip generating methods that State Machine does not generate by @bitwise-aiden in #1945
- Fix type type for first|last|take by @bitwise-aiden in #1971
- Add a sig with no args for ActiveRecordRelations builder methods by @bitwise-aiden in #1978
New Contributors
- @cheshire137 made their first contribution in #1955
Full Changelog: v0.15.1...v0.16.0
v0.15.1
What's Changed
🐛 Bug Fixes
- In ActiveRecordColumns persisted mode, remove T.nilable from reflected sigs by @alex-tan in #1937
- Fix AASM compiler's global callback method signatures by @tubaxenor in #1944
- require
rubygems/user_interaction
by @JamieMagee in #1650 - Fix gem RBI generation for Spoom's generic by @Morriar in #1949
New Contributors
- @tubaxenor made their first contribution in #1944
- @JamieMagee made their first contribution in #1650
Full Changelog: v0.15.0...v0.15.1
v0.15.0
What's Changed
✨ Enhancements
🐛 Bug Fixes
- Generate correct return types in IdentityCache compiler by @egiurleo in #1939
- Fix ActiveRecordRelations compiler to dedup #all by @bitwise-aiden in #1942
Full Changelog: v0.14.4...v0.15.0
v0.14.4
What's Changed
✨ Enhancements
- Start passing in an option to
ActiveRecordColumns
compiler for how to generate column types by @paracycle in #1888 - Support array types in
typed_store
compiler by @amomchilov in #1924
🐛 Bug Fixes
- Protobuf generated classes should extend from
Google::Protobuf::AbstractMessage
by @andyw8 in #1911 - Handle fixtures with no associated model by @vinistock in #1921
- Make Rails engine path check more specific by @vinistock in #1925
- Check for constant definition before invoking by @KaanOzkan in #1928
- fix:
ActiveSupportConcern
recursively checks forClassMethod
by @spencewenski in #1933
New Contributors
- @spencewenski made their first contribution in #1933
Full Changelog: v0.14.3...v0.14.4
v0.14.3
What's Changed
✨ Enhancements
- Handle ActiveRecord attributes inheriting from
EncryptedAttributeType
with customsigs
by @alex-tan in #1904 - Support Postgres
cidr
column type by @alex-tan in #1907
🐛 Bug Fixes
- Do not report duplicate for shim or annotations classes redefining the superclass by @Morriar in #1912
Full Changelog: v0.14.2...v0.14.3