Releases
v3.0.0
Added
Test and document excluding entire subtree with addExcludedSelector()
(#347 ,
#768 )
Test that rules with :optional
or :required
are copied to the <style>
element (#748 ,
#765 )
Test that rules with :only-of-type
are copied to the <style>
element
(#748 ,
#760 )
Support :last-of-type
(#748 ,
#758 )
Support :first-of-type
(#748 ,
#757 )
Support :empty
(#748 ,
#756 )
Test that rules with :any-link
are copied to the <style>
element
(#748 ,
#755 )
Support and test :only-child
(#747 ,
#754 )
Support and test :nth-last-of-type
(#747 ,
#751 )
Support and test :nth-last-child
(#747 ,
#750 )
Support and test general sibling combinator
(#723 ,
#745 )
Test universal selector with combinators
(#723 ,
#743 )
Preserve display: none
elements with -emogrifier-keep
class
(#252 ,
#737 )
Preserve valid @import
rules
(#338 ,
#334 ,
#732 ,
#735 )
Add HtmlPruner::removeRedundantClassesAfterCssInlined
(#380 ,
#724 )
Check on Travis that PHP-CS-Fixer will not change anything
#727 )
Support :not(…)
as an entire selector
(#469 ,
#725 )
Add HtmlPruner::removeRedundantClasses
(#380 ,
#708 )
Support multiple attributes selectors
(#385 ,
#721 )
Support > :first-child
and > :last-child
in selectors
(#384 ,
#720 )
Add an ArrayIntersector
class
(#708 ,
#710 )
Add CssInliner::getMatchingUninlinableSelectors
(#380 ,
#707 )
Add tests for :nth-child
and :nth-of-type
(#71 ,
#698 )
Changed
Relax the dependency on symfony/css-selector
(#762 )
Rename HtmlPruner::removeInvisibleNodes
to
HtmlPruner::removeElementsWithDisplayNone
(#717 ,
#718 )
Mark the utility classes as internal
(#715 )
Move utility classes to the Pelago\Emogrifier\Utilities
namespace
(#712 )
Make the $css
parameter of the inlineCss
method optional
(#700 )
Update the development dependencies
(#691 )
Deprecated
Support for PHP 5.6 will be removed in Emogrifier 4.0.
Deprecate the Emogrifier
class
(#701 )
Removed
Drop enableCssToHtmlMapping
and disableInvisibleNodeRemoval
(#692 )
Drop support for PHP 5.5
(#690 )
Fixed
Fix PhpStorm code inspection warnings
(#729 ,
#770 )
Uppercase type combined with class or ID in selector
(#590 ,
#769 )
Dynamic pseudo-class combined with static one (rules copied to <style>
element, #746 )
Descendant attribute selectors (such as html input[disabled]
)
(#375 ,
#709 )
Attribute selectors with hyphen in attribute name
(#284 ,
#540 ,
#704 )
Attribute selectors with space, hyphen, colon, semicolon or (most) other
non-alphanumeric characters in attribute value
(#284 ,
#333 ,
#550 ,
#540 ,
#704 )
Don’t create empty style
attributes for unparsable declarations
(#259 ,
#702 )
Allow :not(:behavioural-pseudo-class)
in selectors
(#697 ,
#703 )
You can’t perform that action at this time.