Virtus v0.0.3 Release Notes

Release Date: 2011-06-09 // almost 13 years ago
    • 🚚 [BREAKING CHANGE] Attribute classes were moved to Virtus::Attribute namespace (solnic)
    • [BREAKING CHANGE] Attribute instance no longer holds the reference to a model (solnic)
    • [BREAKING CHANGE] #typecast no longer receives an instance of a model (override #set which calls #typecast if you need that) (solnic)
    • 🚚 [changed] Adding reader/writer methods was moved from the attribute constructor to Virtus::ClassMethods.attribute (solnic)
    • 👀 [changed] Typecast logic has been moved into separate classes (see Virtus::Typecast) (solnic)
    • 👍 [added] Virtus::Attribute::DateTime#typecast supports objects which implement #to_datetime (solnic)
    • [general] Internals have been cleaned up, simplified and properly documented (solnic)

    Compare v0.0.2..v0.0.3