tijsverkoyen / CssToInlineStyles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very usefull when you're sending emails.
BSD 3-Clause "New" or "Revised" License
5.8k stars 187 forks source link

Add support for symfony/css-selector:6.0 #216

Closed victorstanciu closed 2 years ago

victorstanciu commented 2 years ago

First of all, thank you for this great library ♥

Symfony 6.0 has been released recently, but any projects that depend on tijsverkoyen/css-to-inline-styles can't be upgraded because the dependency on symfony/css-selector is limited to ^2.7 || ^3.0 || ^4.0 || ^5.0.

julienmiclo commented 2 years ago

Hello, same problem here.

Dependency in composer.json are up-to-date but on packagist requirements are not ?

Thank you

stof commented 2 years ago

By default, packagist shows the latest release, not the dev version. Support for Symfony 6 has been merged but not released yet.

stof commented 2 years ago

if you switch to the dev-master version on Packagist, it shows sypport for Symfony 6 in the constraints.

julienmiclo commented 2 years ago

Thank you @stof !! Waiting for a release 2.2.4 :)

stof commented 2 years ago

I'm working on the release

stof commented 2 years ago

The release is now done.