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)