Browse code

prepared the 2.7.0 release

Fabien Potencier authored on 12/03/2019 12:46:23
Showing 2 changed files
... ...
@@ -1,5 +1,8 @@
1
-* 2.7.0 (2019-XX-XX)
1
+* 2.7.0 (2019-03-12)
2 2
 
3
+ * fixed sandbox security issue (under some circumstances, calling the
4
+   __toString() method on an object was possible even if not allowed by the
5
+   security policy)
3 6
  * fixed batch filter clobbers array keys when fill parameter is used
4 7
  * added preserveKeys support for the batch filter
5 8
  * fixed "embed" support when used from "template_from_string"
... ...
@@ -38,12 +38,12 @@ use Twig\TokenParser\TokenParserInterface;
38 38
  */
39 39
 class Environment
40 40
 {
41
-    const VERSION = '2.7.0-DEV';
41
+    const VERSION = '2.7.0';
42 42
     const VERSION_ID = 20700;
43 43
     const MAJOR_VERSION = 2;
44 44
     const MINOR_VERSION = 7;
45 45
     const RELEASE_VERSION = 0;
46
-    const EXTRA_VERSION = 'DEV';
46
+    const EXTRA_VERSION = '';
47 47
 
48 48
     private $charset;
49 49
     private $loader;