Skip to content
Permalink
Browse files
Start Rails 5 development 🎉
We will support only Ruby >= 2.1.

But right now we don't accept pull requests with syntax changes to drop
support to Ruby 1.9.
  • Loading branch information
rafaelfranca committed Nov 28, 2014
1 parent ee614af commit f25ad07f5ade46eb978fa82658463232d0247c65
@@ -16,18 +16,12 @@ env:
- "GEM=ar:postgresql"
- "GEM=aj:integration"
rvm:
- 1.9.3
- 2.0.0
- 2.1
- ruby-head
- rbx-2
- jruby
matrix:
allow_failures:
- rvm: 1.9.3
env: "GEM=ar:mysql"
- rvm: 2.0.0
env: "GEM=ar:mysql"
- rvm: ruby-head
env: "GEM=ar:mysql"
- rvm: rbx-2
@@ -1 +1 @@
4.2.0.beta4
5.0.0.alpha
@@ -1,63 +1 @@
* `MailerGenerator` now generates layouts by default. The HTML mailer layout
now includes `<html>` and `<body>` tags which improve the spam rating in
some spam detection engines. Mailers now inherit from `ApplicationMailer`
which sets the default layout.

*Andy Jeffries*

* `link_to` and `url_for` now generate URLs by default in templates.
Passing `only_path: false` is no longer needed.

Fixes #16497 and #16589.

*Xavier Noria*, *Richard Schneeman*

* Attachments can now be added while rendering the mail template.

Fixes #16974.

*Christian Felder*

* Add `#deliver_later` and `#deliver_now` methods and deprecate `#deliver` in
favor of `#deliver_now`. `#deliver_later` will enqueue a job to render and
deliver the mail instead of delivering it immediately. The job is enqueued
using the new Active Job framework in Rails and will use the queue that you
have configured in Rails.

*DHH*, *Abdelkader Boudih*, *Cristian Bica*

* `ActionMailer::Previews` are now class methods instead of instance methods.

*Cristian Bica*

* Deprecate `*_path` helpers in email views. They generated broken links in
email views and were not the intention of most developers. The `*_url`
helper is recommended instead.

*Richard Schneeman*

* Raise an exception when attachments are added after `mail` is called.
This is a safeguard to prevent invalid emails.

Fixes #16163.

*Yves Senn*

* Add `config.action_mailer.show_previews` configuration option.

This configuration option can be used to enable the mail preview in
environments other than development (such as staging).

Defaults to `true` in development and `false` elsewhere.

*Leonard Garvey*

* Allow preview interceptors to be registered through
`config.action_mailer.preview_interceptors`.

See #15739.

*Yves Senn*

Please check [4-1-stable](https://github.com/rails/rails/blob/4-1-stable/actionmailer/CHANGELOG.md)
for previous changes.
Please check [4-2-stable](https://github.com/rails/rails/blob/4-2-stable/actionmailer/CHANGELOG.md) for previous changes.
@@ -5,10 +5,10 @@ def self.gem_version
end

module VERSION
MAJOR = 4
MINOR = 2
MAJOR = 5
MINOR = 0
TINY = 0
PRE = "beta4"
PRE = "alpha"

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end

80 comments on commit f25ad07

@yuki24

This comment has been minimized.

Copy link
Contributor

@yuki24 yuki24 replied Nov 28, 2014

🎆 🎆 🎆

@arthurnn

This comment has been minimized.

Copy link
Member

@arthurnn arthurnn replied Nov 28, 2014

❤️ ❤️ ❤️

@simi

This comment has been minimized.

Copy link
Contributor

@simi simi replied Nov 28, 2014

😍

@BGuimberteau

This comment has been minimized.

Copy link

@BGuimberteau BGuimberteau replied Nov 28, 2014

👍

@shadowmaru

This comment has been minimized.

Copy link

@shadowmaru shadowmaru replied Nov 28, 2014

❤️

@g3ortega

This comment has been minimized.

Copy link

@g3ortega g3ortega replied Nov 28, 2014

😄 😄 😄

@seuros

This comment has been minimized.

Copy link
Member

@seuros seuros replied Nov 28, 2014

Awesome

@yaroslav

This comment has been minimized.

Copy link
Contributor

@yaroslav yaroslav replied Nov 28, 2014

👍 🙇

@cibernox

This comment has been minimized.

Copy link
Contributor

@cibernox cibernox replied Nov 28, 2014

👍

BTW, I've read somewhere that rails 5 will require ruby 2.2 (because of the new symbol GC). Have you changed your mind?

@rafaelfranca

This comment has been minimized.

Copy link
Member Author

@rafaelfranca rafaelfranca replied Nov 28, 2014

@cibernox definitely not. But since 2.2 final is not release yet we are requiring >= 2.1, but we will change as soon 2.2 is released.

@zavan

This comment has been minimized.

Copy link
Contributor

@zavan zavan replied Nov 28, 2014

😍

@cibernox

This comment has been minimized.

Copy link
Contributor

@cibernox cibernox replied Nov 28, 2014

@rafaelfranca Cool. I'm a early adopter anyway. Obrigado!

@artofhuman

This comment has been minimized.

Copy link
Contributor

@artofhuman artofhuman replied Nov 28, 2014

👍

@johnmeehan

This comment has been minimized.

Copy link
Contributor

@johnmeehan johnmeehan replied Nov 28, 2014

A journey of a thousand miles begins with a single step.

@rebyn

This comment has been minimized.

Copy link
Contributor

@rebyn rebyn replied Nov 28, 2014

💃

@ablazhey

This comment has been minimized.

Copy link

@ablazhey ablazhey replied Nov 28, 2014

Awesome

@mrbrdo

This comment has been minimized.

Copy link
Contributor

@mrbrdo mrbrdo replied Nov 28, 2014

❤️

@idoo

This comment has been minimized.

Copy link

@idoo idoo replied Nov 28, 2014

👍

@sadiqmmm

This comment has been minimized.

Copy link

@sadiqmmm sadiqmmm replied Nov 28, 2014

Great! Love Rails!

@ericbrooke

This comment has been minimized.

Copy link
Contributor

@ericbrooke ericbrooke replied Nov 29, 2014

Awesome :-)

@softr8

This comment has been minimized.

Copy link

@softr8 softr8 replied Nov 29, 2014

Nice!!!

@ancv1990

This comment has been minimized.

Copy link

@ancv1990 ancv1990 replied Nov 29, 2014

Great 👍

@anilreddy

This comment has been minimized.

Copy link

@anilreddy anilreddy replied Nov 29, 2014

Cool 👍

@ferdinandrosario

This comment has been minimized.

Copy link

@ferdinandrosario ferdinandrosario replied Nov 29, 2014

❤️ Awesome work. Thanks to the contributors....

@jogam5

This comment has been minimized.

Copy link

@jogam5 jogam5 replied Nov 29, 2014

Superb!

@dtinth

This comment has been minimized.

Copy link

@dtinth dtinth replied Nov 29, 2014

@facundofarias

This comment has been minimized.

Copy link

@facundofarias facundofarias replied Nov 29, 2014

👍

@nchelluri

This comment has been minimized.

Copy link

@nchelluri nchelluri replied Nov 29, 2014

I am curious... if the plan is to support Ruby versions >= 2.1, why not accept PRs with syntax changes that break in 1.9? Is this because you are not yet certain you will enforce the 2.1+ requirement and want the chance to revisit the decision?

@csaura

This comment has been minimized.

Copy link

@csaura csaura replied Nov 29, 2014

🤘

@immykins

This comment has been minimized.

Copy link
Contributor

@immykins immykins replied Nov 29, 2014

gorbypuff

@seuros

This comment has been minimized.

Copy link
Member

@seuros seuros replied Nov 29, 2014

@nchelluri :
We still are too close to 4.2 code and we are still in the release candidate. Right now we are not going to apply any change to remove compatibility to Ruby < 2.1 because it may make harder to backport things. -Rafael Mendonça França 2014-

@hafizio

This comment has been minimized.

Copy link

@hafizio hafizio replied Nov 29, 2014

💯

@methyl

This comment has been minimized.

Copy link
Contributor

@methyl methyl replied Nov 29, 2014

💥

@guyisra

This comment has been minimized.

Copy link

@guyisra guyisra replied Nov 29, 2014

any roadmap features?

@huobazi

This comment has been minimized.

Copy link

@huobazi huobazi replied Nov 29, 2014

顶!

@tibastral

This comment has been minimized.

Copy link

@tibastral tibastral replied Nov 29, 2014

<3 Génial !!!!

@idanci

This comment has been minimized.

Copy link

@idanci idanci replied Nov 29, 2014

👍

@chareice

This comment has been minimized.

Copy link

@chareice chareice replied Nov 29, 2014

楼主说得好啊,我顶啊。

@mikecarroll

This comment has been minimized.

Copy link
Contributor

@mikecarroll mikecarroll replied Nov 29, 2014

🙈

@kahwee

This comment has been minimized.

Copy link

@kahwee kahwee replied Nov 29, 2014

👍

@NouranMahmoud

This comment has been minimized.

Copy link

@NouranMahmoud NouranMahmoud replied Nov 29, 2014

👍

@nsinenko

This comment has been minimized.

Copy link
Contributor

@nsinenko nsinenko replied Nov 29, 2014

:shipit:

@alexanderGugel

This comment has been minimized.

Copy link

@alexanderGugel alexanderGugel replied Nov 29, 2014

👍

@davidcunha

This comment has been minimized.

Copy link

@davidcunha davidcunha replied Nov 29, 2014

Yes!

@gamafranco

This comment has been minimized.

Copy link

@gamafranco gamafranco replied Nov 29, 2014

Put pastéis de nata for everyone on my bill.

@marcamillion

This comment has been minimized.

Copy link

@marcamillion marcamillion replied Nov 30, 2014

👍

@george-carlin

This comment has been minimized.

Copy link
Contributor

@george-carlin george-carlin replied Nov 30, 2014

😎

@SunnyLi

This comment has been minimized.

Copy link

@SunnyLi SunnyLi replied Nov 30, 2014

🎉

@dplord

This comment has been minimized.

Copy link

@dplord dplord replied Nov 30, 2014

🎉
😺

@giedriusr

This comment has been minimized.

Copy link

@giedriusr giedriusr replied Dec 1, 2014

👍

@saboyutaka

This comment has been minimized.

Copy link

@saboyutaka saboyutaka replied Dec 3, 2014

🎊

@lucascaton

This comment has been minimized.

Copy link
Contributor

@lucascaton lucascaton replied Dec 3, 2014

Yay! 😄

@duduribeiro

This comment has been minimized.

Copy link
Contributor

@duduribeiro duduribeiro replied Dec 3, 2014

\o/

@simonewebdesign

This comment has been minimized.

Copy link

@simonewebdesign simonewebdesign replied Dec 3, 2014

:shipit: 🚀

@jnx

This comment has been minimized.

Copy link

@jnx jnx replied Dec 4, 2014

Yaay :)

@Saidbek

This comment has been minimized.

Copy link

@Saidbek Saidbek replied Dec 5, 2014

Cool!

@fillman

This comment has been minimized.

Copy link
Contributor

@fillman fillman replied Dec 5, 2014

Nice!

@pcofilada

This comment has been minimized.

Copy link

@pcofilada pcofilada replied Dec 5, 2014

Nice 👍

@icortex

This comment has been minimized.

Copy link

@icortex icortex replied Dec 5, 2014

😍

@tiegz

This comment has been minimized.

Copy link
Contributor

@tiegz tiegz replied Dec 5, 2014

🤘 🤘

@cseeger

This comment has been minimized.

Copy link

@cseeger cseeger replied Dec 5, 2014

swoon 😍

@danjesus

This comment has been minimized.

Copy link

@danjesus danjesus replied Dec 5, 2014

Good!

@upstarter

This comment has been minimized.

Copy link

@upstarter upstarter replied Dec 5, 2014

🚆 ❤️

@acrogenesis

This comment has been minimized.

Copy link
Contributor

@acrogenesis acrogenesis replied Dec 5, 2014

Awesome!

@joaomilho

This comment has been minimized.

Copy link
Contributor

@joaomilho joaomilho replied Dec 5, 2014

| - Gemfile
| + package.json

1, 2, 3... fight!

@sachatech

This comment has been minimized.

Copy link

@sachatech sachatech replied Dec 6, 2014

I was under the impression that Rails 5 will target Ruby 2.2 for improved symbol GC?

@sachatech

This comment has been minimized.

Copy link

@sachatech sachatech replied Dec 6, 2014

Sorry, should have read the other posts first.

@luckydev

This comment has been minimized.

Copy link
Contributor

@luckydev luckydev replied Dec 7, 2014

Nice 👍

@schaary

This comment has been minimized.

Copy link

@schaary schaary replied Dec 7, 2014

👍

@danpariente

This comment has been minimized.

Copy link

@danpariente danpariente replied Dec 8, 2014

awesome!

@bshakr

This comment has been minimized.

Copy link

@bshakr bshakr replied Dec 8, 2014

👍

@ankurgupta

This comment has been minimized.

Copy link

@ankurgupta ankurgupta replied Dec 9, 2014

Excited !!

@vforge

This comment has been minimized.

Copy link

@vforge vforge replied Dec 9, 2014

👍

@achempion

This comment has been minimized.

Copy link
Contributor

@achempion achempion replied Dec 10, 2014

cat

@0xDing

This comment has been minimized.

Copy link

@0xDing 0xDing replied Dec 11, 2014

Cool😄

@adityieldify

This comment has been minimized.

Copy link

@adityieldify adityieldify replied Dec 16, 2014

Awesome stuff guys, love you all 👍

@wzywno

This comment has been minimized.

Copy link

@wzywno wzywno replied Dec 22, 2014

any roadmap or its draft?

@enlyn

This comment has been minimized.

Copy link

@enlyn enlyn replied Dec 23, 2014

👍

@simlegate

This comment has been minimized.

Copy link

@simlegate simlegate replied May 30, 2015

👍

@HatsuMora

This comment has been minimized.

Copy link

@HatsuMora HatsuMora replied Aug 1, 2015

we're waiting! (Y)

Please sign in to comment.