Problem/Motivation

Follow-up to #2712647: Update Symfony components to ~3.2 since 3.2.0 is already out. Symfony 3.2.0 was released on November 30, 2016. See #2712647: Update Symfony components to ~3.2 for the current status of the issue.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#37 interdiff.txt3.02 KBslasher13
#37 2831757-37.patch91.38 KBslasher13
#34 interdiff.txt1.91 KBslasher13
#34 2831757-34.patch95.63 KBslasher13
#33 2831757-33.patch93.93 KBslasher13
#26 2831757-26.patch94.18 KBslasher13
#21 2831757-21.patch92.7 KBslasher13
#21 interdiff.txt1.78 KBslasher13
#19 interdiff.txt41.97 KBslasher13
#19 2831757-19.patch91.14 KBslasher13
#18 interdiff-2712647-301.txt26.02 KBslasher13
#18 interdiff.txt12.51 KBslasher13
#18 2831757-18.patch96.27 KBslasher13
#13 interdiff.txt1.4 KBslasher13
#13 2831757-13.patch97.07 KBslasher13
#11 interdiff.txt1.22 KBslasher13
#11 2831757-11.patch95.67 KBslasher13
#7 interdiff.txt694 bytesWim Leers
#7 2831757-7.patch27.21 KBWim Leers
#4 2831757-4.patch27.22 KBWim Leers
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

catch created an issue. See original summary.

Wim Leers’s picture

Status: Postponed » Active
Wim Leers’s picture

Wim Leers’s picture

composer update symfony/*
Wim Leers’s picture

Issue tags: +Needs change record
klausi’s picture

Status: Needs review » Needs work
+++ b/core/composer.json
@@ -5,20 +5,20 @@
+        "symfony/dependency-injection": "~3.2",
+        "symfony/dom-crawler": ">=3.2 <4.0",
+        "symfony/event-dispatcher": "~3.2",
+        "symfony/http-foundation": ">=3.2 <4.0",
+        "symfony/http-kernel": "~3.2",

3.2 already contains the dom-crawler and http-foundation fixes, so we can use ~3.2. I hate the "~" operator because nobody can read it, but I hate inconsistency even more :-D

Wim Leers’s picture

hehe :)

The last submitted patch, 4: 2831757-4.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 7: 2831757-7.patch, failed testing.

jibran’s picture

The patch is missing symfony/css-selector.

slasher13’s picture

Status: Needs review » Needs work

The last submitted patch, 11: 2831757-11.patch, failed testing.

jibran’s picture

Do we have to update these files?

core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php
core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php
jibran’s picture

Do we have to update these files?

core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php
core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php
slasher13’s picture

In

core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php
core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php

we have only the changes from https://www.drupal.org/node/2712647.

Should I merge this into https://www.drupal.org/node/2712647 without https://www.drupal.org/node/2573807?

DamienMcKenna’s picture

Looking at it, it doesn't seem like #2573807 has any connection to this? I'd vote to merge this back into #2712647.

slasher13’s picture

slasher13’s picture

Status: Needs review » Needs work

The last submitted patch, 19: 2831757-19.patch, failed testing.

slasher13’s picture

fix wrong merge from #19

jibran’s picture

Status: Needs review » Reviewed & tested by the community

I think we can use https://www.drupal.org/node/2743809 as a change record for this issue and 3.1 issue has no momentum so I'm going to be bold and set it to RTBC. We can close 3.1 one as a duplicate.

naveenvalecha’s picture

would you update the CR including the changes in 3.2 accordingly
//Naveen

catch’s picture

@jibran the 3.1 issue has no momentum because it makes Drupal incompatible with drush, see https://github.com/drush-ops/drush/pull/2477

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 21: 2831757-21.patch, failed testing.

slasher13’s picture

re-roll

slasher13’s picture

Status: Needs review » Reviewed & tested by the community

Back to RTBC as #22

alexpott’s picture

Status: Reviewed & tested by the community » Postponed
Related issues: +#2843828: \Drupal\Core\DrupalKernel::initializeSettings() can result in moving the autoloader position
catch’s picture

Discussed this a bit with @alexpott and @xjm, at the moment we think we should commit this early in 8.4.x - this gives additional time to keep rolling back and re-committing the update as new things are uncovered, as well as more time to determine if there needs to be a new minor or major drush release.

TJacksonVA’s picture

Are there any changes/additions from Symfony 2.8 to Symfony 3.2 or 3.3 that Drupal 8.x module developers would find important or useful? If so, it may be a mistake to wait until Drupal 8.4.x to implement the Symfony upgrade.

pounard’s picture

Are there any changes/additions from Symfony 2.8 to Symfony 3.2 or 3.3 that Drupal 8.x module developers would find important or useful? If so, it may be a mistake to wait until Drupal 8.4.x to implement the Symfony upgrade.

As soon as you use external components, it's safe to say upgrading to 3.2 is a plus. I personally work with many libraries where I do need 3.2 - for a site to come in a few months, I was awaiting for Drupal 8.3 to bring Symfony 3.2 and some other fixes along to play well with it.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

slasher13’s picture

slasher13’s picture

The last submitted patch, 33: 2831757-33.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 34: 2831757-34.patch, failed testing.

slasher13’s picture

Status: Needs review » Needs work

The last submitted patch, 37: 2831757-37.patch, failed testing.

slasher13’s picture

Status: Needs work » Needs review
xjm’s picture

Issue summary: View changes

This should either be postponed on the 3.1 update, or merged into it. See the summary of #2712647: Update Symfony components to ~3.2. We need to allow time for contrib and drush to fully support Symfony 3.

slasher13’s picture

Status: Needs review » Closed (duplicate)