Project

General

Profile

« Previous | Next » 

Revision 1938

Added by darkviper almost 11 years ago

update Twig template engine to version 1.13.1

View differences:

CHANGELOG
1
* 1.13.1 (2013-06-06)
2

  
3
 * added the possibility to ignore the filesystem constructor argument in Twig_Loader_Filesystem
4
 * fixed Twig_Loader_Chain::exists() for a loader which implements Twig_ExistsLoaderInterface
5
 * adjusted backtrace call to reduce memory usage when an error occurs
6
 * added support for object instances as the second argument of the constant test
7
 * fixed the include function when used in an assignment
8

  
9
* 1.13.0 (2013-05-10)
10

  
11
 * fixed getting a numeric-like item on a variable ('09' for instance)
12
 * fixed getting a boolean or float key on an array, so it is consistent with PHP's array access:
13
   `{{ array[false] }}` behaves the same as `echo $array[false];` (equals `$array[0]`)
14
 * made the escape filter 20% faster for happy path (escaping string for html with UTF-8)
15
 * changed ☃ to § in tests
16
 * enforced usage of named arguments after positional ones
17

  
18
* 1.12.3 (2013-04-08)
19

  
20
 * fixed a security issue in the filesystem loader where it was possible to include a template one
21
   level above the configured path
22
 * fixed fatal error that should be an exception when adding a filter/function/test too late
23
 * added a batch filter
24
 * added support for encoding an array as query string in the url_encode filter
25

  
1 26
* 1.12.2 (2013-02-09)
2 27

  
3 28
 * fixed the timezone used by the date filter and function when the given date contains a timezone (like 2010-01-28T15:00:00+02:00)
......
381 406
 * enhanced error messages when an unexpected token is parsed in an expression
382 407
 * fixed filename not being added to syntax error messages
383 408
 * added the autoescape option to enable/disable autoescaping
384
 * removed the newline after a comment (mimicks PHP behavior)
409
 * removed the newline after a comment (mimics PHP behavior)
385 410
 * added a syntax error exception when parent block is used on a template that does not extend another one
386 411
 * made the Escaper extension enabled by default
387 412
 * fixed sandbox extension when used with auto output escaping

Also available in: Unified diff