File: CHANGELOG.md

package info (click to toggle)
ruby-premailer-rails 1.9.7-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 320 kB
  • ctags: 116
  • sloc: ruby: 1,073; makefile: 13
file content (134 lines) | stat: -rw-r--r-- 2,822 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# Changelog

## v1.9.7

- Use `Rails.root` in `FileSystemLoader` (@stanhu, #195)

## v1.9.6

- Handle `relative_url_root` in when loading CSS from file system

## v1.9.5

- Mention license in gemspec

## v1.9.4

- Improve check for Rails module
- Preserve body encoding to prevent garbled mails

## v1.9.3

- Add support for rails' `relative_url_root` config
- Fix link tag removal under Hpricot
- Pass url to `asset_host` if it responds to `call`
- Fixed issue where urls may conflict with folder names.

## v1.9.2

- Update rails dependency to allow rails 5

## v1.9.1

- Respect data-premailer="ignore" on link tags
- Ensure content-transfer-encoding is maintained

## v1.9.0

- Improved CSS loading and caching.
- Fixed incompatibility with newer rails and sprockets versions.

## v1.8.2

- `Premailer::Rails::CSSLoaders::NetworkLoader` is more resilient and works even
  if the Rails asset host is set without a URI scheme. (panthomakos)
- Remove stylesheet links from the HTML that have been processed.

## v1.8.1

- Add support for longer fingerprint generated by sprocket 3.

## v1.8.0

- `ActionMailer` interceptors are registered after Rails initialization and no
  longer when loading this gem. If you were using this gem outside Rails, you'll
  need to call `Premailer::Rails.register_interceptors` manually.

## v1.7.0

- Register preview hook for the new previewing functionality introduced in
  rails 4.1.0

- Add example rails application

## v1.6.1

- Remove Nokogiri unicode fix since it's working properly without it by now

- Make sure html part comes before text part

## v1.6.0

- Only use asset pipeline if Rails is defined and if compile is true

- Depend on actionmailer instead of rails

- Check whether `::Rails` is defined before using it

- Add ability to skip premailer

- Test against multiple action mailer versions on travis

- Ensure CSS strings are always UTF-8 encoded

- Require premailer version >= 1.7.9

## v1.5.1

- Prefer precompiled assets over asset pipeline

- Improve construction of file URL when requesting from CDN

- No longer use open-uri

- Remove gzip unzipping after requesting file

## v1.5.0

- No longer support ruby 1.8

- Find linked stylesheets by `rel='stylesheet'` attribute instead of
  `type='text/css'`

- Don't test hpricot on JRuby due to incompatibility

## v1.4.0

- Fix attachments

## v1.3.2

- Rename gem to premailer-rails (drop the 3)

- Add support for rails 4

- Refactor code

- Add support for precompiled assets

- No longer include default `email.css`

## v1.1.0

- Fixed several bugs

- Strip asset digest from CSS path

- Improve nokogiri support

- Request CSS file if asset is not found locally

  This allows you to host all your assets on a CDN and deploy the
  app without the `app/assets` folder.

Thanks to everyone who contributed!