packagist pelago/emogrifier v4.0.0
V4.0.0

latest releases: dev-main, dev-task/development-ini, dev-task/dev-tools-update...
3 years ago

Added

  • Extract and inject @font-face rules into head
    (#870)
  • Test tag omission in conformant supplied HTML
    (#868)
  • Check for missing return type hint annotations in the code sniffs
    (#860)
  • Support :only-of-type (with a type)
    (#849,
    #856)
  • Configuration setting methods now all return $this to allow chaining
    (#824,
    #854)
  • Disable php-cs-fixer Yoda conditions
    (#791,
    #794)
  • Check the code with psalm
    (#537,
    #779)
  • Composer script to run tests with --stop-on-failure
    (#782)
  • Test universal selector with combinators
    (#776)

Changed

  • Normalize DOCTYPE declaration according to polyglot markup recommendation
    (#866)
  • Upgrade to V2 of the PHP setup GitHub action
    (#861)
  • Move the development tools to Phive
    (#850,
    #851)
  • Switch the parallel linting to a maintained fork
    (#842)
  • Move continuous integration from Travis CI to GitHub actions
    (#832,
    #834,
    #838,
    #839,
    #840,
    #841,
    #843,
    #846,
    #849)
  • Clean up the folder structure and autoloading configuration
    (#529,
    #785)
  • Use self as the return type for fromHtml
    (#784)
  • Make use of PHP 7.0 language features
    (#777)

Deprecated

  • Support for PHP 7.0 will be removed in Emogrifier 5.0.

Removed

  • Drop support for Symfony versions that have reached their end of life
    (#847)
  • Drop the Emogrifier class
    (#774)
  • Drop support for PHP 5.6
    (#773)

Fixed

  • Allow :last-of-type etc. without type, without causing exception
    (#875)
  • Make sure to use the Composer-installed development tools
    (#862,
    #865)
  • Add missing <head> element when there's a <header> element
    (#844,
    #853)
  • Fix mapping width/height when decimal is used
    (#845)
  • Actually use the specified PHP version on GitHub actions
    (#836)
  • Support ci:php:lint on Windows
    (#740,
    #780)

Don't miss a new emogrifier release

NewReleases is sending notifications on new releases.