NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1810 most downloaded on PyPI
Turns CSS blocks into style attributes
Last release 5 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 11 months
Rarely documented
notes for 8 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
17 years old
66 releases · first in 2009
New option session=None to provide the session used for making http requests.
New option session=None to provide the session used for making http requests.
Bug fix: inlined styles are no longer sorted alphabetically. This preserves the input rule order so that premailer does not break style precedence where order is significant, e.g.
div {
/* Padding on all sides is 10px. */
padding-left: 5px;
padding: 10px;
}
div {
/* Padding on the left side is 5px, on other sides is 10px. */
padding: 10px;
padding-left: 5px;
}
Prior to this fix premailer would swap the rules in the first example to look like the second.
New option allow_loading_external_files=False when loading externally referenced file URLs. E.g. Be careful to enable this if the HTML loaded isn't tr
New option allow_loading_external_files=False when loading externally referenced file URLs. E.g. <link rel=stylesheet href=/path/to/file.css> Be careful to enable this if the HTML loaded isn't trusted. Big security risk otherwise.
One column per quarter.
Add preserve_handlebar_syntax option. See https://github.com/peterbe/premailer/pull/252 Thanks @CraigRobertWhite
Add preserve_handlebar_syntax option. See https://github.com/peterbe/premailer/pull/252 Thanks @CraigRobertWhite
Switch to GitHub Actions instead of TravisCI See https://github.com/peterbe/premailer/pull/253
Drop support for Python 2.7 and 3.4. Add test support for 3.8
Drop support for Python 2.7 and 3.4. Add test support for 3.8
Don't strip !important on stylesheets that are ignored See https://github.com/peterbe/premailer/pull/242 Thanks @nshenkman
Don't strip !important on stylesheets that are ignored See https://github.com/peterbe/premailer/pull/242 Thanks @nshenkman
The disable_validation wasn't passed to csstest_to_pairs See https://github.com/peterbe/premailer/pull/235 Thanks @mbenedettini
The disable_validation wasn't passed to csstest_to_pairs See https://github.com/peterbe/premailer/pull/235 Thanks @mbenedettini
Add allow_insecure_ssl option for external URLs
Add allow_insecure_ssl option for external URLs
Change default cachetools implementation to cachetools.LFUCache.
Change default cachetools implementation to cachetools.LFUCache.
Now possible to change cachetools implementation with environment variables. See README.rst.
To avoid thread unsafe execution, the function caching decorator now employs a lock. See https://github.com/peterbe/premailer/issues/225
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →