# Emogrifier Change Log All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/). ## x.y.z ### Added ### Changed ### Deprecated ### Removed ### Fixed ## 7.2.0: Add support for Symfony 7 ### Added - Add support for Symfony 7 (#1243) ## 7.1.0: Add support for PHP 8.3 ### Added - Add support for PHP 8.3 (#1218) ### Changed - Disable HTML formatting by default (#1214) ## 7.0.0 ### Added - Add support for PHP 8.2 (#1155) ### Changed - Throw exception with invalid CSS in debug mode (#1142) - Only support up to 69 atomic expressions in a selector (#1113) - Require `sabberworm/php-css-parser:^8.4.0` (#1134) - Upgrade to PHPUnit 9 (#1112) ### Deprecated - Support for PHP 7.3 will be removed in Emogrifier 8.0. ### Removed - Drop support for Symfony 3.x and 5.3 (#1120, #1162) - Drop support for PHP 7.2 (#1111) ### Fixed - Bump the minimum Symfony 4.4 version to avoid PHP deprecation warnings (#1187) ## 6.0.0 ### Added - Test with Symfony 6-dev (#1109) - Add support for PHP 8.1 (#1103) - Add a dedicated class for caching (#1097) - Allow installation together with Symfony 6 (#1065) - Support more file types in the `.editorconfig` (#1035) - Set `align` attribute of `` elements with `CssToAttributeConverter` (#1008) ### Changed - Use `sabberworm/php-css-parser` to parse the CSS (#1015) - Also check the unit test code with Psalm (#1003) ### Deprecated - Support for PHP 7.2 will be removed in Emogrifier 7.0. ### Removed - Remove a redundant CSS data cache (#1018) - Drop support for Symfony 5.1 and 5.2 (#972, #1104) - Drop support for PHP 7.1 (#967) ### Fixed - Allow `@import` after ignored invalid `@charset` (@1081) - Allow line feeds within `` tag (#987) ## 5.0.1 ### Changed - Switch the default branch from `master` to `main` (#951) ### Fixed - Ignore `http-equiv` `Content-Type` in `` (#961) - Allow "Content-Type" in content (#959) ## 5.0.0 ### Added - Add an `.editorconfig` file (#940) - Support PHP 8.0 (#926) - Run the CI build once a week (#933) - Move more development tools to PHIVE (#894, #907) ### Changed - Automatically add a backslash for global functions (#909) - Update the development tools (#898, #895) - Upgrade to PHPUnit 7.5 (#888) - Enforce constant visibility (#892) - Rename the PHPCS configuration file (#891, #896) - Make use of PHP 7.1 language features (#883) ### Deprecated - Support for PHP 7.1 will be removed in Emogrifier 6.0. ### Removed - Drop support for Symfony 4.3 and 5.0 (#936) - Stop checking `tests/` with Psalm (#885) - Drop support for PHP 7.0 (#880) ### Fixed - Fix a nonsensical code example in the README (#920, #935) - Remove `!important` from `style` attributes also when uppercase, mixed case or having whitespace after `!` (#911) - Copy rules using `:...of-type` without a type to the `