Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Symfony 2.8|^3.0 Support - #877

Merged
hmert merged 53 commits into
masterfrom
symfony3
Mar 16, 2017
Merged

Symfony 2.8|^3.0 Support#877
hmert merged 53 commits into
masterfrom
symfony3

Conversation

@hmert

@hmert hmert commented Oct 1, 2016

Copy link
Copy Markdown
Contributor

All credits go to @artscorestudio many thanks 🎉

@hmert hmert mentioned this pull request Dec 16, 2016
@hmert

hmert commented Dec 16, 2016

Copy link
Copy Markdown
Contributor Author

@APY/collaborators We may merge this branch. Our project has ready to run with this version (3.0.0 ?). https://travis-ci.org/ojs/ojs/builds/184614260

@DonCallisto

Copy link
Copy Markdown
Member

What version of the bundle are we going to choose/release? Because I've introduced months ago a list of callbacks instead of a single one, and we have deprecated something for 2.4
Take a look here https://github.com/APY/APYDataGridBundle/pull/879/files

@hmert

hmert commented Dec 18, 2016

Copy link
Copy Markdown
Contributor Author

oh great. Let's release it as 2.4.

@DonCallisto

Copy link
Copy Markdown
Member

@hmert so we need to remove code and deprecation. I'm not sure this is a goos idea because we haven't release a tagged version with this deprecation: users may not be aware about this.
If no plans for 3.x version, maybe 2.3 is more suitable.
Otherwise let's icrease the deprecation to 3.x version.

What do all collaborators think?

@hmert

hmert commented Dec 18, 2016

Copy link
Copy Markdown
Contributor Author

@DonCallisto let's tag, current master as 2.3.0 and then merge sf3 branch and then release 2.3.1 remove deprecations (and maybe bug fixes) and release 2.4?

@DonCallisto

Copy link
Copy Markdown
Member

Well, semantic versioning would suggest us to release a 3.0 version as this is BC (who use symfony 2.3 that was minimum sf version accepted have to upgrade so this seems a BC to me, but I'm not sure).
What I'm prettt sure is this should not be a "patch" version.
Moreover, thinking about semantic versioning, each change made to our public API (like this one) should produce a major version change, so maybe, if you think this is a BC, let's release 3.0 and move deprecation to 4.0 (or remove it directly), if this is a minor for you (that could be the case as I'm not practical with other dependancy bump) let's release 2.4 and modify deprecation text for 3.0 version.

@DonCallisto

Copy link
Copy Markdown
Member

Thinking it carefully I think that 2.4 is the best choose possible; so change deprecation message to 3.0, group every other BC due to test, refactor and so on.
Let's see if someone disagree.

@hmert

hmert commented Dec 18, 2016

Copy link
Copy Markdown
Contributor Author

Ok Here is the plan,

  1. Now, tag current master as 2.3.0 before BC, Lot's of changes.. 2.2.17...master
  2. People will see the deprecation messages.
  3. Release 2.4.0 after cleared deprecations..
  4. Merge symfony3 and Release 3.0.0
  5. write tests for sf 2.8 (LTS) and 3.4 (LTS).
  6. Develop a sample/test application.

What do you think? @APY/collaborators

@plfort

plfort commented Dec 18, 2016

Copy link
Copy Markdown
Contributor

Nice plan

Fix missing service definition
@DonCallisto

Copy link
Copy Markdown
Member

@hmert all good except that 2.4.0, if necessary, should stay with deprecations: deprecations should be removed into new major (3.0)

@hmert hmert modified the milestones: 3.0, 2.3 Dec 20, 2016
@DonCallisto DonCallisto mentioned this pull request Dec 20, 2016
Comment thread Grid/Grid.php Outdated

// Route
if (null != $config->getRoute()) {
$this->setRouteUrl($this->router->generate($config->getRoute()));

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It seems that a parameter is missing from the original PR
was $this->setRouteUrl($this->router->generate($config->getRoute(), $routeParameters));

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

thanks

@ghost ghost mentioned this pull request Mar 13, 2017
@hmert
hmert merged commit a6bd37d into master Mar 16, 2017
@hmert hmert removed the in progress label Mar 16, 2017
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.

10 participants