Sorbet Coerce Versions Save

A type coercion lib works with Sorbet's static type checker and type definitions

v0.7.0

1 year ago

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

Full Changelog: https://github.com/chanzuckerberg/sorbet-coerce/compare/v0.6.0...v0.7.0

v0.6.0

1 year ago

Note: there was a small issue initially publishing this release on RubyGems. The .gemspec was updated in https://github.com/chanzuckerberg/sorbet-coerce/commit/c3408d22c6c931513c90112fcfaad97beaeabf3d.

What's Changed

New Contributors

Full Changelog: https://github.com/chanzuckerberg/sorbet-coerce/compare/v0.5.0...v0.6.0

v0.5.0

2 years ago

Bug Fixes

  • Fix BigDecimal support on Ruby 2.7 #50

v0.4.0

3 years ago

Fixes

  • #49 Move sorbet to development_dependency

v0.3.0

3 years ago

Release Notes

v0.2.7

4 years ago
  • Avoid runtime method definitions to improve performance (#42)

v0.2.6

4 years ago
  • Bugfix: Return the original tstruct/simple-type instance when type matches (#41)
  • Update README.md

v0.2.5

4 years ago

Reorganize files in lib to lib/sorbet-coerce to avoid path conflicts (#40).

v0.2.4

4 years ago
  • 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 https://github.com/sorbet/sorbet/issues/2732

v0.2.3

4 years ago
  • Support T::Set
  • Support T.untyped
  • Rename T::Coerce to TypeCoerce