- Fixed custom message model
- Changed GA tracking to pageview instead of event
- Reduce DB hits on open, click operations
- Rubocop fixes
- Fixed error with Ruby < 2.5
- Fixed UTM parameters storage on model
- Use observer instead of interceptor
- Removed support for Rails < 4.2
Breaking changes
- UTM tagging, open tracking, and click tracking are no longer enabled by default
- Only sent emails are recorded
- Proc options are now executed in the context of the mailer and take no arguments
- Invalid options now throw an
ArgumentError
AhoyEmail.track
was removed in favor ofAhoyEmail.default_options
- The
heuristic_parse
option was removed and is now the default
- Fixed secret token for Rails 5.2
- Added
heuristic_parse
option
- Fixed deprecation warning in Rails 5.2
- Added
unsubscribe_links
option - Allow
message_model
to accept a proc - Use
references
in migration
- Added support for Rails 5.1
- Added
invalid_redirect_url
- Fixed
belongs_to
error in Rails 5 - Include
safely_block
gem without polluting global namespace
- Fixed deprecation warning for Rails 5
- Do not track content by default on fresh installations
- Fixed deprecation warnings
- Fixed
stack level too deep
error
- Added safely for error reporting
- Fixed error with
to
- Prevent duplicate records when mail called multiple times
- Added
extra
option for extra attributes
- Save utm parameters
- Added
url_options
- Skip tracking for
mailto
links - Only set secret token if not already set
- Fixed secret token for Rails 4.1
- Fixed links with href
- Fixed message id for Rails 3.1
- Added
only
andexcept
options
- Enable tracking when track is called by default
- Rails 3 fix
- Try not to rewrite unsubscribe links
- Added
to
andmailer
fields - Added subscribers for open and click events
- Added
AhoyEmail.track
(fix)
- Use secure compare for signature verification
- Fixed deprecation warnings
- First major release