From Fedora Project Wiki
(Created page with "= Ruby on Rails 5.2 = == Summary == Ruby on Rails 5.2 is the latest version of well known web framework written in Ruby. == Owner == * Name: Pavel Valena,...")
 
m (done -> pass)
 
(8 intermediate revisions by 3 users not shown)
Line 18: Line 18:
== Current status ==
== Current status ==
* Targeted release: [[Releases/29 | Fedora 29 ]]
* Targeted release: [[Releases/29 | Fedora 29 ]]
* Last updated: {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}
* Last updated: <!-- this is an automatic macro — you don't need to change this line -->  {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}
* Last updated: <!-- this is an automatic macro — you don't need to change this line -->  {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
Line 28: Line 27:
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
-->
-->
* Tracker bug:  
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1565022 #1565022]
* Release Notes tracking: [https://pagure.io/fedora-docs/release-notes/issue/134 #134]


== Detailed Description ==
== Detailed Description ==
Line 34: Line 34:


== Benefit to Fedora ==
== Benefit to Fedora ==
This update will keep Fedora up-to-date and will ensure that the current Ruby on Rails developers stay with us as they will get support for system-packaged Ruby on Rails of the latest version. Apart from that, update to Rails 5.2 will brings new Active Storage framework, Redis Cache Store, HTTP/2 Early Hints, CSP support, opened credentials API. In addition update to Rails 5.2 contains hundreds of other fixes and improvements across all the frameworks.
This update will keep Fedora up-to-date and will ensure that the current Ruby on Rails developers stay with us as they will get support for system-packaged Ruby on Rails of the latest version. Apart from that, update to Rails 5.2 will bring new Active Storage framework, Redis Cache Store, HTTP/2 Early Hints, CSP support, opened credentials API. In addition update to Rails 5.2 contains hundreds of other fixes and improvements across all the frameworks.


== Scope ==
== Scope ==
* Proposal owners:
* Proposal owners:
** The whole Rails stack has to be updated
** The whole Rails stack has to be updated
** Some dependencies of the Rails stack will need update
** Some dependencies of the Rails stack will need update
Line 49: Line 48:
|-
|-
|rubygem-activestorage
|rubygem-activestorage
|Create package
|Update to 5.2.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id= #]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1565380 #1565380]
|-
|-
|rubygem-actioncable
|rubygem-actioncable
|Update to 5.2.x
|Update to 5.2.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id= #]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1562258 #1562258]
|-
|-
|rubygem-actionmailer
|rubygem-actionmailer
|Update to 5.2.x
|Update to 5.2.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id= #]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1562259 #1562259]
|-
|-
|rubygem-actionpack
|rubygem-actionpack
|Update to 5.2.x
|Update to 5.2.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id= #]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1562260 #1562260]
|-
|-
|rubygem-actionview
|rubygem-actionview
|Update to 5.2.x
|Update to 5.2.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id= #]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1562261 #1562261]
|-
|-
|rubygem-activejob
|rubygem-activejob
|Update to 5.2.x
|Update to 5.2.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id= #]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1562262 #1562262]
|-
|-
|rubygem-activemodel
|rubygem-activemodel
|Update to 5.2.x
|Update to 5.2.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id= #]  
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1562263 #1562263]  
|-
|-
|rubygem-activerecord
|rubygem-activerecord
|Update to 5.2.x
|Update to 5.2.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id= #]  
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1562264 #1562264]  
|-
|-
|rubygem-activesupport
|rubygem-activesupport
|Update to 5.2.x
|Update to 5.2.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id= #]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1562265 #1562265]
|-
|-
|rubygem-rails
|rubygem-rails
|Update to 5.2.x
|Update to 5.2.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id= #]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1562272 #1562272]
|-
|-
|rubygem-railties
|rubygem-railties
|Update to 5.2.x
|Update to 5.2.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id= #]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1562273 #1562273]
|-
|-
|rubygem-arel
|rubygem-arel
|Update to 9.0.x
|Update to 9.0.x
|{{result|inprogress|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id= #]
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1513201 #1513201]
|-
|rubygem-redis
|Update to 4.0.x
|{{result|pass|pvalena}} [https://bugzilla.redhat.com/show_bug.cgi?id=1328088 #1328088]
|}
|}


* Other developers: Update Rails dependent packages to be working with Ruby on Rails 5.2 <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Other developers: Update Rails dependent packages to be working with Ruby on Rails 5.2 <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
 
* Release engineering: [https://pagure.io/releng/issue/7410 #7410]<!-- REQUIRED FOR SYSTEM WIDE AS WELL AS FOR SELF CONTAINED CHANGES -->
* Release engineering: Not needed <!-- REQUIRED FOR SYSTEM WIDE AS WELL AS FOR SELF CONTAINED CHANGES -->
 
** [[Fedora_Program_Management/ReleaseBlocking/Fedora{{FedoraVersionNumber|next}}|List of deliverables]]: None <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
** [[Fedora_Program_Management/ReleaseBlocking/Fedora{{FedoraVersionNumber|next}}|List of deliverables]]: None <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Policies and guidelines: Not needed <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Policies and guidelines: Not needed <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Trademark approval: Not needed
* Trademark approval: Not needed


Line 113: Line 112:
== How To Test ==
== How To Test ==
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* No special hardware is needed.
* No special hardware is needed.


Line 147: Line 145:
* New version of Ruby on Rails (5.2) available
* New version of Ruby on Rails (5.2) available
* The most significant Rails 5.2 features:
* The most significant Rails 5.2 features:
** Active Storage
** Redis Cache Store
** HTTP/2 Early Hints
** Credentials
** Content Security Policy


== Dependencies ==
== Dependencies ==
Line 170: Line 173:


* http://edgeguides.rubyonrails.org/5_2_release_notes.html
* http://edgeguides.rubyonrails.org/5_2_release_notes.html
* http://weblog.rubyonrails.org/2017/11/27/Rails-5-2-Active-Storage-Redis-Cache-Store-HTTP2-Early-Hints-Credentials/
* http://weblog.rubyonrails.org/2018/3/20/Rails-5-2-RC2/
* Release Notes tracking: [https://pagure.io/fedora-docs/release-notes/issue/134 #134]


[[Category:ChangePageIncomplete]]
[[Category:ChangeAcceptedF29]]
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->


[[Category:SystemWideChange]]
[[Category:SystemWideChange]]

Latest revision as of 20:43, 15 June 2018

Ruby on Rails 5.2

Summary

Ruby on Rails 5.2 is the latest version of well known web framework written in Ruby.

Owner

Current status

Detailed Description

The Ruby on Rails stack is evolving quickly and Fedora needs to keep pace with it. Therefore the whole Ruby on Rails stack should be updated from 5.1 in Fedora 28 to 5.2 (latest version) in Fedora 29. This will ensure that all the Ruby developers using Fedora have the latest and greatest RPM-packaged Ruby on Rails.

Benefit to Fedora

This update will keep Fedora up-to-date and will ensure that the current Ruby on Rails developers stay with us as they will get support for system-packaged Ruby on Rails of the latest version. Apart from that, update to Rails 5.2 will bring new Active Storage framework, Redis Cache Store, HTTP/2 Early Hints, CSP support, opened credentials API. In addition update to Rails 5.2 contains hundreds of other fixes and improvements across all the frameworks.

Scope

  • Proposal owners:
    • The whole Rails stack has to be updated
    • Some dependencies of the Rails stack will need update

Packages need to be created/updated

Package name Task Status
rubygem-activestorage Update to 5.2.x
Pass pass pvalena
#1565380
rubygem-actioncable Update to 5.2.x
Pass pass pvalena
#1562258
rubygem-actionmailer Update to 5.2.x
Pass pass pvalena
#1562259
rubygem-actionpack Update to 5.2.x
Pass pass pvalena
#1562260
rubygem-actionview Update to 5.2.x
Pass pass pvalena
#1562261
rubygem-activejob Update to 5.2.x
Pass pass pvalena
#1562262
rubygem-activemodel Update to 5.2.x
Pass pass pvalena
#1562263
rubygem-activerecord Update to 5.2.x
Pass pass pvalena
#1562264
rubygem-activesupport Update to 5.2.x
Pass pass pvalena
#1562265
rubygem-rails Update to 5.2.x
Pass pass pvalena
#1562272
rubygem-railties Update to 5.2.x
Pass pass pvalena
#1562273
rubygem-arel Update to 9.0.x
Pass pass pvalena
#1513201
rubygem-redis Update to 4.0.x
Pass pass pvalena
#1328088
  • Other developers: Update Rails dependent packages to be working with Ruby on Rails 5.2
  • Release engineering: #7410
  • Policies and guidelines: Not needed
  • Trademark approval: Not needed

Upgrade/compatibility impact

Web applications build above Ruby on Rails framework might need to be updated. Official upstream upgrade guide might come handy: http://guides.rubyonrails.org/upgrading_ruby_on_rails.html

How To Test

  • No special hardware is needed.

To test Rails 5.2 from upstream

gem install rails -v 5.2.x
rails new app
cd app && rails s

To test only Rails itself

dnf install rubygem-rails
rails new app
cd app && rails s

To test the complete feature including generating a new Rails app using RPM

dnf group install 'Ruby on Rails'
rails new app --skip-bundle && cd app
rails s

User Experience

  • New version of Ruby on Rails (5.2) available
  • The most significant Rails 5.2 features:
    • Active Storage
    • Redis Cache Store
    • HTTP/2 Early Hints
    • Credentials
    • Content Security Policy

Dependencies

  • There are several packages, which depends on Ruby on Rails framework. All need to be tested an updated:
  • These needs to be surely updated:
    • (none)
  • Following gems don't support Rails 5.2 right now and would be broken by the update:
    • (none)
  • As Rails requires Ruby >= 2.2.2, the platform less than the version can not use Rails 5.2.

Contingency Plan

  • Contingency mechanism: None needed. Rails stack won't be updated until all its dependencies are in Rawhide. After that, it will be a simple matter of updating the core packages (and their dependencies).
  • Contingency deadline: N/A
  • Blocks release? No
  • Blocks product? No

Documentation

Release Notes