Fedora 34 Change: Ruby on Rails 6.1 (Self-Contained Change proposal)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_6.1


== Summary ==
Ruby on Rails 6.1 is the latest version of well known web framework
written in Ruby.

== Owner ==
* Name: [[User:pvalena| Pavel Valena]], [[User:vondruch| Vít
Ondruch]], [[User:jaruga| Jun Aruga]]
* Email: pvalena@xxxxxxxxxx, vondruch@xxxxxxxxxx, jaruga@xxxxxxxxxx,
ruby-sig@xxxxxxxxxxxxxxxxxxxxxxx


== 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 6.0 in Fedora 33 to 6.1 (latest version) in Fedora 34.
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 6.1 will bring Horizontal Sharding, Multi-DB
Improvements, Strict Loading, Destroy Associations in Background,
Error Objects and more. Update to Rails 6.1 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
! Bug
! Pull Request
|-
|rubygem-actioncable
|Update to 6.1.x
|[https://bugzilla.redhat.com/show_bug.cgi?id=1906179 #1906179]
|[https://src.fedoraproject.org/rpms/rubygem-actioncable/pull-request/2 PR]
|-
|rubygem-actionmailbox
|Update to 6.1.x
|N/A
|[https://src.fedoraproject.org/rpms/rubygem-actionmailbox/pull-request/1 PR]
|-
|rubygem-actionmailer
|Update to 6.1.x
|N/A
|[https://src.fedoraproject.org/rpms/rubygem-actionmailer/pull-request/2 PR]
|-
|rubygem-actionpack
|Update to 6.1.x
|N/A
|[https://src.fedoraproject.org/rpms/rubygem-actionpack/pull-request/2 PR]
|-
|rubygem-actiontext
|Update to 6.1.x
|N/A
|[https://src.fedoraproject.org/rpms/rubygem-actiontext/pull-request/1 PR]
|-
|rubygem-actionview
|Update to 6.1.x
|N/A
|[https://src.fedoraproject.org/rpms/rubygem-actionview/pull-request/2 PR]
|-
|rubygem-activejob
|Update to 6.1.x
|N/A
|[https://src.fedoraproject.org/rpms/rubygem-activejob/pull-request/2 PR]
|-
|rubygem-activemodel
|Update to 6.1.x
|N/A
|[https://src.fedoraproject.org/rpms/rubygem-activemodel/pull-request/2 PR]
|-
|rubygem-activerecord
|Update to 6.1.x
|N/A
|[https://src.fedoraproject.org/rpms/rubygem-activerecord/pull-request/3 PR]
|-
|rubygem-activestorage
|Update to 6.1.x
|[https://bugzilla.redhat.com/show_bug.cgi?id=1906180 #1906180]
|[https://src.fedoraproject.org/rpms/rubygem-activestorage/pull-request/3 PR]
|-
|rubygem-activesupport
|Update to 6.1.x
|N/A
|[https://src.fedoraproject.org/rpms/rubygem-activesupport/pull-request/3 PR]
|-
|rubygem-rails
|Update to 6.1.x
|[https://bugzilla.redhat.com/show_bug.cgi?id=1906183 #1906183]
|[https://src.fedoraproject.org/rpms/rubygem-rails/pull-request/2 PR]
|-
|rubygem-railties
|Update to 6.1.x
|N/A
|[https://src.fedoraproject.org/rpms/rubygem-railties/pull-request/2 PR]
|}
Current development state can be observed in
[https://copr.fedorainfracloud.org/coprs/pvalena/ruby-on-rails/
pvalena/ruby-on-rails] COPR repository.
* Other developers: Update Rails dependent packages to be working with
Ruby on Rails 6.1

* Policies and guidelines: N/A
* Trademark approval: N/A (not needed for this Change)

== 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 6.1 from upstream ===
<pre>
gem install rails -v 6.1.x
rails new app
cd app && rails s
</pre>
* Go to http://127.0.0.1:3000/ and make sure you are running Rails 6.1.x

=== To test only Rails itself ===
<pre>
dnf install rubygem-rails
rails new app
cd app && rails s
</pre>
* Go to http://127.0.0.1:3000/ and make sure you are running Rails 6.1.x

=== To test the complete feature including generating a new Rails app
using RPM ===
<pre>
dnf group install 'Ruby on Rails'
rails new app --skip-bundle && cd app
rails s
</pre>
* Go to http://127.0.0.1:3000/ and make sure you are running Rails 6.1.x

== User Experience ==
* New version of Ruby on Rails (6.1) available
* The most significant Rails 6.1 features:
** Multi-DB Improvements
** Horizontal Sharding
** Strict Loading Associations
** Delegated Types
** Destroy Associations Async
** Error Objects
** Active Storage Improvements
** Disallowed Deprecation Support
* Please also note:
** The classic Autoloader is Deprecated

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

== 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 (not a System Wide Change)
* Blocks release? No
* Blocks product? No

== Documentation ==
* http://api.rubyonrails.org/

== Release Notes ==
* https://edgeguides.rubyonrails.org/6_1_release_notes.html
* https://weblog.rubyonrails.org/2020/12/9/Rails-6-1-0-release/


-- 
Ben Cotton
He / Him / His
Senior Program Manager, Fedora & CentOS Stream
Red Hat
TZ=America/Indiana/Indianapolis
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux