aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGodfrey Chan <godfreykfc@gmail.com>2014-08-19 18:39:41 -0700
committerGodfrey Chan <godfreykfc@gmail.com>2014-08-19 18:40:43 -0700
commitd8db05fb0110e8a8b5c36461ce930c4de4ea0203 (patch)
treee6c86b6fd43f55c06e2f6a2b41f636967b43c82c
parente43271444b298c0aeed76fe6af444986c58c47c7 (diff)
downloadrails-d8db05fb0110e8a8b5c36461ce930c4de4ea0203.tar.gz
rails-d8db05fb0110e8a8b5c36461ce930c4de4ea0203.tar.bz2
rails-d8db05fb0110e8a8b5c36461ce930c4de4ea0203.zip
Major features in 4.2 release notes [ci skip]
-rw-r--r--guides/source/4_2_release_notes.md40
1 files changed, 40 insertions, 0 deletions
diff --git a/guides/source/4_2_release_notes.md b/guides/source/4_2_release_notes.md
index 782af6757f..64603cef45 100644
--- a/guides/source/4_2_release_notes.md
+++ b/guides/source/4_2_release_notes.md
@@ -3,6 +3,11 @@ Ruby on Rails 4.2 Release Notes
Highlights in Rails 4.2:
+* Active Job, Action Mailer #deliver_later
+* Adequate Record
+* Web Console
+* Foreign key support
+
These release notes cover only the major changes. To know about various bug
fixes and changes, please refer to the change logs or check out the
[list of commits](https://github.com/rails/rails/commits/master) in the main
@@ -25,6 +30,41 @@ guide.
Major Features
--------------
+### Active Job, Action Mailer #deliver_later
+
+Active Job is a new framework in Rails 4.2. It is an adapter layer on top of
+queuing systems like Resque, Delayed Job, Sidekiq, and more. You can write your
+jobs to Active Job, and it'll run on all these queues with no changes. (It comes
+pre-configured with an inline runner.)
+
+Building on top of Active Job, Action Mailer now comes with a #deliver_later
+method, which adds your email to be sent as a job to a queue, so it doesn't
+bog down the controller or model.
+
+The new GlobalID library makes it easy to pass Active Record objects to jobs by
+serializing them in a generic form. This means you no longer have to manually
+pack and unpack your Active Records by passing ids. Just give the job the
+straight Active Record object, and it'll serialize it using GlobalID, and
+deserialize it at run time.
+
+### Adequate Record
+
+Rails 4.2 comes with a performance improvement feature called Adequate Record
+for Active Record. A lot of common queries are now up to twice as fast in Rails
+4.2!
+
+TODO: some technical details
+
+### Web Console
+
+New applications generated from Rails 4.2 now comes with the Web Console gem by
+default.
+
+Web Console is an IRB console available in the browser. In development mode, you
+can go to /console and do your work right there. It will also be made available
+on all exception pages and allows you to jump between the different points in
+the backtrace.
+
### Foreign key support
The migration DSL now supports adding and removing foreign keys. They are dumped