All Versions
28
Latest Version
Avg Release Cycle
59 days
Latest Release
2404 days ago

Changelog History
Page 1

  • v1.0.5 Changes

    March 18, 2015
    • πŸ”§ [feature] Support for :nullify_blank option when configuring a virtus module (lucasmazza)

    Compare v1.0.4..v1.0.5

  • v1.0.4 Changes

    January 03, 2015
    • πŸ”§ [feature] Support for :required option when configuring a virtus module (solnic)

    Compare v1.0.3..v1.0.4

  • v1.0.3 Changes

    July 24, 2014
    • πŸ‘» [improvement] Expose attribute name in the exception when in strict mode (ntl)
    • [improvement] Set #to_h as an alias to #to_hash (fnando)
    • πŸ›  [fixed] Fix handling of nil in collection coercion (edgibbs)
    • πŸ›  [fixed] Fix issues with using multiple virtus modules (trptcolin)
    • πŸ›  [fixed] Fix handling of Range type (hampei)
    • πŸ›  [fixed] Fix strict mode for collection and hash types (solnic)

    Compare v1.0.2..v1.0.3

  • v1.0.2 Changes

    March 12, 2014
    • 0️⃣ [improvement] Don’t override already-defined default values when freezing (amarshall)
    • 🐎 [improvement] Improved performance of AttributeSet#each (Antti)
    • ⚑️ updated axiom-types dependency to ~> 0.1 (solnic)

    Compare v1.0.1..v1.0.2

  • v1.0.1 Changes

    December 10, 2013
    • 🚚 [feature] re-introduce ValueObject#with, which was removed in the past (senny)
    • πŸ›  [fixed] strict mode for Boolean type (solnic)

    Compare v1.0.0..v1.0.1

  • v1.0.0 Changes

    October 16, 2013

    πŸš€ This release no longer works with Ruby 1.8.7.

    • [BREAKING CHANGE] Integrated with axiom-types, most of the attribute sub-classes are gone (solnic)
    • πŸ”§ [feature] Configurable coercion via coercible integration (solnic)
    • [feature] Strict mode for coercions via :strict option (solnic)
    • 0️⃣ [feature] Lazy-loaded default values via :lazy option (solnic)
    • πŸ‘€ [feature] Finalizing models solving circular-dependency issue (see #81) (solnic)
    • [feature] Ability to cherry-pick which extension should be included (solnic)
    • [feature] Ability to inject a custom coercer object via :coercer option (solnic)
    • πŸ— [feature] Extension module builder with pre-defined configuration for attributes (elskwid & solnic)
    • πŸ— [feature] Virtus::Attribute exposes a public API - you can easily build, rename and clone attribute instances and use their coercion power (solnic)
    • 0️⃣ [feature] Ability to reset attributes to their default values (pewniak747)
    • [changed] A meaningful error will be raised if a reserved name is used as an attribute name (solnic)
    • 0️⃣ [changed] Default value can be set via private and protected methods now (solnic)
    • [changed] New syntax for value objects (solnic)
    • 0️⃣ [changed] Default values are now set in the constructor for non-lazy attributes (solnic)
    • πŸ”§ [deprecated] Virtus::Attribute.coerce in favor of Virtus.coerce or a customized configured module (solnic)
    • πŸ—„ [deprecated] include Virtus in favor of include Virtus.model (for classes) or Virtus.module (for modules) (solnic)
    • πŸ—„ [deprecated] include Virtus::ValueObject in favor of include Virtus.value_object (solnic)
    • πŸ—„ [deprecated] Virtus#attributes in favor of Virtus#attribute_set (solnic)
    • πŸ›  [fixed] const missing hook now works correctly in modules too (cored)
    • πŸ›  [fixed] value object with Hash type works correctly (solnic)
    • πŸ›  [fixed] issues with value-object subclasses and #== method (solnic)

    Compare v0.5.4..v1.0.0

  • v1.0.0.beta0

    June 04, 2013
  • v0.5.4 Changes

    December 20, 2012
    • [feature] Allow any enumerable to be a collection attribute (aptinio)
    • [feature] Add Integer.to_datetime and Float.to_datetime coercion (brutuscat)
    • πŸ›  [fixed] Fixed a regression with Hash attribute introduced by key/member coercion (shingara)
    • πŸ›  [fixed] Change leading non-significant digit type coercion to be coerced (maskact)

    Compare v0.5.3..v0.5.4

  • v0.5.3 Changes

    December 13, 2012
    • [feature] Added Hash member type coercion example (greyblake)
    • πŸ›  [fixed] Fixed issues with String=>Integer coercion and e-notation (greyblake)
    • [changed] Replaced internal DescendantsTracker with the extracted gem (solnic)
    • βœ… [internal] Switched to rspec 2 and mutant for mutation testing (mbj)

    Compare v0.5.2..v0.5.3

  • v0.5.2 Changes

    September 01, 2012
    • 0️⃣ [feature] Object is now the default attribute type (dkubb)
    • πŸ›  [fixed] Fix module inclusion problems (dkubb)
    • 0️⃣ [fixed] Evaluate default values when freezing an object (mbj)
    • πŸ›  [fixed] String representation of a big integer is now properly coerced to an integer (greyblake)
    • [changed] AttributeSet is now a module responsible for defining attribute methods (emmanuel)

    Compare v0.5.1..v0.5.2