Easyadminbundle: Next steps for this project

Created on 18 Feb 2018  路  13Comments  路  Source: EasyCorp/EasyAdminBundle

I'd like to share my plans for the next weeks so the community can double check if I missed something important:

  • [x] 1) Finish the pending features: immutable date types (#2057), allow to add parameters to the rendered template (#0218) and form tabs (#1887).
  • [x] 2) Declare the 1.x branch of the bundle as "finished". No more features for it.
  • [x] 3) Release a new 1.x stable version.
  • [x] 4) Move the repository from https://github.com/javiereguiluz/EasyAdminBundle to https://github.com/EasyCorp/EasyAdminBundle. That will be transparent for end-users because GitHub does this redirection internally for everything: code, downloads, issues, PRs, etc.
  • [x] 5) Rename the Composer package from javiereguiluz/easyadmin-bundle to easycorp/easyadmin-bundle. Sadly in this step we'll lose all downloads and history on Packagist because they don't support transparent renaming (see https://github.com/composer/packagist/issues/876)
  • [x] 6) Rename the Symfony Flex recipe for the new vendor.
  • [x] 7) In the new repository, create a 1.x branch where we'll only merge bug fixes (no new features) until the end of November 2018, which is when Symfony 2.8 reaches end of bug fix support.
  • [x] 8) Update the bundle doc on symfony.com to keep publishing its docs (new vendor, new repo, new branch, etc.)
  • [ ] 9) In the new repository the master branch will be considered the 2.x version, which will require PHP 7.1 and Symfony 4. The plan is to:
    a) Remove all legacy and deprecated features needed to support non Symfony 4 versions.
    b) Refactor all PHP code to use every new PHP 7.1 feature.
    c) Release as soon as possible the 2.0.0 version.
    d) Create a new Symfony Flex recipe for 2.0 version.
  • [ ] 10) Once 2.0.0 version is released with new PHP 7.1 code and no legacy features, start working on the main new features. First of all: add security options to control which menu options are displayed to users, etc.

Most helpful comment

@Soullivaneuh yes, we could ... but I prefer to not make that effort. For the ultra-legacy support for Symfony 2 to 3 and 4, we have the 1.x branch. I want 2.x to be Symfony 4 only and move quickly the requirements to be inline with the latest Symfony. We're transforming this bundle from ultra-legacy to cutting-edge :)

All 13 comments

That's good news! I'll be happy to help and because soon we'll reach the 2000 stars. Good luck for 2.x!

Great news! At last new major version :). And can't wait for "form tabs" to be implemented.

@javiereguiluz, I'm available if you need any help.
I love this bundle, and I want to contribute to it. Feel free to assign me some tasks.

For those who want to help, I'm creating issues with the label help wanted: https://github.com/EasyCorp/EasyAdminBundle/labels/help%20wanted They are small and actionable issues. If you want to take any of them and don't understand anything, please ask! Thanks!

About Symfony v4, I'm nearly sure you can also support SF 3.4 without any issue. See also #2135

@Soullivaneuh yes, we could ... but I prefer to not make that effort. For the ultra-legacy support for Symfony 2 to 3 and 4, we have the 1.x branch. I want 2.x to be Symfony 4 only and move quickly the requirements to be inline with the latest Symfony. We're transforming this bundle from ultra-legacy to cutting-edge :)

@javiereguiluz For the security access control feature, have a look at this implementation : https://github.com/alterphp/EasyAdminExtensionBundle#define-access-permissions

Menu only show accessible entries (and empty menu groups are pruned), list only show accessible actions and controllers send ForbiddenException if access is denied. Pure role-based access-control.

@javiereguiluz I'd like to contribute to this repo, please let me know if there is any specific thing I can help with.

@javiereguiluz any chance for support for sf 3.4 (with flex and sf4.0 dir structure)? i think it is really important to supprot LTS versions of symfony. it is quite a bad DX if you choose to go with LTS to have a long and stable support for symfony but the bundles you need does not support them.
of course there is the 1.x branch but as you declared it feature complete and don't accept any more PR (as far as i understand), we won't have features we need in it (like supporting multiple sort fields via yaml https://github.com/EasyCorp/EasyAdminBundle/issues/2054)

Let me know if you need upgrade to PHP 7.1.
I do it routinely :)

@TomasVotruba The master branch already requires PHP >=7.1.3. :)

Does that mean "go for it"? :)

I'm closing here because the plan has been explained and we just need to finish the last steps. Thanks!

For now I'd prefer to not change the master branch code much to not introduce conflicts with 1.x while we maintain it for some time (only for bugfixes). Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lukasluecke picture lukasluecke  路  3Comments

seb-jean picture seb-jean  路  3Comments

bocharsky-bw picture bocharsky-bw  路  3Comments

cve picture cve  路  4Comments

ndench picture ndench  路  4Comments