Skip to content
This repository
Newer
Older
100644 164 lines (108 sloc) 7.579 kb
49564ffe »
2012-09-01 Update Changelog
1 # v0.5.2 2012-09-01
049b0579 »
2012-09-01 Update Changelog
2
3 * [feature] Object is now the default attribute type (dkubb)
4 * [fixed] Fix module inclusion problems (dkubb)
5 * [fixed] Evaluate default values when freezing an object (mbj)
6 * [fixed] String representation of a big integer is now properly coerced to an integer (greyblake)
7 * [changed] AttributeSet is now a module responsible for defining attribute methods (emmanuel)
8
49564ffe »
2012-09-01 Update Changelog
9 [Compare v0.5.1..v0.5.2](https://github.com/solnic/virtus/compare/v0.5.1...v0.5.2)
049b0579 »
2012-09-01 Update Changelog
10
dcdbb3c7 »
2012-06-11 Changelog update
11 # v0.5.1 2012-06-11
12
13 * [fixed] EV properly handle nil as the value (solnic)
14
15 [Compare v0.5.0..v0.5.1](https://github.com/solnic/virtus/compare/v0.5.0...v0.5.1)
16
c28f9a61 »
2012-06-08 Update changelog
17 # v0.5.0 2012-06-08
47267306 »
2012-05-12 Update Changelog.md
18
c28f9a61 »
2012-06-08 Update changelog
19 * [feature] Support for extending objects (solnic)
20 * [feature] Support for defining attributes in modules (solnic)
1fd6db7a »
2012-05-13 Update Changelog
21 * [feature] Support for Struct as an EmbeddedValue or ValueObject attribute (solnic)
47267306 »
2012-05-12 Update Changelog.md
22 * [changed] Allow any input for EmbeddedValue and ValueObject constructors (solnic)
b97afea0 »
2012-05-17 Update Changelog.md
23 * [changed] ValueObject instances cannot be duped or cloned (senny)
47267306 »
2012-05-12 Update Changelog.md
24
45d6536e »
2012-06-08 Changelog update
25 [Compare v0.4.2..v0.5.0](https://github.com/solnic/virtus/compare/v0.4.2...v0.5.0)
47267306 »
2012-05-12 Update Changelog.md
26
27 # v0.4.2 2012-05-08
558709d5 »
2012-05-08 Changelog update
28
29 * [updated] Bump backports dep to ~> 2.5.3 (solnic)
30
31 [Compare v0.4.1..v0.4.2](https://github.com/solnic/virtus/compare/v0.4.1...v0.4.2)
32
c1179db3 »
2012-05-06 Update Changelog.md
33 # v0.4.1 2012-05-06
34
35 * [changed] backports gem is now a runtime dependency (solnic)
36 * [BREAKING CHANGE] Renamed Virtus::DefaultValue#evaluate => Virtus::DefaultValue#call (solnic)
37 * [BREAKING CHANGE] Renamed Virtus::ValueObject::Equalizer to Virtus::Equalizer (dkubb)
38
39 [Compare v0.4.0..v0.4.1](https://github.com/solnic/virtus/compare/v0.4.0...v0.4.1)
40
3fc107b5 »
2012-03-22 Update Changelog
41 # v0.4.0 2012-03-22
42
43 * [improvement] Add a caching mechanism for type lookups (solnic)
44 * [fixed] Fix attributes mass-assignment when nil is passed (fgrehm)
45 * [changed] Replace usage of #to_hash with Hash.try_convert (dkubb)
46
a9c31d50 »
2012-03-22 Update Changelog
47 [Compare v0.3.0..v0.4.0](https://github.com/solnic/virtus/compare/v0.3.0...v0.4.0)
3fc107b5 »
2012-03-22 Update Changelog
48
53f8edbd »
2012-02-25 Update Changelog.md
49 # v0.3.0 2012-02-25
f6da8f8c »
2012-02-17 Update Changelog.md
50
a3d02ddf »
2012-02-25 Update Changelog.md
51 * [feature] Support for default values from a symbol (which can be a method name) (solnic)
b8d8960b »
2012-02-24 Update Changelog.md
52 * [feature] Support for mass-assignment via custom setters not generated with attribute (fgrehm)
53 * [feature] Virtus::Coercion::String.to_constant handles namespaced names (dkubb)
54 * [feature] New coercion: Virtus::Coercion::Object.to_array (dkubb)
55 * [feature] New coercion: Virtus::Coercion::Object.to_hash (dkubb)
56 * [feature] New coercion: Virtus::Coercion::Object.to_string (dkubb)
57 * [feature] New coercion: Virtus::Coercion::Object.to_integer (dkubb)
58 * [changed] EmbeddedValue relies on @primitive setting rather than @model (mbj)
59 * [BREAKING CHANGE] Removed Attribute#writer_visibility in favor of Attribute#public_writer? (solnic)
60 * [BREAKING CHANGE] Removed Attribute#reader_visibility in favor of Attribute#public_reader? (solnic)
61 * [BREAKING CHANGE] Removed Attribute#instance_variable_name - this is a private ivar (solnic)
62 * [BREAKING CHANGE] Removed Equalizer#host_name and Equalizer#keys (solnic)
63
53f8edbd »
2012-02-25 Update Changelog.md
64 [Compare v0.2.0..v0.3.0](https://github.com/solnic/virtus/compare/v0.2.0...v0.3.0)
a3d02ddf »
2012-02-25 Update Changelog.md
65
72378610 »
2012-02-08 Update Changelog
66 # v0.2.0 2012-02-08
67
68 * [feature] Support for Value Objects (emmanuel)
69 * [feature] New Symbol attribute (solnic)
70 * [feature] Time => Integer coercion (solnic)
71
72 [Compare v0.1.0..v0.2.0](https://github.com/solnic/virtus/compare/v0.1.0...v0.2.0)
73
f71cd24d »
2012-02-05 Update Changelog.md
74 # v0.1.0 2012-02-05
01e104bc »
2012-02-05 Update Changelog.md
75
76 * [feature] New EmbeddedValue attribute (solnic)
77 * [feature] Array and Set attributes support member coercions (emmanuel)
78 * [feature] Support for scientific notation handling in string => integer coercion (dkubb)
79 * [feature] Handling of string => numeric coercion with a leading + sign (dkubb)
80 * [changed] Update Boolean coercion to handle "on", "off", "y", "n", "yes", "no" (dkubb)
81
0879693d »
2012-02-05 Update Changelog.md
82 [Compare v0.0.10..v0.1.0](https://github.com/solnic/virtus/compare/v0.0.10...v0.1.0)
01e104bc »
2012-02-05 Update Changelog.md
83
84 # v0.0.10 2011-11-21
85
86 * [fixed] Default values are now duped on evaluate (rclosner)
87 * [fixed] Allow to override attribute mutator methods (senny)
88
89 [Compare v0.0.9..v0.0.10](https://github.com/solnic/virtus/compare/v0.0.9...v0.0.10)
90
91 # v0.0.9 2011-10-11
92
93 * [fixed] Fix in type lookup for anonymous classes (dkubb)
94
95 [Compare v0.0.8..v0.0.9](https://github.com/solnic/virtus/compare/v0.0.8...v0.0.9)
96
97 # v0.0.8 2011-08-25
98
99 * [fixed] Fixed conflict with ActiveModel (RichGuk)
100 * [changed] Renamed Coercion::String.to_class => Coercion::String.to_constant (emmanuel)
101
102 [Compare v0.0.7..v0.0.8](https://github.com/solnic/virtus/compare/v0.0.7...v0.0.8)
103
104 # v0.0.7 2011-07-31
105
106 * [BREAKING CHANGE] Attribute.primitive? has been removed (solnic)
107 * [fixed] Added missing coercion_method setting to Virtus::Attribute::Object (solnic)
108 * [general] Default value logic has been extracted into Attribute::DefaultValue class (solnic)
109 * [added] Virtus::Attribute::Class (solnic)
110
111 [Compare v0.0.6..v0.0.7](https://github.com/solnic/virtus/compare/v0.0.6...v0.0.7)
112
113 # v0.0.6 2011-07-30
114
115 * [BREAKING CHANGE] Moved Virtus.determine_type to a shared module Virtus::TypeLookup (dkubb)
116 * [BREAKING CHANGE] Attribute#typecast_to_primitive has been replaced by Attribute#coerce (solnic)
117 * [BREAKING CHANGE] Attribute#typecast logic was moved to Attribute#set which is now a public method (solnic)
118 * [feature] Added support for default values (solnic)
119 * [general] Added custom inspect for Attribute classes (solnic)
120 * [general] Added backports as a development dependency (dkubb)
121 * [changed] Options API has been extracted from Attribute to a support module Virtus::Options (solnic)
122 * [changed] Typecast classes have been replaced by a new hierarchy of Coercion classes like Coercion::String, Coercion::Integer etc. (solnic)
123 * [changed] Attribute#get, #get!, #set, #set! & #coerce are now part of the public API (solnic)
124
125 [Compare v0.0.5..v0.0.6](https://github.com/solnic/virtus/compare/v0.0.5...v0.0.6)
126
127 # v0.0.5 2011-07-10
128
129 * [bugfix] Fixed DescendantsTracker + ActiveSupport collision (dkubb)
130
131 [Compare v0.0.4..v0.0.5](https://github.com/solnic/virtus/compare/v0.0.4...v0.0.5)
132
133 # v0.0.4 2011-07-08
134
135 * [BREAKING CHANGE] attributes hash has been replaced by a specialized class AttributeSet (dkubb)
136 * [BREAKING CHANGE] Virtus::ClassMethods.attribute returns self instead of a created attribute (solnic)
137 * [changed] descendants tracking has been extracted into DescendantsTracker module (dkubb)
138 * [changed] Instance #primitive? method has been replaced by class utility method Virtus::Attribute.primitive? (solnic)
139 * [changed] Virtus::Attribute::String#typecast_to_primitive delegates to Virtus::Typecast::String.call (solnic)
140
141 [Compare v0.0.3..v0.0.4](https://github.com/solnic/virtus/compare/v0.0.3...v0.0.4)
142
143 # v0.0.3 2011-06-09
144
145 * [BREAKING CHANGE] Attribute classes were moved to Virtus::Attribute namespace (solnic)
146 * [BREAKING CHANGE] Attribute instance no longer holds the reference to a model (solnic)
147 * [BREAKING CHANGE] #typecast no longer receives an instance of a model (override #set which calls #typecast if you need that) (solnic)
148 * [changed] Adding reader/writer methods was moved from the attribute constructor to Virtus::ClassMethods.attribute (solnic)
149 * [changed] Typecast logic has been moved into separate classes (see Virtus::Typecast) (solnic)
150 * [added] Virtus::Attribute::DateTime#typecast supports objects which implement #to_datetime (solnic)
151 * [general] Internals have been cleaned up, simplified and properly documented (solnic)
152
153 [Compare v0.0.2..v0.0.3](https://github.com/solnic/virtus/compare/v0.0.2...v0.0.3)
154
155 # v0.0.2 2011-06-06
156
157 * [bugfix] Fixed #typecast in custom attribute classes (solnic)
158
159 [Compare v0.0.1..v0.0.2](https://github.com/solnic/virtus/compare/v0.0.1...v0.0.2)
160
161 # v0.0.1 2011-06-04
162
163 First public release :)
Something went wrong with that request. Please try again.