[TASK] Upgrade Fluid dependency to 1.1.0 85/50185/3
authorClaus Due <claus@namelesscoder.net>
Tue, 11 Oct 2016 13:38:43 +0000 (15:38 +0200)
committerBenni Mack <benni@typo3.org>
Tue, 11 Oct 2016 14:02:35 +0000 (16:02 +0200)
This task upgrades the version of Standalone Fluid being
used from 1.0.10 to 1.1.0.

List of changes:

https://github.com/TYPO3Fluid/Fluid/compare/36421713a58b1dcab9b34f222f434517f2d1316e...1.1.0

Change-Id: Ie6604362a5550c9c0878be33c9978e080f50941a
Releases: master
Reviewed-on: https://review.typo3.org/50185
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Tobi Kretschmann <tobi@tobishome.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tobi Kretschmann <tobi@tobishome.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
composer.json
composer.lock
typo3/sysext/fluid/Classes/Core/Cache/FluidTemplateCache.php

index 53f2675..12aeca7 100644 (file)
@@ -46,7 +46,7 @@
                "psr/http-message": "~1.0",
                "cogpowered/finediff": "~0.3.1",
                "mso/idna-convert": "^1.1.0",
-               "typo3fluid/fluid": "^1.0.7",
+               "typo3fluid/fluid": "^1.1",
                "guzzlehttp/guzzle": "^6.2.1",
                "doctrine/dbal": "~2.5.4"
        },
index 73f5ef1..eec900e 100644 (file)
@@ -4,8 +4,8 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
         "This file is @generated automatically"
     ],
-    "hash": "b02a9f251f5ef805856c15659d426bce",
-    "content-hash": "95a9b2af3b7273cc680a478511eb6a1d",
+    "hash": "d871cb37d3ddba70d6b9bc6324aee61c",
+    "content-hash": "7b9db90f3627e82a91c23748c8e70920",
     "packages": [
         {
             "name": "cogpowered/finediff",
         },
         {
             "name": "typo3fluid/fluid",
-            "version": "1.0.9",
+            "version": "1.1.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/TYPO3Fluid/Fluid.git",
-                "reference": "52861b6ba2a4d239420c2e207668f4bd96a3b6c6"
+                "reference": "9c0fd385abb0afeb6b19c9651ec9d558143cff56"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/TYPO3Fluid/Fluid/zipball/52861b6ba2a4d239420c2e207668f4bd96a3b6c6",
-                "reference": "52861b6ba2a4d239420c2e207668f4bd96a3b6c6",
+                "url": "https://api.github.com/repos/TYPO3Fluid/Fluid/zipball/9c0fd385abb0afeb6b19c9651ec9d558143cff56",
+                "reference": "9c0fd385abb0afeb6b19c9651ec9d558143cff56",
                 "shasum": ""
             },
             "require": {
                 "LGPL-3.0"
             ],
             "description": "The TYPO3 Fluid template rendering engine",
-            "time": "2016-08-30 14:04:02"
+            "time": "2016-10-10 22:59:23"
         }
     ],
     "packages-dev": [
index 507712b..6f4586d 100644 (file)
@@ -17,6 +17,8 @@ namespace TYPO3\CMS\Fluid\Core\Cache;
 use TYPO3\CMS\Core\Cache\Exception\InvalidDataException;
 use TYPO3\CMS\Core\Cache\Frontend\PhpFrontend;
 use TYPO3Fluid\Fluid\Core\Cache\FluidCacheInterface;
+use TYPO3Fluid\Fluid\Core\Cache\FluidCacheWarmerInterface;
+use TYPO3Fluid\Fluid\Core\Cache\StandardCacheWarmer;
 
 /**
  * Class FluidTemplateCache
@@ -60,4 +62,12 @@ class FluidTemplateCache extends PhpFrontend implements FluidCacheInterface
         }
         parent::set($entryIdentifier, $sourceCode, $tags, time() + 86400);
     }
+
+    /**
+     * @return FluidCacheWarmerInterface
+     */
+    public function getCacheWarmer()
+    {
+        return new StandardCacheWarmer();
+    }
 }