Releases: chanzuckerberg/sorbet-coerce
Releases · chanzuckerberg/sorbet-coerce
v0.7.0
Hi all! This is a relatively light release; the main breaking change is shifting our support window to match Ruby's (i.e. >= 2.7
). In other words, we are dropping support for Ruby 2.5
and 2.6
. v0.6.0
is the last release that supports 2.5
and 2.6
; these are both EOL, and we suggest you move to 2.7
or 3
as soon as possible!
What's Changed
- Breaking: moves Ruby version support window to
['2.7', '3.0', '3.1']
, drops support for2.5
,2.6
by @mattxwang in #69 - Added:
README
docs new feature documentation, lack of support for variables in template types by @mattxwang in #68 - Fixed: bundled-rbi has correct sig with new
coerce_empty_to_nil
argument by @mattxwang in #70 - Dev: manual release trigger by @mattxwang in #67
- Dev: removes duplicate
reline
rbi definitions by @mattxwang in #74 - Dev: removes duplicate
Enumerable
rbi definition by @mattxwang in #75
Full Changelog: v0.6.0...v0.7.0
v0.6.0
Note: there was a small issue initially publishing this release on RubyGems. The .gemspec
was updated in c3408d2.
What's Changed
- Added: handle
T.class_of
and unknown types by @datbth in #56 - Added: support
T::Types::FixedArray
by @datbth in #57 - Added:
coerce_empty_to_nil
config for string conversion by @leifg in #65 - Fixed: keep unsupported union values as-is by @datbth in #53
- Fixed: document support of union types by @donaldong in #54
- Fixed: explicitly pass hashes instead of keyword arguments in tests by @leifg in #64
- Dev: migrate from Travis CI to GitHub Actions, update codecov, regenerate RBIs by @mattxwang in #62
- Dev: reruns
bundle exec srb rbi hidden-definitions
, resolves typecheck by @mattxwang in #66
New Contributors
- @datbth made their first contribution in #53
- @mattxwang made their first contribution in #62
- @leifg made their first contribution in #64
Full Changelog: v0.5.0...v0.6.0
v0.5.0
v0.4.0
v0.3.0
Release Notes
- Support Sorbet Enum https://sorbet.org/docs/tenum #46, #47 (Thanks @hlascelles !!)
v0.2.7
v0.2.6
v0.2.5
v0.2.4
- Handle nil when coercing T::Hash
- Improve T::Struct detection
- Improve custom types construction
- Remove the top-level rbi directory to workaround a sorbet gem compatibility issue sorbet/sorbet#2732