1 | 4.2.0 / 2017-10-05
|
2 | ==================
|
3 |
|
4 | * Adds support for `preserveImportant` to CLI
|
5 |
|
6 | 4.0.1 / 2016-11-24
|
7 | ==================
|
8 |
|
9 | * Updated typescript definitions
|
10 |
|
11 | 4.0.0 / 2016-11-17
|
12 | ==================
|
13 |
|
14 | * deps: update web-resource-inliner and cross-spawn
|
15 | * engine: specify support as node 4.2+
|
16 | * feat: add option `codeBlocks` to support general exclusion of fenced code, like EJS, HBS, etc.
|
17 |
|
18 | 3.0.1 / 2016-10-06
|
19 | ==================
|
20 |
|
21 | * deps: install mensch from npm instead of github
|
22 |
|
23 | 3.0.0 / 2016-06-01
|
24 | ==================
|
25 |
|
26 | * deps: upgrade web-resource-inliner, change cross-spawn-async to cross-spawn, move batch to devDeps
|
27 |
|
28 | 2.0.0 / 2016-05-24
|
29 | ==================
|
30 |
|
31 | * fix: specificity bugs
|
32 | * deps: upgrade cheerio, cssom, web-resource-inliner
|
33 | * major: most options default to `true` instead of `false` now
|
34 | * major: remove deprecated `toArray`
|
35 |
|
36 | 1.11.0 / 2016-05-11
|
37 | ==================
|
38 |
|
39 | * feat: exclude css properties from inliner with juiceClient.excludedProperties
|
40 | * fix: specificity of consecutive !important rules
|
41 |
|
42 | 1.10.0 / 2016-02-25
|
43 | ==================
|
44 |
|
45 | * cli: correctly handle absolute path for `optionsFile`
|
46 | * cli: convert all numbers and booleans from default string values
|
47 | * Replace deprecated dep `win-spawn` with `cross-spawn-async`
|
48 |
|
49 | 1.9.0 / 2016-01-04
|
50 | ==================
|
51 |
|
52 | * Add option `insertPreservedExtraCss`
|
53 |
|
54 | 1.8.1 / 2015-12-01
|
55 | ==================
|
56 |
|
57 | * Switch xtend to deep-extend to fix issue loading webResources settings when using --options-file
|
58 |
|
59 | 1.8.0 / 2015-11-23
|
60 | ==================
|
61 |
|
62 | * Make all options available through CLI
|
63 | * Add `--options-file` to CLI for loading JSON options
|
64 | * Make CLI tests work on Windows
|
65 | * Deprecate `utils.toArray()`
|
66 | * Fix handling of `:not()` specificity
|
67 |
|
68 | 1.7.0 / 2015-11-03
|
69 | ==================
|
70 |
|
71 | * Refactor to provide browser support at `juice/client`
|
72 | * Add option `applyHeightAttributes`
|
73 | * Bump dep `web-resource-inliner`
|
74 |
|
75 | 1.6.0 / 2015-10-26
|
76 | ==================
|
77 |
|
78 | * Add feature `data-embed` attribute
|
79 | * update deps: web-resource-inliner, batch, commander, slick
|
80 |
|
81 | 1.5.0 / 2015-09-25
|
82 | ==================
|
83 |
|
84 | * Exclude non-visual tags from inlining
|
85 | * Add option `preserveFontFaces`
|
86 | * update dep: web-resource-inliner
|
87 |
|
88 | 1.4.0 / 2015-08-19
|
89 | ==================
|
90 |
|
91 | * Add extra CSS option to CLI
|
92 | * CLI has test coverage now
|
93 |
|
94 | 1.3.3 / 2015-07-14
|
95 | ==================
|
96 |
|
97 | * Prevent mangling of EJS tags
|
98 |
|
99 | 1.3.0 / 2015-07-02
|
100 | ==================
|
101 |
|
102 | * Add option `preserveImportant`
|
103 | * Make lib `use_strict` compliant and lint files
|
104 |
|
105 | 1.2.0 / 2015-05-21
|
106 | ==================
|
107 |
|
108 | * Add `xmlMode` option
|
109 |
|
110 | 1.1.2 / 2015-05-08
|
111 | ==================
|
112 |
|
113 | * remove index.js and point `main` in package.json to `/lib/juice.js`
|
114 |
|
115 | 1.1.1
|
116 | ==================
|
117 |
|
118 | * publish with line endings fixed in /bin
|
119 |
|
120 | 1.1.0 / 2015-05-04
|
121 | ==================
|
122 |
|
123 | * Fix order of inlined style properties. Now sorted by selector specificity, resulting in the same computed styles that the original CSS would have had.
|
124 | * Add option to inline pseudo elements as <span> elements
|
125 |
|
126 | 1.0.2 / 2015-04-27
|
127 | ==================
|
128 |
|
129 | * added option `applyAttributesTableElements`
|
130 | * bump version on web-resource-inliner to 1.1.1
|
131 | * fix bin/juice so it works as documented
|
132 |
|
133 | 1.0.1 / 2015-02-22
|
134 | ==================
|
135 |
|
136 | * legacy support for `url` option
|
137 | * bump version on web-resource-inliner to use `relativeTo` with a url and remote paths starting `//`
|
138 | * update skipped tests to mocha so they will run with `npm test` and on travis
|
139 | * bump web-resource-inliner version to expose `strict` option, which is now `false` by default
|
140 |
|
141 | 1.0.0 / 2015-02-12
|
142 | ==================
|
143 |
|
144 | * add support for node 0.12
|
145 | * drop support for node 0.8
|
146 | * use cheerio instead of jsdom
|
147 | * move remote resource fetching to external library web-resource-inliner
|
148 | * adjust public methods as needed to support other changes
|
149 | * rename `juiceContent` to `juiceResources`
|
150 | * maintain CSS single quotes
|
151 | * ability to inline css pixel widths to `width` attribute with `applyWidthAttributes`
|
152 | * alphabetize styles for improved specificity
|
153 | * ability to keep media query styles with option `preserveMediaQueries`
|
154 | * clean up testing setup, including removing old dependency on expresso
|
155 | * istanbul put in place to show test coverage
|
156 | * remove now unused options `applyLinkTags` and `removeLinkTags`
|
157 |
|
158 | 0.5.0 / 2014-09-08
|
159 | ==================
|
160 |
|
161 | * update dependencies [binarykitchen]
|
162 | * handle errors in loading external css
|
163 | * add repository field to readme
|
164 |
|
165 | 0.4.0 / 2013-04-15
|
166 | ==================
|
167 |
|
168 | * update jsdom dependency to 0.6.0
|
169 |
|
170 | 0.3.3 / 2013-04-08
|
171 | ==================
|
172 |
|
173 | * fix resolving file:// paths on windows (thanks Mirco Zeiss)
|
174 | * fix crash during cleanup. (thanks Ger Hobbelt)
|
175 | * update superagent to 0.14.0
|
176 |
|
177 | 0.3.2 / 2013-03-26
|
178 | ==================
|
179 |
|
180 | * fix regression: not ignoring pseudos
|
181 |
|
182 | 0.3.1 / 2013-03-26
|
183 | ==================
|
184 |
|
185 | * do not crash on ::selectors (covered by normalize.css test case)
|
186 |
|
187 | 0.3.0 / 2013-03-26
|
188 | ==================
|
189 |
|
190 | * update jsdom dependency to 0.5.4
|
191 | * support node v0.10
|
192 | * switch dependency to slick instead of mootools which was rudely unpublished
|
193 |
|
194 | 0.2.0 / 2013-02-13
|
195 | ==================
|
196 |
|
197 | * update jsdom dependency to 0.5.0
|
198 |
|
199 | 0.1.3 / 2013-02-12
|
200 | ==================
|
201 |
|
202 | * fix specificity test. all test cases passed now.
|
203 | * add a command line `juice` program
|
204 |
|
205 | 0.1.2 / 2013-02-11
|
206 | ==================
|
207 |
|
208 | * fix incorrectly lowercasing <link> href
|
209 |
|
210 | 0.1.1 / 2013-02-11
|
211 | ==================
|
212 |
|
213 | * explicitly document which node versions are supported
|
214 | with `engines` and travis-ci.
|
215 | * expose `juice.inlineDocument` and `juice.inlineContent`
|
216 |
|
217 | 0.1.0 / 2013-02-07
|
218 | ==================
|
219 |
|
220 | * fix / test case for @media queries
|
221 | * merge [boost](https://github.com/superjoe30/boost) into juice
|
222 | * legacy `juice` function still works as is
|
223 | * add `juice(filePath, [options], callback)`
|
224 | * add `juice.juiceDocument(document, options, callback)`
|
225 | * add `juice.juiceContent(html, options, callback)`
|
226 | * remove `juice.juiceDom`
|
227 |
|
228 | 0.0.9 / 2013-02-07
|
229 | ==================
|
230 |
|
231 | * update jsdom dependency to 0.4.0
|
232 | * update cssom dependency to 0.2.5
|
233 |
|
234 | 0.0.8 / 2013-02-06
|
235 | ==================
|
236 |
|
237 | * expose a lower level export so you can operate on a jsdom document [superjoe30]
|
238 | * fix exports not working [superjoe30]
|
239 | * fix jshint problems [superjoe30]
|
240 |
|
241 | 0.0.7 / 2013-02-06
|
242 | ==================
|
243 |
|
244 | * fixed test case expected outputs to have starting and ending <html> and <body> tags as jsdom appends them in its html() function if they do not exist
|
245 | * regression test for previous fix for media queries. note i had to wrap my test .out content in <html><body> tags in order to pass tests, it looks like they are appended at some point for partial html content which just guessing is new behavior from when these tests were written
|
246 | * make sure the css rule has selectorText to prevent parsing exception. hit this on @media rules which do not have selector text. afaik this means media queries will not be inlined. however everything else is.
|
247 | * bump jsdom
|
248 | * Added note regarding node-email-templates to README
|
249 |
|
250 | 0.0.6 / 2011-12-20
|
251 | ==================
|
252 |
|
253 | * Corrected juice unit tests for latest cssom.
|
254 | * Fixed presence of \n in selectors.
|
255 | * Fixed unneeded removal of inline event handlers in html.
|
256 | * Bumped jsdom.
|
257 |
|
258 | 0.0.5 / 2011-10-10
|
259 | ==================
|
260 |
|
261 | * Added whitelist of pseudos to ignore (fixes `:first-child` etc)
|
262 | * Fine-tuned jsdom for speed (disabled unneded features).
|
263 | * Added caching of parsed selectors.
|
264 |
|
265 | 0.0.4 / 2011-10-10
|
266 | ==================
|
267 |
|
268 | * Fixed `:hover`.
|
269 |
|
270 | 0.0.3 / 2011-10-09
|
271 | ==================
|
272 |
|
273 | * Fixed specificity :not recursion.
|
274 |
|
275 | 0.0.2 / 2011-10-09
|
276 | ==================
|
277 |
|
278 | * Fixed specificity calculation for `not()` and pseudos. [arian]
|
279 |
|
280 | 0.0.1 / 2011-10-09
|
281 | ==================
|
282 |
|
283 | * Initial release.
|