dry-types v0.5.0 Release Notes
Release Date: 2016-01-11 // over 8 years ago-
โ Added
- 0๏ธโฃ
Type#default
interface for defining a type with a default value (solnic)
๐ Fixed
attribute
raises proper error when type definition is missing (solnic)
๐ Changed
- [BREAKING]
Dry::Data::Type.new
accepts constructor and options now (solnic) - ๐ Renamed
Dry::Data::Type::{Enum,Constrained}
=>Dry::Data::{Enum,Constrained}
(solnic) dry-logic
is now a dependency for constrained types (solnic)- Constrained types are now always available (solnic)
strict.*
category uses constrained types with:type?
predicate (solnic)SumType#call
no longer needs to rescue fromTypeError
(solnic)
- 0๏ธโฃ