From bf9c53458a3624f30c2991af295d49b8b6900502 Mon Sep 17 00:00:00 2001 From: Caleb Thompson Date: Thu, 19 Jun 2014 15:49:03 -0500 Subject: [PATCH] griddler 1.0.0-beta.1 Griddler is now feature-frozen for 1.0.0. Any further changes will only be bug/security fixes. Please use v1.0.0-beta.1 in your apps and let us know about any problems by creating an issue on GitHub. Since 1.0.0-alpha.2 ------------------- There are a few more breaking changes since the last alpha: * 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). https://github.com/thoughtbot/griddler/pull/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. https://github.com/thoughtbot/griddler/pull/153 And more minor changes and 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) For 1.0.0: ---------- 1.0.0 includes several breaking changes, including: * 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. 4a1fb503bc9be59f031e654dddacb080376c8f04 https://github.com/thoughtbot/griddler/pull/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. https://github.com/thoughtbot/griddler/issues/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. https://github.com/thoughtbot/griddler/pull/125 1.0.0 also includes a slew of bug fixes and minor improvements: * 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.md regarding mount_griddler. * Update to RSpec 3.0. * Link to new version of Giant Robots blog. * Replace mailgun adapter with gem --- lib/griddler/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/griddler/version.rb b/lib/griddler/version.rb index c66cfb50..e7ce9672 100644 --- a/lib/griddler/version.rb +++ b/lib/griddler/version.rb @@ -1,3 +1,3 @@ module Griddler - VERSION = "1.0.0-alpha.2" + VERSION = "1.0.0-beta.1" end