Skip to content

Commit

Permalink
Development of Rails 8.0 starts now
Browse files Browse the repository at this point in the history
🎉
  • Loading branch information
rafaelfranca committed May 13, 2024
1 parent a6e2bb0 commit 37fd0e7
Show file tree
Hide file tree
Showing 58 changed files with 522 additions and 236 deletions.
2 changes: 1 addition & 1 deletion .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ markComment: >
The resources of the Rails team are limited, and so we are asking for your help.
If you can still reproduce this error on the `7-1-stable` branch or on `main`,
If you can still reproduce this error on the `7-2-stable` branch or on `main`,
please reply with all of the information you have about it in order to keep the issue open.
Thank you for all your contributions.
Expand Down
106 changes: 53 additions & 53 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,29 @@ GIT
PATH
remote: .
specs:
actioncable (7.2.0.alpha)
actionpack (= 7.2.0.alpha)
activesupport (= 7.2.0.alpha)
actioncable (8.0.0.alpha)
actionpack (= 8.0.0.alpha)
activesupport (= 8.0.0.alpha)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
zeitwerk (~> 2.6)
actionmailbox (7.2.0.alpha)
actionpack (= 7.2.0.alpha)
activejob (= 7.2.0.alpha)
activerecord (= 7.2.0.alpha)
activestorage (= 7.2.0.alpha)
activesupport (= 7.2.0.alpha)
actionmailbox (8.0.0.alpha)
actionpack (= 8.0.0.alpha)
activejob (= 8.0.0.alpha)
activerecord (= 8.0.0.alpha)
activestorage (= 8.0.0.alpha)
activesupport (= 8.0.0.alpha)
mail (>= 2.8.0)
actionmailer (7.2.0.alpha)
actionpack (= 7.2.0.alpha)
actionview (= 7.2.0.alpha)
activejob (= 7.2.0.alpha)
activesupport (= 7.2.0.alpha)
actionmailer (8.0.0.alpha)
actionpack (= 8.0.0.alpha)
actionview (= 8.0.0.alpha)
activejob (= 8.0.0.alpha)
activesupport (= 8.0.0.alpha)
mail (>= 2.8.0)
rails-dom-testing (~> 2.2)
actionpack (7.2.0.alpha)
actionview (= 7.2.0.alpha)
activesupport (= 7.2.0.alpha)
actionpack (8.0.0.alpha)
actionview (= 8.0.0.alpha)
activesupport (= 8.0.0.alpha)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4)
Expand All @@ -58,35 +58,35 @@ PATH
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
useragent (~> 0.16)
actiontext (7.2.0.alpha)
actionpack (= 7.2.0.alpha)
activerecord (= 7.2.0.alpha)
activestorage (= 7.2.0.alpha)
activesupport (= 7.2.0.alpha)
actiontext (8.0.0.alpha)
actionpack (= 8.0.0.alpha)
activerecord (= 8.0.0.alpha)
activestorage (= 8.0.0.alpha)
activesupport (= 8.0.0.alpha)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.2.0.alpha)
activesupport (= 7.2.0.alpha)
actionview (8.0.0.alpha)
activesupport (= 8.0.0.alpha)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activejob (7.2.0.alpha)
activesupport (= 7.2.0.alpha)
activejob (8.0.0.alpha)
activesupport (= 8.0.0.alpha)
globalid (>= 0.3.6)
activemodel (7.2.0.alpha)
activesupport (= 7.2.0.alpha)
activerecord (7.2.0.alpha)
activemodel (= 7.2.0.alpha)
activesupport (= 7.2.0.alpha)
activemodel (8.0.0.alpha)
activesupport (= 8.0.0.alpha)
activerecord (8.0.0.alpha)
activemodel (= 8.0.0.alpha)
activesupport (= 8.0.0.alpha)
timeout (>= 0.4.0)
activestorage (7.2.0.alpha)
actionpack (= 7.2.0.alpha)
activejob (= 7.2.0.alpha)
activerecord (= 7.2.0.alpha)
activesupport (= 7.2.0.alpha)
activestorage (8.0.0.alpha)
actionpack (= 8.0.0.alpha)
activejob (= 8.0.0.alpha)
activerecord (= 8.0.0.alpha)
activesupport (= 8.0.0.alpha)
marcel (~> 1.0)
activesupport (7.2.0.alpha)
activesupport (8.0.0.alpha)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand All @@ -95,23 +95,23 @@ PATH
i18n (>= 1.6, < 2)
minitest (>= 5.1, < 5.22.0)
tzinfo (~> 2.0, >= 2.0.5)
rails (7.2.0.alpha)
actioncable (= 7.2.0.alpha)
actionmailbox (= 7.2.0.alpha)
actionmailer (= 7.2.0.alpha)
actionpack (= 7.2.0.alpha)
actiontext (= 7.2.0.alpha)
actionview (= 7.2.0.alpha)
activejob (= 7.2.0.alpha)
activemodel (= 7.2.0.alpha)
activerecord (= 7.2.0.alpha)
activestorage (= 7.2.0.alpha)
activesupport (= 7.2.0.alpha)
rails (8.0.0.alpha)
actioncable (= 8.0.0.alpha)
actionmailbox (= 8.0.0.alpha)
actionmailer (= 8.0.0.alpha)
actionpack (= 8.0.0.alpha)
actiontext (= 8.0.0.alpha)
actionview (= 8.0.0.alpha)
activejob (= 8.0.0.alpha)
activemodel (= 8.0.0.alpha)
activerecord (= 8.0.0.alpha)
activestorage (= 8.0.0.alpha)
activesupport (= 8.0.0.alpha)
bundler (>= 1.15.0)
railties (= 7.2.0.alpha)
railties (7.2.0.alpha)
actionpack (= 7.2.0.alpha)
activesupport (= 7.2.0.alpha)
railties (= 8.0.0.alpha)
railties (8.0.0.alpha)
actionpack (= 8.0.0.alpha)
activesupport (= 8.0.0.alpha)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2)
Expand Down
2 changes: 1 addition & 1 deletion RAILS_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.2.0.alpha
8.0.0.alpha
2 changes: 1 addition & 1 deletion actioncable/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@

*Sebastian Pöll*, *Junichi Sato*

Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-stable/actioncable/CHANGELOG.md) for previous changes.
Please check [7-2-stable](https://github.com/rails/rails/blob/7-2-stable/actioncable/CHANGELOG.md) for previous changes.
4 changes: 2 additions & 2 deletions actioncable/lib/action_cable/gem_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ def self.gem_version
end

module VERSION
MAJOR = 7
MINOR = 2
MAJOR = 8
MINOR = 0
TINY = 0
PRE = "alpha"

Expand Down
2 changes: 1 addition & 1 deletion actioncable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rails/actioncable",
"version": "7.2.0-alpha",
"version": "8.0.0-alpha",
"description": "WebSocket framework for Ruby on Rails.",
"module": "app/assets/javascripts/actioncable.esm.js",
"main": "app/assets/javascripts/actioncable.js",
Expand Down
2 changes: 1 addition & 1 deletion actionmailbox/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

*Chedli Bourguiba*

Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-stable/actionmailbox/CHANGELOG.md) for previous changes.
Please check [7-2-stable](https://github.com/rails/rails/blob/7-2-stable/actionmailbox/CHANGELOG.md) for previous changes.
4 changes: 2 additions & 2 deletions actionmailbox/lib/action_mailbox/gem_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ def self.gem_version
end

module VERSION
MAJOR = 7
MINOR = 2
MAJOR = 8
MINOR = 0
TINY = 0
PRE = "alpha"

Expand Down
2 changes: 1 addition & 1 deletion actionmailbox/test/dummy/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.2].define(version: 2018_02_12_164506) do
ActiveRecord::Schema[8.0].define(version: 2018_02_12_164506) do
create_table "action_mailbox_inbound_emails", force: :cascade do |t|
t.integer "status", default: 0, null: false
t.string "message_id", null: false
Expand Down
2 changes: 1 addition & 1 deletion actionmailer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

*Rafael Mendonça França*

Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-stable/actionmailer/CHANGELOG.md) for previous changes.
Please check [7-2-stable](https://github.com/rails/rails/blob/7-2-stable/actionmailer/CHANGELOG.md) for previous changes.
4 changes: 2 additions & 2 deletions actionmailer/lib/action_mailer/gem_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ def self.gem_version
end

module VERSION
MAJOR = 7
MINOR = 2
MAJOR = 8
MINOR = 0
TINY = 0
PRE = "alpha"

Expand Down
2 changes: 1 addition & 1 deletion actionpack/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@

*Roque Pinel*, *Trevor Turk*, *tonytonyjan*

Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-stable/actionpack/CHANGELOG.md) for previous changes.
Please check [7-2-stable](https://github.com/rails/rails/blob/7-2-stable/actionpack/CHANGELOG.md) for previous changes.
4 changes: 2 additions & 2 deletions actionpack/lib/action_pack/gem_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ def self.gem_version
end

module VERSION
MAJOR = 7
MINOR = 2
MAJOR = 8
MINOR = 0
TINY = 0
PRE = "alpha"

Expand Down
2 changes: 1 addition & 1 deletion actiontext/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@

*Hartley McGuire*

Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-stable/actiontext/CHANGELOG.md) for previous changes.
Please check [7-2-stable](https://github.com/rails/rails/blob/7-2-stable/actiontext/CHANGELOG.md) for previous changes.
4 changes: 2 additions & 2 deletions actiontext/lib/action_text/gem_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ def self.gem_version
end

module VERSION
MAJOR = 7
MINOR = 2
MAJOR = 8
MINOR = 0
TINY = 0
PRE = "alpha"

Expand Down
2 changes: 1 addition & 1 deletion actiontext/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rails/actiontext",
"version": "7.2.0-alpha",
"version": "8.0.0-alpha",
"description": "Edit and display rich text in Rails applications",
"module": "app/assets/javascripts/actiontext.esm.js",
"main": "app/assets/javascripts/actiontext.js",
Expand Down
2 changes: 1 addition & 1 deletion actiontext/test/dummy/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.2].define(version: 2019_03_17_200724) do
ActiveRecord::Schema[8.0].define(version: 2019_03_17_200724) do
create_table "action_text_rich_texts", force: :cascade do |t|
t.string "name", null: false
t.text "body"
Expand Down
2 changes: 1 addition & 1 deletion actionview/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@

*Akhil G Krishnan*

Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-stable/actionview/CHANGELOG.md) for previous changes.
Please check [7-2-stable](https://github.com/rails/rails/blob/7-2-stable/actionview/CHANGELOG.md) for previous changes.
4 changes: 2 additions & 2 deletions actionview/lib/action_view/gem_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ def self.gem_version
end

module VERSION
MAJOR = 7
MINOR = 2
MAJOR = 8
MINOR = 0
TINY = 0
PRE = "alpha"

Expand Down
2 changes: 1 addition & 1 deletion activejob/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@

*Rafael Mendonça França*

Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-stable/activejob/CHANGELOG.md) for previous changes.
Please check [7-2-stable](https://github.com/rails/rails/blob/7-2-stable/activejob/CHANGELOG.md) for previous changes.
4 changes: 2 additions & 2 deletions activejob/lib/active_job/gem_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ def self.gem_version
end

module VERSION
MAJOR = 7
MINOR = 2
MAJOR = 8
MINOR = 0
TINY = 0
PRE = "alpha"

Expand Down
2 changes: 1 addition & 1 deletion activemodel/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@

*Jonathan Hefner*

Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-stable/activemodel/CHANGELOG.md) for previous changes.
Please check [7-2-stable](https://github.com/rails/rails/blob/7-2-stable/activemodel/CHANGELOG.md) for previous changes.
4 changes: 2 additions & 2 deletions activemodel/lib/active_model/gem_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ def self.gem_version
end

module VERSION
MAJOR = 7
MINOR = 2
MAJOR = 8
MINOR = 0
TINY = 0
PRE = "alpha"

Expand Down
2 changes: 1 addition & 1 deletion activerecord/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -815,4 +815,4 @@

*Myles Boone*

Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-stable/activerecord/CHANGELOG.md) for previous changes.
Please check [7-2-stable](https://github.com/rails/rails/blob/7-2-stable/activerecord/CHANGELOG.md) for previous changes.
2 changes: 1 addition & 1 deletion activerecord/README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ A short rundown of some of the major features:

* Database agnostic schema management with Migrations.

class AddSystemSettings < ActiveRecord::Migration[7.2]
class AddSystemSettings < ActiveRecord::Migration[8.0]
def up
create_table :system_settings do |t|
t.string :name
Expand Down
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/associations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1928,7 +1928,7 @@ def belongs_to(name, scope = nil, **options)
# The join table should not have a primary key or a model associated with it. You must manually generate the
# join table with a migration such as this:
#
# class CreateDevelopersProjectsJoinTable < ActiveRecord::Migration[7.2]
# class CreateDevelopersProjectsJoinTable < ActiveRecord::Migration[8.0]
# def change
# create_join_table :developers, :projects
# end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def #{column_type}(*names, **options)
# Inside migration files, the +t+ object in {create_table}[rdoc-ref:SchemaStatements#create_table]
# is actually of this type:
#
# class SomeMigration < ActiveRecord::Migration[7.2]
# class SomeMigration < ActiveRecord::Migration[8.0]
# def up
# create_table :foo do |t|
# puts t.class # => "ActiveRecord::ConnectionAdapters::TableDefinition"
Expand Down
4 changes: 2 additions & 2 deletions activerecord/lib/active_record/gem_version.rb
<
Original file line number Diff line number