/
History.txt
173 lines (119 loc) · 4.61 KB
/
History.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
== 0.8.10 2013-06-13
* Minor enhancement
* Fixed Range handling
== 0.8.9 2013-04-16
* Minor enhancement
* Fixed dependency on ruby_parser (breaks above major 2).
== 0.8.8 2012-09-28
* Minor enhancements
* Fixed a bug with ternary op missing parenthesis.
== 0.8.7 2012-09-24
* Minor enhancements
* Added support for Range.
== 0.8.6 2011-11-09
* Minor enhancements
* Added support for 'nil'.
== 0.8.5 2011-07-11
* Minor enhancements
* Added support for append_args and multiple prepend arguments.
== 0.8.4 2011-06-15
* Minor enhancements
* Fixed: should clear cache on safe_method declaration.
== 0.8.3 2011-06-15
* Major enhancements
* Better support for literal Arrays.
* Support for Hash methods and Hash literals.
* Minor enhancements
* Added some methods for basic types.
* Fixed a bug where evaluated string would be altered.
* Added support for true and false classes.
== 0.8.2 2011-01-15
* Minor enhancements
* Fixed a bug with literal value pre-processing.
== 0.8.1 2011-01-15
* Major enhancements
* Added support for Array method on list types.
* Changed API for Proc types (we now send 'helper, this, args').
* Passing receiver on pre_processor resolution.
* Enable receiver rewrite.
* Added support for pre-processing on elements that can be nil.
== 0.8.0 2010-11-15
* Major enhancements
* Better resolution when receiving dynamic classes or proxy.
* Fixed a bug where anonymous classes would be memoized.
== 0.7.0 2010-09-13
* Major enhancements
* Warning: changed RubyLess.translate to use (helper, code) instead of (code, helper).
* Enable contextual method resolution by passing the receiver in method resolution.
* Enable translation starting with a TypedString: RubyLess.translate(typed_string, method).
== 0.6.0 2010-07-22
* Major enhancements
* Added 'safe_eval' method.
* Added 'safe_eval_string' method.
* Better handling of syntax errors.
* Support for constants.
* Minor enhancements
* Added safe methods on Time (compare, add/subtract number).
== 0.5.0 2010-05-27
* Major enhancements
* Added 'accept_nil' option.
* Added 'append_hash' options.
* RubyLess activation is now enabled with 'include RubyLess' (no need for SafeClass).
* Added support for compile time literal args evaluation.
* Added support for compile time literal args evaluation on literal objects (strings for example).
* All method signatures that have an optional hash should accept calls without the last hash.
* Better error messages for missing methods.
* Added support for Array with Mixed array detection.
* Added support for pre_processing with helper method.
* Added support for method detection on NilClass.
== 0.4.0 2010-03-21
* 4 major enhancements
* Parsing inheritance tree to get safe_method_type.
* Instance variable (ivar) support (declared as safe_methods).
* Added support for prepend variables to tranform methods like link("foo") to link(@node, "foo").
* Better handling of sub-types in signature matching.
* 5 minor enhancements
* Moved files into a ruby_less directory to enable file auto-loading.
* Raises RubyLess::NoMethodError / RubyLess::SyntaxError instead of generic Error.
* Improved error reporting use method signature.
* Added 'safe_literal_class' to enable/disable ruby literals.
* Added 'RubyLess.translate_string' method.
== 0.3.5 2009-11-08
* 1 major enhancement
* Added support for hash in signature: ['img', {'mode' => String, 'class' => String}].
* 1 minor enhancement
* Added 'disable_safe_read' method.
== 0.3.4 2009-11-05
* 1 minor enhancement
* Added 'safe_context' method.
== 0.3.3 2009-10-26
* 1 minor enhancement
* Added support for symbols (only used with helper).
== 0.3.2 2009-10-15
* 1 minor enhancement
* Removed 'ruby-debug' require.
== 0.3.1 2009-10-07
* 3 major enhancements
* Method name in signatures should always be a string.
* Type[:method] is always set and is always a string.
* Fixed how class type is guessed from ActiveRecord column.
* 1 minor enhancement
* Added 'safe_read' method to objects.
== 0.3.1 2009-10-03
* 1 major enhancement
* Moved from ParseTree to RubyParser.
* 1 minor enhancement:
* Using Mr Bones to generate gems.
== 0.2.1 2009-07-01
* 2 minor enhancements:
* :[] method is now treated as in conventional ruby (foo[:bar], not foo.[](:bar)).
* Better error reporting in case of signature mismatch.
== 0.2.0 2009-06-02
* 1 major enhancement:
* Added support for ActiveRecord attributes.
* 2 minor enhancements:
* Better documentation
* Removed eval (this means safe methods are globally declared).
== 0.1.0 2009-06-02
* 1 major enhancement:
* Initial alpha release.