1
# Liquid Version History
5
* Several speed/memory improvements
7
* Added support for MRI 1.9, Rubinius, and JRuby
8
* Added support for integer drop parameters
9
* Added epoch support to `date` filter
10
* New `raw` tag that suppresses parsing
11
* Added `else` option to `for` tag
18
* Added support for literal tags
23
* Compatible with Ruby 1.8.7, 1.9.1 and 1.9.2-p0
24
* Merged some changed made by the community
29
* Fixed gem install rake task
30
* Improve Error encapsulation in liquid by maintaining a own set of exceptions instead of relying on ruby build ins
35
* Added If with or / and expressions
36
* Implemented .to_liquid for all objects which can be passed to liquid like Strings Arrays Hashes Numerics and Booleans. To export new objects to liquid just implement .to_liquid on them and return objects which themselves have .to_liquid methods.
37
* Added more tags to standard library
38
* Added include tag ( like partials in rails )
39
* [...] Gazillion of detail improvements
40
* Added strainers as filter hosts for better security [Tobias Luetke]
41
* Fixed that rails integration would call filter with the wrong "self" [Michael Geary]
42
* Fixed bad error reporting when a filter called a method which doesn't exist. Liquid told you that it couldn't find the filter which was obviously misleading [Tobias Luetke]
43
* Removed count helper from standard lib. use size [Tobias Luetke]
44
* Fixed bug with string filter parameters failing to tolerate commas in strings. [Paul Hammond]
45
* Improved filter parameters. Filter parameters are now context sensitive; Types are resolved according to the rules of the context. Multiple parameters are now separated by the Liquid::ArgumentSeparator: , by default [Paul Hammond]
46
{{ 'Typo' | link_to: 'http://typo.leetsoft.com', 'Typo - a modern weblog engine' }}
47
* Added Liquid::Drop. A base class which you can use for exporting proxy objects to liquid which can acquire more data when used in liquid. [Tobias Luetke]
49
class ProductDrop < Liquid::Drop
51
Shop.current.products.find(:all, :order => 'sales', :limit => 10 )
54
t = Liquid::Template.parse( ' {% for product in product.top_sales %} {{ product.name }} {% endfor %} ' )
55
t.render('product' => ProductDrop.new )
56
* Added filter parameters support. Example: {{ date | format_date: "%Y" }} [Paul Hammond]