1.0.0 includes several breaking changes, including:
-
Remove the options to configure the address formats for to, from, and
cc. All of these will now return all of the components in a Hash,
which was the default for to and cc and an corresponds to the previous
:hash configuration option.It is trivially simple as a Griddler consumer to map these addresses
to the interesting part of the address, but decidedly non-trivial to
support the configuration options.This is a breaking change, as you will no longer be able to configure
these options and the value of from is no longer what was previously
the default (:full). #150 -
We now initialize the processor class (i.e., EmailProcessor) with
Griddler::Email object and then call the processor method
(i.e., #process) on the resulting object. In some cases, this won't be
a big deal as it was common to have the class-level methods do exactly
this, but now you can get rid of that class method.
#153 -
Remove generated email_processor route. Griddler now requires that you
either create your own route pointing to the
Griddler::EmailsController or that you use the mount_griddler helper
in your config/routes.rb. 4a1fb50
#149 -
Griddler previously introduced the concept of adapters as a means of
supporting different services. While this allowed Griddler's user base
to grow, these adapters were prone to errors and became a maintenance
burden. Rather than dropping support for these services, all adapters
(including SendGrid) have been extracted from Griddler and will be
maintained by people who have more experience in their use. Griddler
now requires the use of an adapter to function, so you will need to
add both griddler and an adapter to your Gemfile. Adapters are
outlined in the README.
#124 -
Change the supported Ruby version to the latest in the 2.0.* and
2.1.* ranges and Rails version to the stable versions of 4.0 and 4.1.
We run tests against the master version of Rails and are try to make
sure than any failures are on the Rails side and not Griddler's, but
those are a lower priority. These versions basically match the
supported versions of Ruby and Rails.
#125
1.0.0 also includes a slew of bug fixes and minor improvements:
- Move be_normalized_to matcher to Griddler::Testing so that it can be
used for adapter gems. - Remove Postmark and CloudMailin adapters.
- Remove all references to adapter gems in code.
- Update body parser regex to allow for new lines.
- Add pry to help debugging during development.
- Add NEWS with changes since 0.6.4. Future contributors should keep
this up to date for changes that an average Griddler user would be
interested in (i.e., new features but not an implementation detail
change). - Better handle
to
from Mailgun. - Better error for missing EmailProcessor.
- Remove Rails warning messages in specs.
- Exit if bundler is not installed.
- Make README friendlier.
- Remove 0.5.0 upgrade note from README regarding mount_griddler.
- Update to RSpec 3.0.
- Link to new URL of Giant Robots blog.
- Convert specs to RSpec 3.0.2 syntax with Transpec.