CHANGELOG
147e5d6d
 * 1.8.3 (2012-06-17)
82e73f6b
 
120c44d6
  * fixed paths in the filesystem loader when passing a path that ends with a slash or a backslash
0d5dbede
  * fixed escaping when a project defines a function named html or js
d4511d02
  * fixed chmod mode to apply the umask correctly
82e73f6b
 
2afc5136
 * 1.8.2 (2012-05-30)
875fa010
 
78a935b6
  * added the abs filter
573a3609
  * fixed a regression when using a number in template attributes
0fa26d64
  * fixed compiler when mbstring.func_overload is set to 2
c53a02de
  * fixed DateTimeZone support in date filter
875fa010
 
0bee0375
 * 1.8.1 (2012-05-17)
92525482
 
8ec73cf4
  * fixed a regression when dealing with SimpleXMLElement instances in templates
621c7b57
  * fixed "is_safe" value for the "dump" function when "html_errors" is not defined in php.ini
4618d753
  * switched to use mbstring whenever possible instead of iconv (you might need to update your encoding as mbstring and iconv encoding names sometimes differ)
92525482
 
87766410
 * 1.8.0 (2012-05-08)
40c96688
 
db32d5ef
  * enforced interface when adding tests, filters, functions, and node visitors from extensions
606d6dc1
  * fixed a side-effect of the date filter where the timezone might be changed
75d97b4a
  * simplified usage of the autoescape tag; the only (optional) argument is now the escaping strategy or false (with a BC layer)
1f00c33a
  * added a way to dynamically change the auto-escaping strategy according to the template "filename"
109db731
  * changed the autoescape option to also accept a supported escaping strategy (for BC, true is equivalent to html)
fab21d8a
  * added an embed tag
40c96688
 
6ac8791d
 * 1.7.0 (2012-04-24)
50421c86
 
f3491b5c
  * fixed a PHP warning when using CIFS
e7313a78
  * fixed template line number in some exceptions
48aae186
  * added an iterable test
0add6e23
  * added an error when defining two blocks with the same name in a template
944a0146
  * added the preserves_safety option for filters
4e28408c
  * fixed a PHP notice when trying to access a key on a non-object/array variable
1b47b401
  * enhanced error reporting when the template file is an instance of SplFileInfo
f2f1f32b
  * added Twig_Environment::mergeGlobals()
1f6e640d
  * added compilation checks to avoid misuses of the sandbox tag
999e54ef
  * fixed filesystem loader freshness logic for high traffic websites
06361ca3
  * fixed random function when charset is null
50421c86
 
58fbe0da
 * 1.6.5 (2012-04-11)
 
  * fixed a regression when a template only extends another one without defining any blocks
 
ff61094a
 * 1.6.4 (2012-04-02)
ab016bd6
 
aa4efe1c
  * fixed PHP notice in Twig_Error::guessTemplateLine() introduced in 1.6.3
27f55cc5
  * fixed performance when compiling large files
1e9a1ae0
  * optimized parent template creation when the template does not use dynamic inheritance
ab016bd6
 
c2a53a26
 * 1.6.3 (2012-03-22)
2ecd314d
 
4a0773a8
  * fixed usage of Z_ADDREF_P for PHP 5.2 in the C extension
90931b0a
  * fixed compilation of numeric values used in templates when using a locale where the decimal separator is not a dot
49ee8d6e
  * made the strategy used to guess the real template file name and line number in exception messages much faster and more accurate
2ecd314d
 
f43cc520
 * 1.6.2 (2012-03-18)
d942d11f
 
50e73b20
  * fixed sandbox mode when used with inheritance
c0a9c8bb
  * added preserveKeys support for the slice filter
a3310e75
  * fixed the date filter when a DateTime instance is passed with a specific timezone
d942d11f
  * added a trim filter
 
30929fde
 * 1.6.1 (2012-02-29)
20394560
 
741b11c6
  * fixed Twig C extension
07385f6a
  * removed the creation of Twig_Markup instances when not needed
4dee4e58
  * added a way to set the default global timezone for dates
2bcd60c9
  * fixed the slice filter on strings when the length is not specified
5b5de2c7
  * fixed the creation of the cache directory in case of a race condition
20394560
 
9154d276
 * 1.6.0 (2012-02-04)
e74205e2
 
310020ac
  * fixed raw blocks when used with the whitespace trim option
e81c932e
  * made a speed optimization to macro calls when imported via the "from" tag
58f7fa35
  * fixed globals, parsers, visitors, filters, tests, and functions management in Twig_Environment when a new one or new extension is added
883a93bb
  * fixed the attribute function when passing arguments
d9dc813d
  * added slice notation support for the [] operator (syntactic sugar for the slice operator)
  * added a slice filter
4578c176
  * added string support for the reverse filter
68fa9c9b
  * fixed the empty test and the length filter for Twig_Markup instances
764829f5
  * added a date function to ease date comparison
c07014a3
  * fixed unary operators precedence
02557644
  * added recursive parsing support in the parser
faa90c92
  * added string and integer handling for the random function
e74205e2
 
5bba1497
 * 1.5.1 (2012-01-05)
d76d670b
 
5bba1497
  * fixed a regression when parsing strings
d76d670b
 
f6e49636
 * 1.5.0 (2012-01-04)
19ba9c21
 
  * added Traversable objects support for the join filter
 
956830c7
 * 1.5.0-RC2 (2011-12-30)
88de4577
 
736dfa84
  * added a way to set the default global date interval format
519b6805
  * fixed the date filter for DateInterval instances (setTimezone() does not exist for them)
fc85a168
  * refactored Twig_Template::display() to ease its extension
88de4577
  * added a number_format filter
 
fb6d5660
 * 1.5.0-RC1 (2011-12-26)
460ba4d6
 
f3de043d
  * removed the need to quote hash keys
591f982b
  * allowed hash keys to be any expression
4aba337c
  * added a do tag
26453bff
  * added a flush tag
4f19c7a0
  * added support for dynamically named filters and functions
865a7039
  * added a dump function to help debugging templates
932a4d8d
  * added a nl2br filter
89a1519e
  * added a random function
f8b7441e
  * added a way to change the default format for the date filter
ae250f6b
  * fixed the lexer when an operator ending with a letter ends a line
6e2d7ba1
  * added string interpolation support
08bda723
  * enhanced exceptions for unknown filters, functions, tests, and tags
460ba4d6
 
0b7d6dfa
 * 1.4.0 (2011-12-07)
c6917a28
 
a6f9f9b5
  * fixed lexer when using big numbers (> PHP_INT_MAX)
6e3a1c40
  * added missing preserveKeys argument to the reverse filter
c6917a28
  * fixed macros containing filter tag calls
 
7d56687f
 * 1.4.0-RC2 (2011-11-27)
9d2272ef
 
7bc07dc1
  * removed usage of Reflection in Twig_Template::getAttribute()
fa71922a
  * added a C extension that can optionally replace Twig_Template::getAttribute()
9d2272ef
  * added negative timestamp support to the date filter
 
2e268ccd
 * 1.4.0-RC1 (2011-11-20)
4c2ecdb6
 
1b32617b
  * optimized variable access when using PHP 5.4
10c799fd
  * changed the precedence of the .. operator to be more consistent with languages that implements such a feature like Ruby
a3fcbd62
  * added an Exception to Twig_Loader_Array::isFresh() method when the template does not exist to be consistent with other loaders
9117fc1c
  * added Twig_Function_Node to allow more complex functions to have their own Node class
3427adc7
  * added Twig_Filter_Node to allow more complex filters to have their own Node class
b1d06ccb
  * added Twig_Test_Node to allow more complex tests to have their own Node class
083d8390
  * added a better error message when a template is empty but contain a BOM
3427adc7
  * fixed "in" operator for empty strings
29534aad
  * fixed the "defined" test and the "default" filter (now works with more than one call (foo.bar.foo) and for both values of the strict_variables option)
2c7b5651
  * changed the way extensions are loaded (addFilter/addFunction/addGlobal/addTest/addNodeVisitor/addTokenParser/addExtension can now be called in any order)
d1096613
  * added Twig_Environment::display()
344043e8
  * made the escape filter smarter when the encoding is not supported by PHP
c015e818
  * added a convert_encoding filter
24086287
  * moved all node manipulations outside the compile() Node method
  * made several speed optimizations
 
8dcc0b30
 * 1.3.0 (2011-10-08)
 
 no changes
 
5c1277eb
 * 1.3.0-RC1 (2011-10-04)
56f82db1
 
f96d8d82
  * added an optimization for the parent() function
d472d215
  * added cache reloading when auto_reload is true and an extension has been modified
46080c90
  * added the possibility to force the escaping of a string already marked as safe (instance of Twig_Markup)
56f82db1
  * allowed empty templates to be used as traits
d101a059
  * added traits support for the "parent" function
56f82db1
 
4a505799
 * 1.2.0 (2011-09-13)
 
 no changes
 
 * 1.2.0-RC1 (2011-09-10)
f918219c
 
4ea393ad
  * enhanced the exception when a tag remains unclosed
e9b041f9
  * added support for empty Countable objects for the "empty" test
f20450d1
  * fixed algorithm that determines if a template using inheritance is valid (no output between block definitions)
453c3e8b
  * added better support for encoding problems when escaping a string (available as of PHP 5.4)
c56dd32f
  * added a way to ignore a missing template when using the "include" tag ({% include "foo" ignore missing %})
4402ee2c
  * added support for an array of templates to the "include" and "extends" tags ({% include ['foo', 'bar'] %})
acd36630
  * added support for bitwise operators in expressions
c609060f
  * added the "attribute" function to allow getting dynamic attributes on variables
517c2336
  * added Twig_Loader_Chain
d6ebae56
  * added Twig_Loader_Array::setTemplate()
7b5e5969
  * added an optimization for the set tag when used to capture a large chunk of static text
112a16bf
  * changed name regex to match PHP one "[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*" (works for blocks, tags, functions, filters, and macros)
801f3e63
  * removed the possibility to use the "extends" tag from a block
46eccb9a
  * added "if" modifier support to "for" loops
f918219c
 
396435ec
 * 1.1.2 (2011-07-30)
6783d581
 
c7be5242
  * fixed json_encode filter on PHP 5.2
b4e9c0f6
  * fixed regression introduced in 1.1.1 ({{ block(foo|lower) }})
d67832ea
  * fixed inheritance when using conditional parents
7f5390a6
  * fixed compilation of templates when the body of a child template is not empty
ea839728
  * fixed output when a macro throws an exception
6783d581
  * fixed a parsing problem when a large chunk of text is enclosed in a comment tag
b42d8f3e
  * added PHPDoc for all Token parsers and Core extension functions
6783d581
 
94ac20f1
 * 1.1.1 (2011-07-17)
2527c656
 
a27175b7
  * added a performance optimization in the Optimizer (also helps to lower the number of nested level calls)
2527c656
  * made some performance improvement for some edge cases
 
661e9c7a
 * 1.1.0 (2011-06-28)
 
  * fixed json_encode filter
 
066d561e
 * 1.1.0-RC3 (2011-06-24)
04969569
 
83a0cbab
  * fixed method case-sensitivity when using the sandbox mode
04969569
  * added timezone support for the date filter
  * fixed possible security problems with NUL bytes
 
6c442bd9
 * 1.1.0-RC2 (2011-06-16)
 
47818dd2
  * added an exception when the template passed to "use" is not a string
4d043d47
  * made 'a.b is defined' not throw an exception if a is not defined (in strict mode)
6c442bd9
  * added {% line \d+ %} directive
 
38075481
 * 1.1.0-RC1 (2011-05-28)
ad427be3
 
 Flush your cache after upgrading.
 
2901acd5
  * fixed date filter when using a timestamp
  * fixed the defined test for some cases
  * fixed a parsing problem when a large chunk of text is enclosed in a raw tag
d2afbc95
  * added support for horizontal reuse of template blocks (see docs for more information)
f782f1ec
  * added whitespace control modifier to all tags (see docs for more information)
b340d98d
  * added null as an alias for none (the null test is also an alias for the none test now)
76205f1e
  * made TRUE, FALSE, NONE equivalent to their lowercase counterparts
cae8293c
  * wrapped all compilation and runtime exceptions with Twig_Error_Runtime and added logic to guess the template name and line
ad427be3
  * moved display() method to Twig_Template (generated templates should now use doDisplay() instead)
 
2f106a80
 * 1.0.0 (2011-03-27)
e96ed3f6
 
8fb00522
  * fixed output when using mbstring
  * fixed duplicate call of methods when using the sandbox
  * made the charset configurable for the escape filter
2f106a80
 
 * 1.0.0-RC2 (2011-02-21)
 
1ac50758
  * changed the way {% set %} works when capturing (the content is now marked as safe)
c0945a25
  * added support for macro name in the endmacro tag
a1c33ec0
  * make Twig_Error compatible with PHP 5.3.0 >
8fb00522
  * fixed an infinite loop on some Windows configurations
5b6d255a
  * fixed the "length" filter for numbers
a1c33ec0
  * fixed Template::getAttribute() as properties in PHP are case sensitive
64f63bef
  * removed coupling between Twig_Node and Twig_Template
ac9e4eec
  * fixed the ternary operator precedence rule
e96ed3f6
 
b5d97e2c
 * 1.0.0-RC1 (2011-01-09)
283fce6b
 
14341443
 Backward incompatibilities:
 
4c237b22
  * the "items" filter, which has been deprecated for quite a long time now, has been removed
  * the "range" filter has been converted to a function: 0|range(10) -> range(0, 10)
  * the "constant" filter has been converted to a function: {{ some_date|date('DATE_W3C'|constant) }} -> {{ some_date|date(constant('DATE_W3C')) }}
  * the "cycle" filter has been converted to a function: {{ ['odd', 'even']|cycle(i) }} -> {{ cycle(['odd', 'even'], i) }}
  * the "for" tag does not support "joined by" anymore
  * the "autoescape" first argument is now "true"/"false" (instead of "on"/"off")
  * the "parent" tag has been replaced by a "parent" function ({{ parent() }} instead of {% parent %})
  * the "display" tag has been replaced by a "block" function ({{ block('title') }} instead of {% display title %})
26633404
  * removed the grammar and simple token parser (moved to the Twig Extensions repository)
14341443
 
 Changes:
283fce6b
 
957a30af
  * added "needs_context" option for filters and functions (the context is then passed as a first argument)
afa47bd9
  * added global variables support
7fc59277
  * made macros return their value instead of echoing directly (fixes calling a macro in sandbox mode)
9d77cf22
  * added the "from" tag to import macros as functions
1621435b
  * added support for functions (a function is just syntactic sugar for a getAttribute() call)
c66cfa1d
  * made macros callable when sandbox mode is enabled
eedce661
  * added an exception when a macro uses a reserved name
583718ee
  * the "default" filter now uses the "empty" test instead of just checking for null
0d424bff
  * added the "empty" test
 
6182ade6
 * 0.9.10 (2010-12-16)
c54e0dad
 
dc3e1cb6
 Backward incompatibilities:
 
  * The Escaper extension is enabled by default, which means that all displayed
    variables are now automatically escaped. You can revert to the previous
16e4c078
    behavior by removing the extension via $env->removeExtension('escaper')
    or just set the 'autoescape' option to 'false'.
ac0b54c1
  * removed the "without loop" attribute for the "for" tag (not needed anymore
    as the Optimizer take care of that for most cases)
4505200d
  * arrays and hashes have now a different syntax
      * arrays keep the same syntax with square brackets: [1, 2]
      * hashes now use curly braces (["a": "b"] should now be written as {"a": "b"})
      * support for "arrays with keys" and "hashes without keys" is not supported anymore ([1, "foo": "bar"] or {"foo": "bar", 1})
2e551414
  * the i18n extension is now part of the Twig Extensions repository
dc3e1cb6
 
 Changes:
 
b7923821
  * added the merge filter
148f8211
  * removed 'is_escaper' option for filters (a left over from the previous version) -- you must use 'is_safe' now instead
3c01290c
  * fixed usage of operators as method names (like is, in, and not)
2e08bd70
  * changed the order of execution for node visitors
e0ea4a96
  * fixed default() filter behavior when used with strict_variables set to on
48ac60e0
  * fixed filesystem loader compatibility with PHAR files
c202b289
  * enhanced error messages when an unexpected token is parsed in an expression
8f33ca71
  * fixed filename not being added to syntax error messages
cda18ed9
  * added the autoescape option to enable/disable autoescaping
77bec048
  * removed the newline after a comment (mimicks PHP behavior)
08bd27f7
  * added a syntax error exception when parent block is used on a template that does not extend another one
18a31714
  * made the Escaper extension enabled by default
c12fd846
  * fixed sandbox extension when used with auto output escaping
  * fixed escaper when wrapping a Twig_Node_Print (the original class must be preserved)
18a31714
  * added an Optimizer extension (enabled by default; optimizes "for" loops and "raw" filters)
5c5a9d45
  * added priority to node visitors
 
399a8f5c
 * 0.9.9 (2010-11-28)
0f66b5a0
 
80af3153
 Backward incompatibilities:
  * the self special variable has been renamed to _self
5d6e7e2e
  * the odd and even filters are now tests:
7fc7180c
      {{ foo|odd }} must now be written {{ foo is odd }}
56caee09
  * the "safe" filter has been renamed to "raw"
29b020eb
  * in Node classes,
         sub-nodes are now accessed via getNode() (instead of property access)
         attributes via getAttribute() (instead of array access)
12fd54f1
  * the urlencode filter had been renamed to url_encode
10cab461
  * the include tag now merges the passed variables with the current context by default
    (the old behavior is still possible by adding the "only" keyword)
9d8583ef
  * moved Exceptions to Twig_Error_* (Twig_SyntaxError/Twig_RuntimeError are now Twig_Error_Syntax/Twig_Error_Runtime)
  * removed support for {{ 1 < i < 3 }} (use {{ i > 1 and i < 3 }} instead)
3027568b
  * the "in" filter has been removed ({{ a|in(b) }} should now be written {{ a in b }})
80af3153
 
18aaf36c
 Changes:
6c74b606
  * added file and line to Twig_Error_Runtime exceptions thrown from Twig_Template
bea562a2
  * changed trans tag to accept any variable for the plural count
c9e5a63c
  * fixed sandbox mode (__toString() method check was not enforced if called implicitly from complex statements)
9d8583ef
  * added the ** (power) operator
  * changed the algorithm used for parsing expressions
1d2afa09
  * added the spaceless tag
38acf6f1
  * removed trim_blocks option
001685ba
  * added support for is*() methods for attributes (foo.bar now looks for foo->getBar() or foo->isBar())
2a2d17b6
  * changed all exceptions to extend Twig_Error
f34e374b
  * fixed unary expressions ({{ not(1 or 0) }})
05738069
  * fixed child templates (with an extend tag) that uses one or more imports
011e727b
  * added support for {{ 1 not in [2, 3] }} (more readable than the current {{ not (1 in [2, 3]) }})
399a8f5c
  * escaping has been rewritten
15f32766
  * the implementation of template inheritance has been rewritten
    (blocks can now be called individually and still work with inheritance)
1230c210
  * fixed error handling for if tag when a syntax error occurs within a subparse process
f7febc0c
  * added a way to implement custom logic for resolving token parsers given a tag name
4541e88e
  * fixed js escaper to be stricter (now uses a whilelist-based js escaper)
12fd54f1
  * added the following filers: "constant", "trans", "replace", "json_encode"
1e9493df
  * added a "constant" test
2ff6cedb
  * fixed objects with __toString() not being autoescaped
839f1614
  * fixed subscript expressions when calling __call() (methods now keep the case)
5d6e7e2e
  * added "test" feature (accessible via the "is" operator)
30de2dae
  * removed the debug tag (should be done in an extension)
2595e7b3
  * fixed trans tag when no vars are used in plural form
  * fixed race condition when writing template cache
47788228
  * added the special _charset variable to reference the current charset
80af3153
  * added the special _context variable to reference the current context
  * renamed self to _self (to avoid conflict)
74dc1596
  * fixed Twig_Template::getAttribute() for protected properties
 
6886b2ca
 * 0.9.8 (2010-06-28)
fc038760
 
2c1eb310
 Backward incompatibilities:
  * the trans tag plural count is now attached to the plural tag:
     old: `{% trans count %}...{% plural %}...{% endtrans %}`
     new: `{% trans %}...{% plural count %}...{% endtrans %}`
 
  * added a way to translate strings coming from a variable ({% trans var %})
cccaf558
  * fixed trans tag when used with the Escaper extension
e1791929
  * fixed default cache umask
ad052d8e
  * removed Twig_Template instances from the debug tag output
1698c883
  * fixed objects with __isset() defined
e596d213
  * fixed set tag when used with a capture
7d641d61
  * fixed type hinting for Twig_Environment::addFilter() method
fc038760
 
a7a5f1d9
 * 0.9.7 (2010-06-12)
bfb861ba
 
7603ef19
 Backward incompatibilities:
8809a1ca
  * changed 'as' to '=' for the set tag ({% set title as "Title" %} must now be {% set title = "Title" %})
56318ee4
  * removed the sandboxed attribute of the include tag (use the new sandbox tag instead)
  * refactored the Node system (if you have custom nodes, you will have to update them to use the new API)
7603ef19
 
a8031fc9
  * added self as a special variable that refers to the current template (useful for importing macros from the current template)
7e926fc2
  * added Twig_Template instance support to the include tag
0f51a54f
  * added support for dynamic and conditional inheritance ({% extends some_var %} and {% extends standalone ? "minimum" : "base" %})
0ca17abc
  * added a grammar sub-framework to ease the creation of custom tags
d47902c7
  * fixed the for tag for large arrays (some loop variables are now only available for arrays and objects that implement the Countable interface)
56318ee4
  * removed the Twig_Resource::resolveMissingFilter() method
  * fixed the filter tag which did not apply filtering to included files
  * added a bunch of unit tests
  * added a bunch of phpdoc
  * added a sandbox tag in the sandbox extension
1847634d
  * changed the date filter to support any date format supported by DateTime
2ce6b27f
  * added strict_variable setting to throw an exception when an invalid variable is used in a template (disabled by default)
c7fbd430
  * added the lexer, parser, and compiler as arguments to the Twig_Environment constructor
dc80fe13
  * changed the cache option to only accepts an explicit path to a cache directory or false
255f0fb8
  * added a way to add token parsers, filters, and visitors without creating an extension
c4e80ee5
  * added three interfaces: Twig_NodeInterface, Twig_TokenParserInterface, and Twig_FilterInterface
d4534e84
  * changed the generated code to match the new coding standards
b63205a6
  * fixed sandbox mode (__toString() method check was not enforced if called implicitly from a simple statement like {{ article }})
9c253d69
  * added an exception when a child template has a non-empty body (as it is always ignored when rendering)
 
2ea01af0
 * 0.9.6 (2010-05-12)
29d16d99
 
2e1b12bc
  * fixed variables defined outside a loop and for which the value changes in a for loop
276a3804
  * fixed the test suite for PHP 5.2 and older versions of PHPUnit
79e50586
  * added support for __call() in expression resolution
  * fixed node visiting for macros (macros are now visited by visitors as any other node)
23a8d39d
  * fixed nested block definitions with a parent call (rarely useful but nonetheless supported now)
075f5415
  * added the cycle filter
6b6d5150
  * fixed the Lexer when mbstring.func_overload is used with an mbstring.internal_encoding different from ASCII
029bb5b5
  * added a long-syntax for the set tag ({% set foo %}...{% endset %})
7e8cdd7b
  * unit tests are now powered by PHPUnit
4625d2f8
  * added support for gettext via the `i18n` extension
94151eab
  * fixed twig_capitalize_string_filter() and fixed twig_length_filter() when used with UTF-8 values
  * added a more useful exception if an if tag is not closed properly
6c7d5603
  * added support for escaping strategy in the autoescape tag
11c00dcc
  * fixed lexer when a template has a big chunk of text between/in a block
29d16d99
 
83041be5
 * 0.9.5 (2010-01-20)
ce4670da
 
47d5f85c
 As for any new release, don't forget to remove all cached templates after
 upgrading.
 
215ed486
 If you have defined custom filters, you MUST upgrade them for this release. To
 upgrade, replace "array" with "new Twig_Filter_Function", and replace the
 environment constant by the "needs_environment" option:
 
   // before
   'even'   => array('twig_is_even_filter', false),
   'escape' => array('twig_escape_filter', true),
 
   // after
   'even'   => new Twig_Filter_Function('twig_is_even_filter'),
   'escape' => new Twig_Filter_Function('twig_escape_filter', array('needs_environment' => true)),
 
da590259
 If you have created NodeTransformer classes, you will need to upgrade them to
 the new interface (please note that the interface is not yet considered
 stable).
92d96e2e
 
84bf02bb
  * fixed list nodes that did not extend the Twig_NodeListInterface
83ea0a5e
  * added the "without loop" option to the for tag (it disables the generation of the loop variable)
92d96e2e
  * refactored node transformers to node visitors
  * fixed automatic-escaping for blocks
e2c7b2fa
  * added a way to specify variables to pass to an included template
2f0d54d0
  * changed the automatic-escaping rules to be more sensible and more configurable in custom filters (the documentation lists all the rules)
215ed486
  * improved the filter system to allow object methods to be used as filters
be7245cb
  * changed the Array and String loaders to actually make use of the cache mechanism
1a033bab
  * included the default filter function definitions in the extension class files directly (Core, Escaper)
575ed89d
  * added the // operator (like the floor() PHP function)
2ab4dd5b
  * added the .. operator (as a syntactic sugar for the range filter when the step is 1)
95d5cefd
  * added the in operator (as a syntactic sugar for the in filter)
575ed89d
  * added the following filters in the Core extension: in, range
ee5c9d93
  * added support for arrays (same behavior as in PHP, a mix between lists and dictionaries, arrays and hashes)
  * enhanced some error messages to provide better feedback in case of parsing errors
 
ce4670da
 * 0.9.4 (2009-12-02)
822fb857
 
d3ee1165
 If you have custom loaders, you MUST upgrade them for this release: The
 Twig_Loader base class has been removed, and the Twig_LoaderInterface has also
 been changed (see the source code for more information or the documentation).
 
07ca8a79
  * added support for DateTime instances for the date filter
a59e183f
  * fixed loop.last when the array only has one item
2ffcea6c
  * made it possible to insert newlines in tag and variable blocks
cd9ca837
  * fixed a bug when a literal '\n' were present in a template text
d47077ee
  * fixed bug when the filename of a template contains */
d3ee1165
  * refactored loaders
9584f0b3
 
 * 0.9.3 (2009-11-11)
 
 This release is NOT backward compatible with the previous releases.
 
   The loaders do not take the cache and autoReload arguments anymore. Instead,
   the Twig_Environment class has two new options: cache and auto_reload.
   Upgrading your code means changing this kind of code:
 
       $loader = new Twig_Loader_Filesystem('/path/to/templates', '/path/to/compilation_cache', true);
       $twig = new Twig_Environment($loader);
 
   to something like this:
 
       $loader = new Twig_Loader_Filesystem('/path/to/templates');
       $twig = new Twig_Environment($loader, array(
         'cache' => '/path/to/compilation_cache',
         'auto_reload' => true,
       ));
 
78ffe478
  * deprecated the "items" filter as it is not needed anymore
9584f0b3
  * made cache and auto_reload options of Twig_Environment instead of arguments of Twig_Loader
  * optimized template loading speed
  * removed output when an error occurs in a template and render() is used
5d28604a
  * made major speed improvements for loops (up to 300% on even the smallest loops)
  * added properties as part of the sandbox mode
  * added public properties support (obj.item can now be the item property on the obj object)
  * extended set tag to support expression as value ({% set foo as 'foo' ~ 'bar' %} )
  * fixed bug when \ was used in HTML
 
a9397b64
 * 0.9.2 (2009-10-29)
84bfd2da
 
a9397b64
  * made some speed optimizations
  * changed the cache extension to .php
  * added a js escaping strategy
  * added support for short block tag
  * changed the filter tag to allow chained filters
  * made lexer more flexible as you can now change the default delimiters
  * added set tag
  * changed default directory permission when cache dir does not exist (more secure)
abc9c5d5
  * added macro support
  * changed filters first optional argument to be a Twig_Environment instance instead of a Twig_Template instance
7ce2c3db
  * made Twig_Autoloader::autoload() a static method
6f535bc8
  * avoid writing template file if an error occurs
d11a3307
  * added $ escaping when outputting raw strings
f63d478b
  * enhanced some error messages to ease debugging
92b715f5
  * fixed empty cache files when the template contains an error
 
84bfd2da
 * 0.9.1 (2009-10-14)
00df3486
 
   * fixed a bug in PHP 5.2.6
   * fixed numbers with one than one decimal
   * added support for method calls with arguments ({{ foo.bar('a', 43) }})
   * made small speed optimizations
   * made minor tweaks to allow better extensibility and flexibility
 
 * 0.9.0 (2009-10-12)
 
0c98ebcd
  * Initial release