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 from TypeError (solnic)

    Compare v0.4.2...v0.5.0