[!!!][TASK] Update doctrine/dbal 2.6.3 ❯ 2.7.1 81/56681/6
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 16 Apr 2018 11:26:36 +0000 (13:26 +0200)
committerBenni Mack <benni@typo3.org>
Wed, 25 Apr 2018 05:17:08 +0000 (07:17 +0200)
Command used:
composer require doctrine/dbal:^2.7

Resolves: #84744
Releases: master
Change-Id: I7b063cd15d8bc7f9c466d654f890c6c56eeb3c25
Reviewed-on: https://review.typo3.org/56681
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
composer.json
composer.lock
typo3/sysext/core/Documentation/Changelog/master/Breaking-84744-RaiseDoctrinedbal-version.rst [new file with mode: 0644]
typo3/sysext/core/composer.json

index fac55ba..4f3a4ad 100644 (file)
@@ -38,7 +38,7 @@
                "ext-xml": "*",
                "cogpowered/finediff": "~0.3.1",
                "doctrine/annotations": "^1.3",
-               "doctrine/dbal": "^2.6",
+               "doctrine/dbal": "^2.7",
                "doctrine/instantiator": "~1.0.4",
                "guzzlehttp/guzzle": "^6.3.0",
                "mso/idna-convert": "^1.1.0",
index 1014f5a..2a075a8 100644 (file)
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
         "This file is @generated automatically"
     ],
-    "content-hash": "e6f2a9323374aa949ff6216cc34aeaa1",
+    "content-hash": "6b404527bc7f74c90e989244e882ba8f",
     "packages": [
         {
             "name": "cogpowered/finediff",
         },
         {
             "name": "doctrine/dbal",
-            "version": "v2.6.3",
+            "version": "v2.7.1",
             "source": {
                 "type": "git",
                 "url": "https://github.com/doctrine/dbal.git",
-                "reference": "e3eed9b1facbb0ced3a0995244843a189e7d1b13"
+                "reference": "11037b4352c008373561dc6fc836834eed80c3b5"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/doctrine/dbal/zipball/e3eed9b1facbb0ced3a0995244843a189e7d1b13",
-                "reference": "e3eed9b1facbb0ced3a0995244843a189e7d1b13",
+                "url": "https://api.github.com/repos/doctrine/dbal/zipball/11037b4352c008373561dc6fc836834eed80c3b5",
+                "reference": "11037b4352c008373561dc6fc836834eed80c3b5",
                 "shasum": ""
             },
             "require": {
                 "php": "^7.1"
             },
             "require-dev": {
-                "phpunit/phpunit": "^5.4.6",
+                "doctrine/coding-standard": "^4.0",
+                "phpunit/phpunit": "^7.0",
                 "phpunit/phpunit-mock-objects": "!=3.2.4,!=3.2.5",
-                "symfony/console": "2.*||^3.0"
+                "symfony/console": "^2.0.5||^3.0",
+                "symfony/phpunit-bridge": "^3.4.5|^4.0.5"
             },
             "suggest": {
                 "symfony/console": "For helpful console commands such as SQL execution and import of files."
             "type": "library",
             "extra": {
                 "branch-alias": {
-                    "dev-master": "2.6.x-dev"
+                    "dev-master": "2.7.x-dev"
                 }
             },
             "autoload": {
                 "persistence",
                 "queryobject"
             ],
-            "time": "2017-11-19T13:38:54+00:00"
+            "time": "2018-04-07T18:44:18+00:00"
         },
         {
             "name": "doctrine/inflector",
diff --git a/typo3/sysext/core/Documentation/Changelog/master/Breaking-84744-RaiseDoctrinedbal-version.rst b/typo3/sysext/core/Documentation/Changelog/master/Breaking-84744-RaiseDoctrinedbal-version.rst
new file mode 100644 (file)
index 0000000..9068aaf
--- /dev/null
@@ -0,0 +1,42 @@
+.. include:: ../../Includes.txt
+
+==============================================
+Breaking: #84744 - Raise doctrine/dbal-version
+==============================================
+
+See :issue:`84744`
+
+Description
+===========
+
+The upgrade doctrine/dbal to 2.7.1 came with a potentially breaking change that makes
+it necessary to adjust the format of DateInterval fields.
+
+Those fields can now be negative as well and thus are expected to begin with either
+`+` or `-`.
+
+
+Impact
+======
+
+Users not having prefixes in DateInterval fields will be greeted by a `ConversionException`.
+
+We do not expect many (if any) TYPO3 users to be affected by this change.
+
+You can read up on the topic at https://github.com/doctrine/dbal/pull/2579 and https://github.com/doctrine/dbal/releases/tag/v2.7.0.
+
+
+Affected Installations
+======================
+
+Users with existing DateInterval fields that don't yet use the proper field prefix.
+
+
+Migration
+=========
+
+Manually provide the proper prefixes in your DateInterval fields.
+
+If you didn't use negative DateIntervals yet, you can safely prefix your data with `+`.
+
+.. index:: Database, PHP-API, NotScanned
\ No newline at end of file
index ff70019..799968e 100644 (file)
@@ -20,7 +20,7 @@
                "ext-xml": "*",
                "cogpowered/finediff": "~0.3.1",
                "doctrine/annotations": "^1.3",
-               "doctrine/dbal": "^2.6",
+               "doctrine/dbal": "^2.7",
                "doctrine/instantiator": "~1.0.4",
                "guzzlehttp/guzzle": "^6.3.0",
                "mso/idna-convert": "^1.1.0",