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
View
@@ -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
View
@@ -1 +1 @@
4.2.0.beta4
5.0.0.alpha
View
@@ -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
Oops, something went wrong.

81 comments on commit f25ad07

@yuki24

This comment has been minimized.

Contributor

yuki24 replied Nov 28, 2014

🎆 🎆 🎆

@arthurnn

This comment has been minimized.

Member

arthurnn replied Nov 28, 2014

❤️ ❤️ ❤️

@simi

This comment has been minimized.

Contributor

simi replied Nov 28, 2014

😍

@BGuimberteau

This comment has been minimized.

BGuimberteau replied Nov 28, 2014

👍

@shadowmaru

This comment has been minimized.

shadowmaru replied Nov 28, 2014

❤️

@g3ortega

This comment has been minimized.

g3ortega replied Nov 28, 2014

😄 😄 😄

@seuros

This comment has been minimized.

Member

seuros replied Nov 28, 2014

Awesome

@yaroslav

This comment has been minimized.

Contributor

yaroslav replied Nov 28, 2014

👍 🙇

@cibernox

This comment has been minimized.

Contributor

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.

Member

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.

Contributor

zavan replied Nov 28, 2014

😍

@cibernox

This comment has been minimized.

Contributor

cibernox replied Nov 28, 2014

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

@artofhuman

This comment has been minimized.

Contributor

artofhuman replied Nov 28, 2014

👍

@johnmeehan

This comment has been minimized.

Contributor

johnmeehan replied Nov 28, 2014

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

@rebyn

This comment has been minimized.

Contributor

rebyn replied Nov 28, 2014

💃

@ablazhey

This comment has been minimized.

ablazhey replied Nov 28, 2014

Awesome

@mrbrdo

This comment has been minimized.

Contributor

mrbrdo replied Nov 28, 2014

❤️

@idoo

This comment has been minimized.

idoo replied Nov 28, 2014

👍

@sadiqmmm

This comment has been minimized.

sadiqmmm replied Nov 28, 2014

Great! Love Rails!

@ericbrooke

This comment has been minimized.

Contributor

ericbrooke replied Nov 29, 2014

Awesome :-)

@softr8

This comment has been minimized.

softr8 replied Nov 29, 2014

Nice!!!

@ancv1990

This comment has been minimized.

ancv1990 replied Nov 29, 2014

Great 👍

@anilreddy

This comment has been minimized.

anilreddy replied Nov 29, 2014

Cool 👍

@ferdinandrosario

This comment has been minimized.

ferdinandrosario replied Nov 29, 2014

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

@jogam5

This comment has been minimized.

jogam5 replied Nov 29, 2014

Superb!

@dtinth

This comment has been minimized.

dtinth replied Nov 29, 2014

@facundofarias

This comment has been minimized.

facundofarias replied Nov 29, 2014

👍

@nchelluri

This comment has been minimized.

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.

csaura replied Nov 29, 2014

🤘

@jademcgough

This comment has been minimized.

Contributor

jademcgough replied Nov 29, 2014

gorbypuff

@seuros

This comment has been minimized.

Member

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.

hafizio replied Nov 29, 2014

💯

@methyl

This comment has been minimized.

Contributor

methyl replied Nov 29, 2014

💥

@guyisra

This comment has been minimized.

guyisra replied Nov 29, 2014

any roadmap features?

@huobazi

This comment has been minimized.

huobazi replied Nov 29, 2014

顶!

@tibastral

This comment has been minimized.

tibastral replied Nov 29, 2014

<3 Génial !!!!

@idanci

This comment has been minimized.

idanci replied Nov 29, 2014

👍

@chareice

This comment has been minimized.

chareice replied Nov 29, 2014

楼主说得好啊,我顶啊。

@mikecarroll

This comment has been minimized.

Contributor

mikecarroll replied Nov 29, 2014

🙈

@kahwee

This comment has been minimized.

kahwee replied Nov 29, 2014

👍

@NouranMahmoud

This comment has been minimized.

NouranMahmoud replied Nov 29, 2014

👍

@nsinenko

This comment has been minimized.

Contributor

nsinenko replied Nov 29, 2014

:shipit:

@alexanderGugel

This comment has been minimized.

alexanderGugel replied Nov 29, 2014

👍

@davidcunha

This comment has been minimized.

davidcunha replied Nov 29, 2014

Yes!

@gamafranco

This comment has been minimized.

gamafranco replied Nov 29, 2014

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

@marcamillion

This comment has been minimized.

marcamillion replied Nov 30, 2014

👍

@georgemillo

This comment has been minimized.

Contributor

georgemillo replied Nov 30, 2014

😎

@SunnyLi

This comment has been minimized.

SunnyLi replied Nov 30, 2014

🎉

@dplord

This comment has been minimized.

dplord replied Nov 30, 2014

🎉
😺

@giedriusr

This comment has been minimized.

giedriusr replied Dec 1, 2014

👍

@saboyutaka

This comment has been minimized.

saboyutaka replied Dec 3, 2014

🎊

@lucascaton

This comment has been minimized.

Contributor

lucascaton replied Dec 3, 2014

Yay! 😄

@duduribeiro

This comment has been minimized.

Contributor

duduribeiro replied Dec 3, 2014

\o/

@simonewebdesign

This comment has been minimized.

simonewebdesign replied Dec 3, 2014

:shipit: 🚀

@jnx

This comment has been minimized.

jnx replied Dec 4, 2014

Yaay :)

@Saidbek

This comment has been minimized.

Saidbek replied Dec 5, 2014

Cool!

@fillman

This comment has been minimized.

Contributor

fillman replied Dec 5, 2014

Nice!

@pcofilada

This comment has been minimized.

pcofilada replied Dec 5, 2014

Nice 👍

@icortex

This comment has been minimized.

icortex replied Dec 5, 2014

😍

@tiegz

This comment has been minimized.

Contributor

tiegz replied Dec 5, 2014

🤘 🤘

@cseeger

This comment has been minimized.

cseeger replied Dec 5, 2014

swoon 😍

@danjesus

This comment has been minimized.

danjesus replied Dec 5, 2014

Good!

@ericsteen

This comment has been minimized.

ericsteen replied Dec 5, 2014

🚆 ❤️

@acrogenesis

This comment has been minimized.

Contributor

acrogenesis replied Dec 5, 2014

Awesome!

@Dorian

This comment has been minimized.

Contributor

Dorian replied Dec 5, 2014

🎉 👍 😍

@joaomilho

This comment has been minimized.

joaomilho replied Dec 5, 2014

| - Gemfile
| + package.json

1, 2, 3... fight!

@sachatech

This comment has been minimized.

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.

sachatech replied Dec 6, 2014

Sorry, should have read the other posts first.

@luckydev

This comment has been minimized.

Contributor

luckydev replied Dec 7, 2014

Nice 👍

@schaary

This comment has been minimized.

schaary replied Dec 7, 2014

👍

@naughtystyle

This comment has been minimized.

naughtystyle replied Dec 8, 2014

awesome!

@bshakr

This comment has been minimized.

bshakr replied Dec 8, 2014

👍

@ankurgupta

This comment has been minimized.

ankurgupta replied Dec 9, 2014

Excited !!

@vforge

This comment has been minimized.

vforge replied Dec 9, 2014

👍

@achempion

This comment has been minimized.

Contributor

achempion replied Dec 10, 2014

cat

@0xDing

This comment has been minimized.

0xDing replied Dec 11, 2014

Cool😄

@adityieldify

This comment has been minimized.

adityieldify replied Dec 16, 2014

Awesome stuff guys, love you all 👍

@wzywno

This comment has been minimized.

wzywno replied Dec 22, 2014

any roadmap or its draft?

@enlyn

This comment has been minimized.

enlyn replied Dec 23, 2014

👍

@simlegate

This comment has been minimized.

simlegate replied May 30, 2015

👍

@HatsuMora

This comment has been minimized.

HatsuMora replied Aug 1, 2015

we're waiting! (Y)

Please sign in to comment.