media-bundle icon indicating copy to clipboard operation
media-bundle copied to clipboard

Status of media-bundle 2.0, add support for Symfony 7

Open tacman opened this issue 2 years ago • 8 comments

I noticed that there's a media-bundle 2.0 beta branch, what's the status of this?

Also, since it's a new release, what do you think of upgrading the dependencies to Symfony ^6.3 || ^7 and PHP 8.1?

Symfony 7 will be out in less than 2 months, so it seems like that might be a good goal for media-bundle 2.0 as well.

tacman avatar Sep 30 '23 10:09 tacman

Sorry, I've been busy, but I'll get back to you tomorrow with the compatibilities and other bugs I've seen. Branch 2, which aims to add support for different storage, is going to take some more time, once I finish the changes mentioned above

chiqui3d avatar Dec 23 '23 20:12 chiqui3d

I might be able to work on v2. Do you have a media bundle demo repo?

On Sat, Dec 23, 2023, 2:46 PM José Carlos @.***> wrote:

Sorry, I've been busy, but I'll get back to you tomorrow with the compatibilities and other bugs I've seen. Branch 2, which aims to add support for different storage, is going to take some more time, once I finish the changes mentioned above

— Reply to this email directly, view it on GitHub https://github.com/ranky/media-bundle/issues/11#issuecomment-1868367563, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEXIQK3O6IH5T3JDMA6OZLYK47KXAVCNFSM6AAAAAA5NORNDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGM3DONJWGM . You are receiving this because you authored the thread.Message ID: @.***>

tacman avatar Dec 23 '23 20:12 tacman

No, I don't have a demo repository yet, I hope to do it soon with EasyAdmin, I hope this release https://github.com/ranky/media-bundle/releases/tag/v1.4.0 fixes the compatibility with Symfony 7

chiqui3d avatar Dec 29 '23 16:12 chiqui3d

Eh, I don't love EasyAdmin for demos, although maybe that won't be too important. I'm more interested in seeing the entity configuration. Since this bundle already has it's own media management, is EasyAdmin necessary?

Speaking of your own management page, consider dropping webpack and using AssetMapper instead for the demo. Then you can get rid of the

  {{ encore_entry_link_tags('ranky_media', null, 'ranky_media') }}

AssetMapper is awesome. No build step. And combined with stimulus and TwigComponents, I'm able to hide away most of my javascript.

tacman avatar Dec 29 '23 16:12 tacman

No, EasyAdmin is not necessary, I can use the Symfony demo, even simpler. Yes, I will try to use AssetMapper in the future.

chiqui3d avatar Dec 29 '23 16:12 chiqui3d

Great. Symfony Demo was just updated to use Symfony 7 with AssetMapper.

Can you document the process you use to integrate this bundle with it? It will make for an interesting tutorial, and a cool way to edit / add images and other media to the symfony demo.

On Fri, Dec 29, 2023 at 10:52 AM José Carlos @.***> wrote:

No, EasyAdmin is not necessary, I can use the Symfony demo, even simpler. Yes, I will try to use AssetMapper in the future.

— Reply to this email directly, view it on GitHub https://github.com/ranky/media-bundle/issues/11#issuecomment-1872216416, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEXIQKHMNOZE6RVRT2I2I3YL3YNHAVCNFSM6AAAAAA5NORNDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGIYTMNBRGY . You are receiving this because you authored the thread.Message ID: @.***>

tacman avatar Dec 29 '23 20:12 tacman

Any status on a demo? I've been contributing to the version 3 branch of LiipImagineBundle, and wanted a demo repo to work with, and of course thought of this bundle, they should pair nicely together.

On a related note, intervention/image is at v2, which is at EOL, and should be updated to v3.

tacman avatar Jan 03 '24 00:01 tacman