Releases: Shopify/tapioca
v0.10.1
What's Changed
🐛 Bug Fixes
- Update
fixture_names
type to includeString
by @sambostock in #1161 - Make sure we can type GraphQL object with anonymous input fields by @rafaelfranca in #1162
Full Changelog: v0.10.0...v0.10.1
v0.10.0
What's Changed
v0.10.0
includes enhancements made since v0.9.2
release and all the bugfixes that were previously made available in v0.9.x
versions.
✨ Enhancements
- Make
--workers
option not experimental by @Morriar in #1069 - Load DSL compilers from gems by @paracycle in #1075
- Generate enum module definitions by @georgebrock in #1079
- Add flag to list compilers for DSL command by @paracycle in #1113
- Use a custom URI class to handle source location comments by @vinistock in #1094
- DSL compiler for graphql-ruby mutations and input objects by @jeffcarbs in #1038
🐛 Bug Fixes
- Fix help URL for empty gem RBI files by @Morriar in #1070
- Also check duplicated mixins in shims and TODO files by @Morriar in #1077
- Disable TracePoints when running the check-shims command by @rafaelfranca in #1082
- Thor: Love (❤️ ) and Thunder (⚡) by @rafaelfranca in #1083
- Don't crash on rails < 7 by @fsateler in #1074
- Update Protobuf DSL Readme by @gaborszakacs in #1093
- Properly discover methods added to
<main>
object by @paracycle in #1102 - Fix failures against Rails
main
by @paracycle in #1110 - Report Rails load errors and continue generating by @KaanOzkan in #1087
- New approach to finding attached class by @egiurleo in #1098
🛠 Other Changes
- Make ActiveRecord#find return value typed by @gaborszakacs in #1089
- Generate enum module definitions, and use symbols as then return value for methods which get/set enums by @shidel-dev in #607
- Bump yard-sorbet by @dduugg in #1134
- Revert "Bump sorbet-static-and-runtime from 0.5.10326 to 0.5.10370" by @KaanOzkan in #1137
New Contributors
- @rafaelfranca made their first contribution in #1082
- @gaborszakacs made their first contribution in #1093
- @dirceu made their first contribution in #1112
- @georgebrock made their first contribution in #1079
- @shidel-dev made their first contribution in #607
Full Changelog: v0.9.2...v0.10.0
v0.9.4
What's Changed
The v0.9.3 release was a bit strange, since it was released with a subset of features from 0.9.0-0.9.2, instead of adding bugfixes on top of those versions. So this release lists all the changes since 0.9.2 instead.
🐛 Bug Fixes
- Fix help URL for empty gem RBI files by @Morriar in #1070
- Don't crash on rails < 7 by @fsateler in #1074
- Check duplicated mixins in shims and TODO files by @Morriar in #1077
- Disable TracePoints when running the check-shims command by @rafaelfranca in #1082
- Thor: Love (❤️ ) and Thunder (⚡) by @rafaelfranca in #1083
- Report Rails load errors and continue generating by @KaanOzkan in #1087
- Update Protobuf DSL Readme by @gaborszakacs in #1093
- New approach to finding attached class by @egiurleo in #1098
- Properly discover methods added to
<main>
object by @paracycle in #1102 - Fix failures against Rails
main
by @paracycle in #1110
Full Changelog: v0.9.2...v0.9.4
v0.9.3
v0.9.2
What's Changed
✨ Enhancements
- Track proc bindings of existing signatures by @vinistock in #1064
- Handle the Ruby root in source locations listener by @vinistock in #1065
🐛 Bug Fixes
🛠 Other Changes
- Migrate off probot-CLA to new GitHub Action by @cursedcoder in #1067
- Rework method/parameter name validation to use the compiler by @paracycle in #1066
New Contributors
- @cursedcoder made their first contribution in #1067
Full Changelog: v0.9.1...v0.9.2
v0.9.1
What's Changed
✨ Enhancements
- Parallelize RBI parsing to speed up the
check-shims
command by @Morriar in #1056 - Add original gem source location to RBIs by @vinistock in #1025
- Add enum column support to
ActiveRecordColumns
by @q3aiml in #1000 - Track class new in ConstantDefinition by @vinistock in #1044
- Include excluded gems in verify logic by @adisonlampert in #1058
🐛 Bug Fixes
- Fix method name validation edge-case by @paracycle in #1045
- Do not index files typed: ignore when running
check-shims
by @Morriar in #1054 - Do not remove final newlines from annotations by @egiurleo in #1059
🛠 Other Changes
- Upgrade Ruby LSP to v0.2.0 by @vinistock in #1043
- Remove
T.unsafe
from extension method call by @sambostock in #1047
New Contributors
- @q3aiml made their first contribution in #1000
- @sambostock made their first contribution in #1047
- @adisonlampert made their first contribution in #1058
Full Changelog: v0.9.0...v0.9.1
v0.9.0
What's Changed
🚧 Breaking Changes
✨ Enhancements
- Use
--config
and--postrequire
when calling theinit
command by @Morriar in #957 - Handle multiple annotations repositories by @Morriar in #955
- Add
--environment
flag todsl
/gem
commands by @paracycle in #979 - Support authentication for private annotations repositories by @Morriar in #963
- Check-shims command also look inside the sorbet/rbi/annotations directory by @Morriar in #991
- Read private repo credentials from a the
netrc
file by @Morriar in #990 - Also check
sorbet/rbi/todo.rbi
for duplicated shims when running thecheck-shims
command by @Morriar in #992 - Add
--typed-overrides
option to the annotations command by @Morriar in #999 - Provide a meaningful help for HTTP errors when fetching annotations by @Morriar in #1008
- Compile RBIs for foreign constants by @egiurleo in #903
- Properly attribute mixin locations by @egiurleo in #1010
- Filter out mixins that weren't performed in current gem by @egiurleo in #1012
- Disable mixin tracking when we do includes for probing by @paracycle in #1019
- Support for
activerecord-typedstore
v1.5.0 by @etiennebarrie in #976
🐛 Bug Fixes
- Fix type variable patch to respect references to late defined types by @paracycle in #944
- Skip
debug
andfakefs
gems by @st0012 in #947 - Better name validation for methods and parameters by @Morriar in #987
- Fix type of
column_type
parameter forhandle_unknown_type
method by @paracycle in #997 - Filter engines in application directory so they are not loaded by @wildmaples in #995
- Dsl::Compilers::ActiveRecordRelations: fix #find_sole_by, #sole by @kivikakk in #1007
- Use default Gemfile path instead of Rails root when listing engines by @vinistock in #1018
- Fix Rails engine symbol loading by @paracycle in #1028
- Do not mark constants as seen before generating RBI for them by @Morriar in #1040
- Fix command documentation for check-shims by @Morriar in #956
- Protobuf: Initializer, getter and setter for optional fields with message subtype should be nilable by @andrewn617 in #966
- ActiveModel DateTime Attribute is a Time, not a DateTime by @louissobel in #1036
- Use
T.untyped
safe nilability by @paracycle in #1035
🛠 Other Changes
- Improve README documentation about
tapioca gem --all
by @Morriar in #954 - Fix typo in README by @Morriar in #953
- Generate the
help
block from the README by @Morriar in #958 - Refactor the
interesting_ancestors_of
method in the mixins listener by @egiurleo in #967 - Upgrade Ruby LSP to 0.0.4 by @vinistock in #975
- Ensure test project cleanup by @vinistock in #1024
- Add line numbers to the ConstantDefinition tracker by @vinistock in #1029
New Contributors
- @st0012 made their first contribution in #947
- @wildmaples made their first contribution in #995
- @kivikakk made their first contribution in #1007
- @louissobel made their first contribution in #1036
Full Changelog: v0.8.0...v0.9.0
v0.8.3
v0.8.2
What's Changed
This release includes a bug fix to filter engines defined in the application's directory so that they are not loaded during gem RBI generation.
🐛 Bug Fixes
Filter engines in application directory so they are not loaded #995
Full Changelog: v0.8.1...v0.8.2
v0.8.1
What's Changed
This is a small bug-fix release that changes how Tapioca does backward compatible type_member
/type_template
processing so that it respects references to not-yet-declared types in the blocks passed to those methods.
🐛 Bug Fixes
- Fix type variable patch to respect references to late defined types by @paracycle in #944
Full Changelog: v0.8.0...v0.8.1