All Versions
40
Latest Version
Avg Release Cycle
158 days
Latest Release
-
Changelog History
Page 2
Changelog History
Page 2
-
v3.1.1 Changes
December 11, 2015- โจ Enhancements:
- Duplicate style properties are now removed when inlining.
- This means that
color: green; color: red; color: green
will now becolor: red; color: green
. - The size of your emails should be the same, or smaller.
- โจ Enhancements:
-
v3.1.0 Changes
November 17, 2015- Enchancements:
NetHttpProvider
validates the whitelist hostnames; passing an invalid hostname will raiseArgumentError
.NetHttpProvider
supports scheme-less URLs (//foo.com/
), defaulting tohttps
.
- Enchancements:
-
v3.1.0.rc1 Changes
- โจ Enhancements:
- Allow user to specify asset providers for referenced assets with full URLs and inline them (#107)
- Pass
Document
instance to transformation callbacks (#86) - Made
nokogiri
dependency more forgiving. - Supports
1.5.0
...1.7.0
now instead of1.6.0
...1.7.0
. Some people out there are stuck on this older version of Nokogiri, and I don't want to leave them out. - Output better errors when no assets can be found.
- The error will now show which providers were tried and in which order, along with the error message from the specific providers.
Roadie::FilesystemProvider
shows the given path when inspected.data-roadie-ignore
attributes will now be removed from markup; hiding "development markers" in the final email.- Add a
Roadie::CachedProvider
asset provider that wraps other providers and cache them. - Add a
Roadie::PathRewriterProvider
asset provider that rewrites asset names for other providers. - This saves you from having to create custom providers if you require small tweaks to the lookup in order to use an official provider.
- ๐ Deprecations:
Roadie::Stylesheet#each_inlinable_block
is now deprecated. You can iterate and filter theblocks
at your own discresion.
- โจ Enhancements:
-
v3.0.5 Changes
- ๐ Bug fixes:
- Don't try to inline external stylesheets. (#106)
- Don't generate absolute URLs for anchor links. (Mange/roadie-rails#40)
- ๐ Bug fixes:
-
v3.0.4 Changes
- ๐ Bug fixes:
- Schemeless URLs was accepted as-is, which isn't supported in a lot of email clients. (#104)
- ๐ Bug fixes:
-
v3.0.3 Changes
- ๐ Bug fixes:
- CSS was mutated when parsed, breaking caches and memoized sources - Brendan Mulholland (bmulholland) (Mange/roadie-rails#32)
- ๐ Bug fixes:
-
v3.0.2 Changes
- ๐ Bug fixes:
- Some
data:
URLs could cause exceptions. (#97) - Correctly parse properties with semicolons in their values - Aidan Feldman (afeld) (#100)
- Some
- ๐ Bug fixes:
-
v3.0.1 Changes
- โจ Enhancements:
CssNotFound
can take a provider which will be shown in error messages.
- ๐ Bug fixes:
- URL rewriter no longer raises on absolute URLs that cannot be parsed by
URI
. Absolute URLs are completely ignored. - URL rewriter supports urls without a scheme (like
//assets.myapp.com/foo
). - URL rewriter no longer crashes on absolute URLs without a path (like
myapp://
).
- URL rewriter no longer raises on absolute URLs that cannot be parsed by
- โจ Enhancements:
-
v3.0.0 Changes
โจ Enhancements:
Roadie::ProviderList
responds to#empty?
and#last
-
Roadie::FilesystemProvider
ignores query string in filename.
Older versions of Rails generated
<link>
tags with query strings in their URLs, like such:/stylesheets/email.css?1380694096
- Blacklist
:enabled
,:disabled
and:checked
pseudo functions - Tyler Hunt (tylerhunt). - Add MRI 2.1.2 to Travis build matrix - Grey Baker (greysteil).
- Try to detect an upgrade from Roadie 2 and mention how to make it work with the new version.
- Styles emitted in the
style
attribute should now be ordered as they were in the source CSS.
-
v3.0.0.pre1 Changes
Complete rewrite of most of the code and a new direction for the gem.
- ๐ฅ Breaking changes:
- Removed Rails support into a separate Gem (
roadie-rails
). - Removed Sprockets dependency and AssetPipelineProvider.
- Changed the entire public API.
- Changed the API of custom providers.
- Dropped support for Ruby 1.8.7.
- Change
data-immutable
todata-roadie-ignore
.
- Removed Rails support into a separate Gem (
- ๐ New features:
- Rewriting the URLs of
img[src]
. - A way to inject stylesheets without having to adjust template.
- A before callback to compliment the after callback.
- Rewriting the URLs of
- โจ Enhancements:
- Better support for stylesheets using CSS fallbacks.
This means that styles like this is now inlined:
width: 5em; width: 3rem;
, while Roadie would previously remove the first of the two. This sadly means that the HTML file will be much larger than before if you're using a non-optimized stylesheet (for example including your application stylesheet to the email). This was a bad idea even before this change, and this might get you to change. - Using HTML5 doctype instead of XHTML
- Full support for JRuby
- Experimental support for Rubinius
- Better support for stylesheets using CSS fallbacks.
This means that styles like this is now inlined:
- ๐ฅ Breaking changes: