Releases: Shopify/tapioca
Releases · Shopify/tapioca
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
v0.14.2
What's Changed
✨ Enhancements
- Ignore missing constants for
--skip-constant
option by @KaanOzkan in #1896
🐛 Bug Fixes
- fix: add default keyword argument to kredis extension attributes by @dylanplayer in #1897
- Handle deferred route drawing in URL helpers DSL compiler by @bravehager in #1899
New Contributors
- @dylanplayer made their first contribution in #1897
Full Changelog: v0.14.1...v0.14.2