Skip to content

Commit fb6c600

Browse files
committed
Development of Rails 7.2 starts now
🎉
1 parent e57a936 commit fb6c600

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+303
-6449
lines changed

Gemfile.lock

+54-54
Original file line numberDiff line numberDiff line change
@@ -20,70 +20,70 @@ GIT
2020
PATH
2121
remote: .
2222
specs:
23-
actioncable (7.1.0.rc1)
24-
actionpack (= 7.1.0.rc1)
25-
activesupport (= 7.1.0.rc1)
23+
actioncable (7.2.0.alpha)
24+
actionpack (= 7.2.0.alpha)
25+
activesupport (= 7.2.0.alpha)
2626
nio4r (~> 2.0)
2727
websocket-driver (>= 0.6.1)
2828
zeitwerk (~> 2.6)
29-
actionmailbox (7.1.0.rc1)
30-
actionpack (= 7.1.0.rc1)
31-
activejob (= 7.1.0.rc1)
32-
activerecord (= 7.1.0.rc1)
33-
activestorage (= 7.1.0.rc1)
34-
activesupport (= 7.1.0.rc1)
29+
actionmailbox (7.2.0.alpha)
30+
actionpack (= 7.2.0.alpha)
31+
activejob (= 7.2.0.alpha)
32+
activerecord (= 7.2.0.alpha)
33+
activestorage (= 7.2.0.alpha)
34+
activesupport (= 7.2.0.alpha)
3535
mail (>= 2.7.1)
3636
net-imap
3737
net-pop
3838
net-smtp
39-
actionmailer (7.1.0.rc1)
40-
actionpack (= 7.1.0.rc1)
41-
actionview (= 7.1.0.rc1)
42-
activejob (= 7.1.0.rc1)
43-
activesupport (= 7.1.0.rc1)
39+
actionmailer (7.2.0.alpha)
40+
actionpack (= 7.2.0.alpha)
41+
actionview (= 7.2.0.alpha)
42+
activejob (= 7.2.0.alpha)
43+
activesupport (= 7.2.0.alpha)
4444
mail (~> 2.5, >= 2.5.4)
4545
net-imap
4646
net-pop
4747
net-smtp
4848
rails-dom-testing (~> 2.2)
49-
actionpack (7.1.0.rc1)
50-
actionview (= 7.1.0.rc1)
51-
activesupport (= 7.1.0.rc1)
49+
actionpack (7.2.0.alpha)
50+
actionview (= 7.2.0.alpha)
51+
activesupport (= 7.2.0.alpha)
5252
nokogiri (>= 1.8.5)
5353
rack (>= 2.2.4)
5454
rack-session (>= 1.0.1)
5555
rack-test (>= 0.6.3)
5656
rails-dom-testing (~> 2.2)
5757
rails-html-sanitizer (~> 1.6)
58-
actiontext (7.1.0.rc1)
59-
actionpack (= 7.1.0.rc1)
60-
activerecord (= 7.1.0.rc1)
61-
activestorage (= 7.1.0.rc1)
62-
activesupport (= 7.1.0.rc1)
58+
actiontext (7.2.0.alpha)
59+
actionpack (= 7.2.0.alpha)
60+
activerecord (= 7.2.0.alpha)
61+
activestorage (= 7.2.0.alpha)
62+
activesupport (= 7.2.0.alpha)
6363
globalid (>= 0.6.0)
6464
nokogiri (>= 1.8.5)
65-
actionview (7.1.0.rc1)
66-
activesupport (= 7.1.0.rc1)
65+
actionview (7.2.0.alpha)
66+
activesupport (= 7.2.0.alpha)
6767
builder (~> 3.1)
6868
erubi (~> 1.11)
6969
rails-dom-testing (~> 2.2)
7070
rails-html-sanitizer (~> 1.6)
71-
activejob (7.1.0.rc1)
72-
activesupport (= 7.1.0.rc1)
71+
activejob (7.2.0.alpha)
72+
activesupport (= 7.2.0.alpha)
7373
globalid (>= 0.3.6)
74-
activemodel (7.1.0.rc1)
75-
activesupport (= 7.1.0.rc1)
76-
activerecord (7.1.0.rc1)
77-
activemodel (= 7.1.0.rc1)
78-
activesupport (= 7.1.0.rc1)
74+
activemodel (7.2.0.alpha)
75+
activesupport (= 7.2.0.alpha)
76+
activerecord (7.2.0.alpha)
77+
activemodel (= 7.2.0.alpha)
78+
activesupport (= 7.2.0.alpha)
7979
timeout (>= 0.4.0)
80-
activestorage (7.1.0.rc1)
81-
actionpack (= 7.1.0.rc1)
82-
activejob (= 7.1.0.rc1)
83-
activerecord (= 7.1.0.rc1)
84-
activesupport (= 7.1.0.rc1)
80+
activestorage (7.2.0.alpha)
81+
actionpack (= 7.2.0.alpha)
82+
activejob (= 7.2.0.alpha)
83+
activerecord (= 7.2.0.alpha)
84+
activesupport (= 7.2.0.alpha)
8585
marcel (~> 1.0)
86-
activesupport (7.1.0.rc1)
86+
activesupport (7.2.0.alpha)
8787
base64
8888
bigdecimal
8989
concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -93,23 +93,23 @@ PATH
9393
minitest (>= 5.1)
9494
mutex_m
9595
tzinfo (~> 2.0)
96-
rails (7.1.0.rc1)
97-
actioncable (= 7.1.0.rc1)
98-
actionmailbox (= 7.1.0.rc1)
99-
actionmailer (= 7.1.0.rc1)
100-
actionpack (= 7.1.0.rc1)
101-
actiontext (= 7.1.0.rc1)
102-
actionview (= 7.1.0.rc1)
103-
activejob (= 7.1.0.rc1)
104-
activemodel (= 7.1.0.rc1)
105-
activerecord (= 7.1.0.rc1)
106-
activestorage (= 7.1.0.rc1)
107-
activesupport (= 7.1.0.rc1)
96+
rails (7.2.0.alpha)
97+
actioncable (= 7.2.0.alpha)
98+
actionmailbox (= 7.2.0.alpha)
99+
actionmailer (= 7.2.0.alpha)
100+
actionpack (= 7.2.0.alpha)
101+
actiontext (= 7.2.0.alpha)
102+
actionview (= 7.2.0.alpha)
103+
activejob (= 7.2.0.alpha)
104+
activemodel (= 7.2.0.alpha)
105+
activerecord (= 7.2.0.alpha)
106+
activestorage (= 7.2.0.alpha)
107+
activesupport (= 7.2.0.alpha)
108108
bundler (>= 1.15.0)
109-
railties (= 7.1.0.rc1)
110-
railties (7.1.0.rc1)
111-
actionpack (= 7.1.0.rc1)
112-
activesupport (= 7.1.0.rc1)
109+
railties (= 7.2.0.alpha)
110+
railties (7.2.0.alpha)
111+
actionpack (= 7.2.0.alpha)
112+
activesupport (= 7.2.0.alpha)
113113
irb
114114
rackup (>= 1.0.0)
115115
rake (>= 12.2)
@@ -557,7 +557,7 @@ GEM
557557
websocket-extensions (0.1.5)
558558
xpath (3.2.0)
559559
nokogiri (~> 1.8)
560-
zeitwerk (2.6.11)
560+
zeitwerk (2.6.12)
561561

562562
PLATFORMS
563563
ruby

RAILS_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.1.0.rc1
1+
7.2.0.alpha

actioncable/CHANGELOG.md

+1-105
Original file line numberDiff line numberDiff line change
@@ -1,106 +1,2 @@
1-
## Rails 7.1.0.rc1 (September 27, 2023) ##
21

3-
* No changes.
4-
5-
6-
## Rails 7.1.0.beta1 (September 13, 2023) ##
7-
8-
* Add a `@server` instance variable referencing the `ActionCable.server`
9-
singleton to `ActionCable::Channel::ConnectionStub`
10-
11-
This lets us delegate the `pubsub` and `config` method calls
12-
to the server. This fixes `NoMethodError` errors when testing
13-
channel logic that call `pubsub` (e.g. `stop_stream_for`).
14-
15-
*Julian Foo*
16-
17-
* Added `health_check_path` and `health_check_application` config to
18-
mount a given health check rack app on a given path.
19-
Useful when mounting Action Cable standalone.
20-
21-
*Joé Dupuis*
22-
23-
* Introduce the `capture_broadcasts` test helper.
24-
25-
Returns all messages broadcast in a block.
26-
27-
```ruby
28-
messages = capture_broadcasts("test") do
29-
ActionCable.server.broadcast "test", { message: "one" }
30-
ActionCable.server.broadcast "test", { message: "two" }
31-
end
32-
assert_equal 2, messages.length
33-
assert_equal({ "message" => "one" }, messages.first)
34-
assert_equal({ "message" => "two" }, messages.last)
35-
```
36-
37-
*Alex Ghiculescu*
38-
39-
* Display broadcasted messages on error message when using `assert_broadcast_on`
40-
41-
*Stéphane Robino*
42-
43-
* The Action Cable client now supports subprotocols to allow passing arbitrary data
44-
to the server.
45-
46-
```js
47-
const consumer = ActionCable.createConsumer()
48-
49-
consumer.addSubProtocol('custom-protocol')
50-
51-
consumer.connect()
52-
```
53-
54-
See also:
55-
56-
* https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers#subprotocols
57-
58-
*Guillaume Hain*
59-
60-
* Redis pub/sub adapter now automatically reconnects when Redis connection is lost.
61-
62-
*Vladimir Dementyev*
63-
64-
* The `connected()` callback can now take a `{reconnected}` parameter to differentiate
65-
connections from reconnections.
66-
67-
```js
68-
import consumer from "./consumer"
69-
70-
consumer.subscriptions.create("ExampleChannel", {
71-
connected({reconnected}) {
72-
if (reconnected) {
73-
...
74-
} else {
75-
...
76-
}
77-
}
78-
})
79-
```
80-
81-
*Mansa Keïta*
82-
83-
* The Redis adapter is now compatible with redis-rb 5.0
84-
85-
Compatibility with redis-rb 3.x was dropped.
86-
87-
*Jean Boussier*
88-
89-
* The Action Cable server is now mounted with `anchor: true`.
90-
91-
This means that routes that also start with `/cable` will no longer clash with Action Cable.
92-
93-
*Alex Ghiculescu*
94-
95-
* `ActionCable.server.remote_connections.where(...).disconnect` now sends `disconnect` message
96-
before closing the connection with the reconnection strategy specified (defaults to `true`).
97-
98-
*Vladimir Dementyev*
99-
100-
* Added command callbacks to `ActionCable::Connection::Base`.
101-
102-
Now you can define `before_command`, `after_command`, and `around_command` to be invoked before, after or around any command received by a client respectively.
103-
104-
*Vladimir Dementyev*
105-
106-
Please check [7-0-stable](https://github.com/rails/rails/blob/7-0-stable/actioncable/CHANGELOG.md) for previous changes.
2+
Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-stable/actioncable/CHANGELOG.md) for previous changes.

actioncable/lib/action_cable/gem_version.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ def self.gem_version
88

99
module VERSION
1010
MAJOR = 7
11-
MINOR = 1
11+
MINOR = 2
1212
TINY = 0
13-
PRE = "rc1"
13+
PRE = "alpha"
1414

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

actioncable/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rails/actioncable",
3-
"version": "7.1.0-rc1",
3+
"version": "7.2.0-alpha",
44
"description": "WebSocket framework for Ruby on Rails.",
55
"module": "app/assets/javascripts/actioncable.esm.js",
66
"main": "app/assets/javascripts/actioncable.js",

actionmailbox/CHANGELOG.md

+1-25
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,2 @@
1-
## Rails 7.1.0.rc1 (September 27, 2023) ##
21

3-
* No changes.
4-
5-
6-
## Rails 7.1.0.beta1 (September 13, 2023) ##
7-
8-
* Added `bounce_now_with` to send the bounce email without going through a mailer queue.
9-
10-
*Ronan Limon Duparcmeur*
11-
12-
* Support configured primary key types in generated migrations.
13-
14-
*Nishiki Liu*
15-
16-
* Fixed ingress controllers' ability to accept emails that contain no UTF-8 encoded parts.
17-
18-
Fixes #46297.
19-
20-
*Jan Honza Sterba*
21-
22-
* Add X-Forwarded-To addresses to recipients.
23-
24-
*Andrew Stewart*
25-
26-
Please check [7-0-stable](https://github.com/rails/rails/blob/7-0-stable/actionmailbox/CHANGELOG.md) for previous changes.
2+
Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-stable/actionmailbox/CHANGELOG.md) for previous changes.

actionmailbox/lib/action_mailbox/gem_version.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ def self.gem_version
88

99
module VERSION
1010
MAJOR = 7
11-
MINOR = 1
11+
MINOR = 2
1212
TINY = 0
13-
PRE = "rc1"
13+
PRE = "alpha"
1414

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

actionmailbox/test/dummy/db/schema.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# It's strongly recommended that you check this file into your version control system.
1212

13-
ActiveRecord::Schema[7.1].define(version: 2018_02_12_164506) do
13+
ActiveRecord::Schema[7.2].define(version: 2018_02_12_164506) do
1414
create_table "action_mailbox_inbound_emails", force: :cascade do |t|
1515
t.integer "status", default: 0, null: false
1616
t.string "message_id", null: false

0 commit comments

Comments
 (0)