Virtus v0.0.6 Release Notes

Release Date: 2011-07-30 // over 12 years ago
    • ๐Ÿšš [BREAKING CHANGE] Moved Virtus.determine_type to a shared module Virtus::TypeLookup (dkubb)
    • [BREAKING CHANGE] Attribute#typecast_to_primitive has been replaced by Attribute#coerce (solnic)
    • ๐Ÿšš [BREAKING CHANGE] Attribute#typecast logic was moved to Attribute#set which is now a public method (solnic)
    • 0๏ธโƒฃ [feature] Added support for default values (solnic)
    • [general] Added custom inspect for Attribute classes (solnic)
    • [general] Added backports as a development dependency (dkubb)
    • ๐Ÿ‘ [changed] Options API has been extracted from Attribute to a support module Virtus::Options (solnic)
    • [changed] Typecast classes have been replaced by a new hierarchy of Coercion classes like Coercion::String, Coercion::Integer etc. (solnic)
    • [changed] Attribute#get, #get!, #set, #set! & #coerce are now part of the public API (solnic)

    Compare v0.0.5..v0.0.6