@dry/dry-types

Type system for Ruby supporting coercions, constraints and complex types like structs, value objects, enums etc

details

latest
1.9.1
licenses
MIT
ruby
>= 3.2
rubygems
>= 0
executables
none
native extensions
none
platforms
ruby

links

funding
https://github.com/sponsors/hanami
source_code
https://github.com/dry-rb/dry-types
bug_tracker
https://github.com/dry-rb/dry-types/issues
homepage
https://dry-rb.org/gems/dry-types
changelog
https://github.com/dry-rb/dry-types/blob/main/CHANGELOG.md

versions

  • 1.9.1 Feb 06 2026 gem.coop system
  • 1.9.0 Jan 08 2026 gem.coop system
  • 1.8.3 Jun 09 2025 gem.coop system
  • 1.8.2 Jan 31 2025 gem.coop system
  • 1.8.1 Jan 21 2025 gem.coop system
  • 1.8.0 Jan 06 2025 gem.coop system
  • 1.7.2 Jan 05 2024 gem.coop system
  • 1.7.1 Feb 17 2023 gem.coop system
  • 1.7.0 Nov 04 2022 gem.coop system
  • 1.6.1 Oct 15 2022 gem.coop system
  • 1.6.0 Oct 15 2022 gem.coop system
  • 1.5.1 Feb 16 2021 gem.coop system
  • 1.5.0 Jan 21 2021 gem.coop system
  • 1.4.0 Mar 09 2020 gem.coop system
  • 1.3.1 Feb 16 2020 gem.coop system
  • 1.3.0 Feb 10 2020 gem.coop system
  • 1.2.2 Dec 14 2019 gem.coop system
  • 1.2.1 Nov 07 2019 gem.coop system
  • 1.2.0 Oct 06 2019 gem.coop system
  • 1.1.1 Jul 26 2019 gem.coop system
See raw versions list →

usage

run on your commandline
bundle add dry-types --source "https://beta.gem.coop/@dry"
or, put in your Gemfile
gem "dry-types", source: "https://beta.gem.coop/@dry"