Skip to content

Commit

Permalink
Development of Rails 7.2 starts now
Browse files Browse the repository at this point in the history
🎉
  • Loading branch information
rafaelfranca committed Sep 27, 2023
1 parent e57a936 commit fb6c600
Show file tree
Hide file tree
Showing 58 changed files with 303 additions and 6,449 deletions.
108 changes: 54 additions & 54 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20,70 +20,70 @@ GIT
PATH
remote: .
specs:
actioncable (7.1.0.rc1)
actionpack (= 7.1.0.rc1)
activesupport (= 7.1.0.rc1)
actioncable (7.2.0.alpha)
actionpack (= 7.2.0.alpha)
activesupport (= 7.2.0.alpha)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
zeitwerk (~> 2.6)
actionmailbox (7.1.0.rc1)
actionpack (= 7.1.0.rc1)
activejob (= 7.1.0.rc1)
activerecord (= 7.1.0.rc1)
activestorage (= 7.1.0.rc1)
activesupport (= 7.1.0.rc1)
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)
mail (>= 2.7.1)
net-imap
net-pop
net-smtp
actionmailer (7.1.0.rc1)
actionpack (= 7.1.0.rc1)
actionview (= 7.1.0.rc1)
activejob (= 7.1.0.rc1)
activesupport (= 7.1.0.rc1)
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)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
rails-dom-testing (~> 2.2)
actionpack (7.1.0.rc1)
actionview (= 7.1.0.rc1)
activesupport (= 7.1.0.rc1)
actionpack (7.2.0.alpha)
actionview (= 7.2.0.alpha)
activesupport (= 7.2.0.alpha)
nokogiri (>= 1.8.5)
rack (>= 2.2.4)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
actiontext (7.1.0.rc1)
actionpack (= 7.1.0.rc1)
activerecord (= 7.1.0.rc1)
activestorage (= 7.1.0.rc1)
activesupport (= 7.1.0.rc1)
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)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.1.0.rc1)
activesupport (= 7.1.0.rc1)
actionview (7.2.0.alpha)
activesupport (= 7.2.0.alpha)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activejob (7.1.0.rc1)
activesupport (= 7.1.0.rc1)
activejob (7.2.0.alpha)
activesupport (= 7.2.0.alpha)
globalid (>= 0.3.6)
activemodel (7.1.0.rc1)
activesupport (= 7.1.0.rc1)
activerecord (7.1.0.rc1)
activemodel (= 7.1.0.rc1)
activesupport (= 7.1.0.rc1)
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)
timeout (>= 0.4.0)
activestorage (7.1.0.rc1)
actionpack (= 7.1.0.rc1)
activejob (= 7.1.0.rc1)
activerecord (= 7.1.0.rc1)
activesupport (= 7.1.0.rc1)
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)
marcel (~> 1.0)
activesupport (7.1.0.rc1)
activesupport (7.2.0.alpha)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand All @@ -93,23 +93,23 @@ PATH
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
rails (7.1.0.rc1)
actioncable (= 7.1.0.rc1)
actionmailbox (= 7.1.0.rc1)
actionmailer (= 7.1.0.rc1)
actionpack (= 7.1.0.rc1)
actiontext (= 7.1.0.rc1)
actionview (= 7.1.0.rc1)
activejob (= 7.1.0.rc1)
activemodel (= 7.1.0.rc1)
activerecord (= 7.1.0.rc1)
activestorage (= 7.1.0.rc1)
activesupport (= 7.1.0.rc1)
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)
bundler (>= 1.15.0)
railties (= 7.1.0.rc1)
railties (7.1.0.rc1)
actionpack (= 7.1.0.rc1)
activesupport (= 7.1.0.rc1)
railties (= 7.2.0.alpha)
railties (7.2.0.alpha)
actionpack (= 7.2.0.alpha)
activesupport (= 7.2.0.alpha)
irb
rackup (>= 1.0.0)
rake (>= 12.2)
Expand Down Expand Up @@ -557,7 +557,7 @@ GEM
websocket-extensions (0.1.5)
xpath (3.2.0)
nokogiri (~> 1.8)
zeitwerk (2.6.11)
zeitwerk (2.6.12)

PLATFORMS
ruby
Expand Down
2 changes: 1 addition & 1 deletion RAILS_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.1.0.rc1
7.2.0.alpha
106 changes: 1 addition & 105 deletions actioncable/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,106 +1,2 @@
## Rails 7.1.0.rc1 (September 27, 2023) ##

* No changes.


## Rails 7.1.0.beta1 (September 13, 2023) ##

* Add a `@server` instance variable referencing the `ActionCable.server`
singleton to `ActionCable::Channel::ConnectionStub`

This lets us delegate the `pubsub` and `config` method calls
to the server. This fixes `NoMethodError` errors when testing
channel logic that call `pubsub` (e.g. `stop_stream_for`).

*Julian Foo*

* Added `health_check_path` and `health_check_application` config to
mount a given health check rack app on a given path.
Useful when mounting Action Cable standalone.

*Joé Dupuis*

* Introduce the `capture_broadcasts` test helper.

Returns all messages broadcast in a block.

```ruby
messages = capture_broadcasts("test") do
ActionCable.server.broadcast "test", { message: "one" }
ActionCable.server.broadcast "test", { message: "two" }
end
assert_equal 2, messages.length
assert_equal({ "message" => "one" }, messages.first)
assert_equal({ "message" => "two" }, messages.last)
```

*Alex Ghiculescu*

* Display broadcasted messages on error message when using `assert_broadcast_on`

*Stéphane Robino*

* The Action Cable client now supports subprotocols to allow passing arbitrary data
to the server.

```js
const consumer = ActionCable.createConsumer()
consumer.addSubProtocol('custom-protocol')
consumer.connect()
```

See also:

* https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers#subprotocols

*Guillaume Hain*

* Redis pub/sub adapter now automatically reconnects when Redis connection is lost.

*Vladimir Dementyev*

* The `connected()` callback can now take a `{reconnected}` parameter to differentiate
connections from reconnections.

```js
import consumer from "./consumer"
consumer.subscriptions.create("ExampleChannel", {
connected({reconnected}) {
if (reconnected) {
...
} else {
...
}
}
})
```

*Mansa Keïta*

* The Redis adapter is now compatible with redis-rb 5.0

Compatibility with redis-rb 3.x was dropped.

*Jean Boussier*

* The Action Cable server is now mounted with `anchor: true`.

This means that routes that also start with `/cable` will no longer clash with Action Cable.

*Alex Ghiculescu*

* `ActionCable.server.remote_connections.where(...).disconnect` now sends `disconnect` message
before closing the connection with the reconnection strategy specified (defaults to `true`).

*Vladimir Dementyev*

* Added command callbacks to `ActionCable::Connection::Base`.

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.

*Vladimir Dementyev*

Please check [7-0-stable](https://github.com/rails/rails/blob/7-0-stable/actioncable/CHANGELOG.md) for previous changes.
Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-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 @@ -8,9 +8,9 @@ def self.gem_version

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

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
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.1.0-rc1",
"version": "7.2.0-alpha",
"description": "WebSocket framework for Ruby on Rails.",
"module": "app/assets/javascripts/actioncable.esm.js",
"main": "app/assets/javascripts/actioncable.js",
Expand Down
26 changes: 1 addition & 25 deletions actionmailbox/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,2 @@
## Rails 7.1.0.rc1 (September 27, 2023) ##

* No changes.


## Rails 7.1.0.beta1 (September 13, 2023) ##

* Added `bounce_now_with` to send the bounce email without going through a mailer queue.

*Ronan Limon Duparcmeur*

* Support configured primary key types in generated migrations.

*Nishiki Liu*

* Fixed ingress controllers' ability to accept emails that contain no UTF-8 encoded parts.

Fixes #46297.

*Jan Honza Sterba*

* Add X-Forwarded-To addresses to recipients.

*Andrew Stewart*

Please check [7-0-stable](https://github.com/rails/rails/blob/7-0-stable/actionmailbox/CHANGELOG.md) for previous changes.
Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-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 @@ -8,9 +8,9 @@ def self.gem_version

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

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
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.1].define(version: 2018_02_12_164506) do
ActiveRecord::Schema[7.2].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
Loading

0 comments on commit fb6c600

Please sign in to comment.