Skip to content

Allow individual bridges, bundles and components to be used with 4.0 #22742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented May 18, 2017

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

Copy link
Member

@xabbuh xabbuh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be done on the 3.4 branch.

"symfony/translation": "~2.8|~3.0|~4.0",
"symfony/yaml": "~2.8|~3.0|~4.0",
"symfony/security": "~2.8|~3.0|~4.0",
"symfony/security-acl": "~2.8|~3.0|~4.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure that we will bump the release for the Security Acl component? I don't think so (we did not really add anything there).

"symfony/form": "^2.8.18|^3.2.5|~4.0",
"symfony/framework-bundle": "^3.2.8|~4.0",
"symfony/http-foundation": "~2.8|~3.0|~4.0",
"symfony/security-acl": "~2.8|~3.0|~4.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see my comment above

"symfony/translation": "~2.8|~3.0",
"symfony/var-dumper": "~3.3",
"symfony/browser-kit": "~2.8|~3.0|~4.0",
"symfony/class-loader": "~2.8|~3.0|~4.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the ClassLoader component will be removed with Symfony 4

"symfony/http-foundation": "~3.3",
"symfony/http-kernel": "~3.3",
"symfony/cache": "~3.3|~4.0",
"symfony/class-loader": "~3.2|~4.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see my comment above

@dunglas dunglas changed the base branch from master to 3.4 May 18, 2017 07:37
@nicolas-grekas
Copy link
Member

On 3.4, we should allow only 4.0.0

"symfony/dependency-injection": "~2.8|~3.0",
"ocramius/proxy-manager": "~0.4|~1.0|~2.0"
"symfony/dependency-injection": "~2.8|~3.0|~4.0",
"ocramius/proxy-manager": "~0.4|~1.0|~2.0|~4.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure about this one

"symfony/http-kernel": "~2.8|~3.0",
"symfony/process": "~2.8|~3.0"
"symfony/console": "~2.8.8|~3.0.8|~3.1.2|~3.2|~4.0",
"symfony/http-kernel": "~2.8|~3.|~4.00",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

@dunglas dunglas changed the base branch from 3.4 to master May 18, 2017 10:22
@dunglas dunglas changed the base branch from master to 3.4 May 18, 2017 10:57
@dunglas
Copy link
Member Author

dunglas commented May 18, 2017

Done, to do the merge in 4.0:

find src -name "composer.json" -exec sed -i '' 's/\|\~4\.0\.0"/\|\~4\.0"/g' {} \;
find src -name "composer.json" -exec sed -i '' 's/\|\^4\.0\.0"/\|\^4\.0"/g' {} \;

(I can handle the merge if can help)

@@ -19,7 +19,7 @@
"php": ">=5.5.9"
},
"require-dev": {
"symfony/process": "^3.2"
"symfony/process": "^3.2|^4.0.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all ^4.0.0 should be replaced by ~4.0.0

@nicolas-grekas
Copy link
Member

Thank you @dunglas.

javiereguiluz added a commit to EasyCorp/EasyAdminBundle that referenced this pull request May 29, 2017
This PR was merged into the 1.16.x-dev branch.

Discussion
----------

Allow using Symfony 4 components

The "master" branch of Symfony repo is now Symfony 4, so we can start using it (see symfony/symfony#22742 for a similar change for Symfony itself).

We'd need to tweak Travis CI too in another PR.

Commits
-------

dff502f Allow using Symfony 4 components
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants