Skip to content

Commit

Permalink
Start Rails 6.1 development
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Apr 24, 2019
1 parent 1864587 commit 9834be6
Show file tree
Hide file tree
Showing 35 changed files with 101 additions and 3,197 deletions.
100 changes: 50 additions & 50 deletions Gemfile.lock
Expand Up @@ -17,79 +17,79 @@ GIT
PATH
remote: .
specs:
actioncable (6.0.0.beta3)
actionpack (= 6.0.0.beta3)
actioncable (6.1.0.alpha)
actionpack (= 6.1.0.alpha)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (6.0.0.beta3)
actionpack (= 6.0.0.beta3)
activejob (= 6.0.0.beta3)
activerecord (= 6.0.0.beta3)
activestorage (= 6.0.0.beta3)
activesupport (= 6.0.0.beta3)
actionmailbox (6.1.0.alpha)
actionpack (= 6.1.0.alpha)
activejob (= 6.1.0.alpha)
activerecord (= 6.1.0.alpha)
activestorage (= 6.1.0.alpha)
activesupport (= 6.1.0.alpha)
mail (>= 2.7.1)
actionmailer (6.0.0.beta3)
actionpack (= 6.0.0.beta3)
actionview (= 6.0.0.beta3)
activejob (= 6.0.0.beta3)
actionmailer (6.1.0.alpha)
actionpack (= 6.1.0.alpha)
actionview (= 6.1.0.alpha)
activejob (= 6.1.0.alpha)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (6.0.0.beta3)
actionview (= 6.0.0.beta3)
activesupport (= 6.0.0.beta3)
actionpack (6.1.0.alpha)
actionview (= 6.1.0.alpha)
activesupport (= 6.1.0.alpha)
rack (~> 2.0)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actiontext (6.0.0.beta3)
actionpack (= 6.0.0.beta3)
activerecord (= 6.0.0.beta3)
activestorage (= 6.0.0.beta3)
activesupport (= 6.0.0.beta3)
actiontext (6.1.0.alpha)
actionpack (= 6.1.0.alpha)
activerecord (= 6.1.0.alpha)
activestorage (= 6.1.0.alpha)
activesupport (= 6.1.0.alpha)
nokogiri (>= 1.8.5)
actionview (6.0.0.beta3)
activesupport (= 6.0.0.beta3)
actionview (6.1.0.alpha)
activesupport (= 6.1.0.alpha)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (6.0.0.beta3)
activesupport (= 6.0.0.beta3)
activejob (6.1.0.alpha)
activesupport (= 6.1.0.alpha)
globalid (>= 0.3.6)
activemodel (6.0.0.beta3)
activesupport (= 6.0.0.beta3)
activerecord (6.0.0.beta3)
activemodel (= 6.0.0.beta3)
activesupport (= 6.0.0.beta3)
activestorage (6.0.0.beta3)
actionpack (= 6.0.0.beta3)
activejob (= 6.0.0.beta3)
activerecord (= 6.0.0.beta3)
activemodel (6.1.0.alpha)
activesupport (= 6.1.0.alpha)
activerecord (6.1.0.alpha)
activemodel (= 6.1.0.alpha)
activesupport (= 6.1.0.alpha)
activestorage (6.1.0.alpha)
actionpack (= 6.1.0.alpha)
activejob (= 6.1.0.alpha)
activerecord (= 6.1.0.alpha)
marcel (~> 0.3.1)
activesupport (6.0.0.beta3)
activesupport (6.1.0.alpha)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.1, >= 2.1.4)
rails (6.0.0.beta3)
actioncable (= 6.0.0.beta3)
actionmailbox (= 6.0.0.beta3)
actionmailer (= 6.0.0.beta3)
actionpack (= 6.0.0.beta3)
actiontext (= 6.0.0.beta3)
actionview (= 6.0.0.beta3)
activejob (= 6.0.0.beta3)
activemodel (= 6.0.0.beta3)
activerecord (= 6.0.0.beta3)
activestorage (= 6.0.0.beta3)
activesupport (= 6.0.0.beta3)
rails (6.1.0.alpha)
actioncable (= 6.1.0.alpha)
actionmailbox (= 6.1.0.alpha)
actionmailer (= 6.1.0.alpha)
actionpack (= 6.1.0.alpha)
actiontext (= 6.1.0.alpha)
actionview (= 6.1.0.alpha)
activejob (= 6.1.0.alpha)
activemodel (= 6.1.0.alpha)
activerecord (= 6.1.0.alpha)
activestorage (= 6.1.0.alpha)
activesupport (= 6.1.0.alpha)
bundler (>= 1.3.0)
railties (= 6.0.0.beta3)
railties (= 6.1.0.alpha)
sprockets-rails (>= 2.0.0)
railties (6.0.0.beta3)
actionpack (= 6.0.0.beta3)
activesupport (= 6.0.0.beta3)
railties (6.1.0.alpha)
actionpack (= 6.1.0.alpha)
activesupport (= 6.1.0.alpha)
method_source
rake (>= 0.8.7)
thor (>= 0.20.3, < 2.0)
Expand Down
2 changes: 1 addition & 1 deletion RAILS_VERSION
@@ -1 +1 @@
6.0.0.beta3
6.1.0.alpha
153 changes: 1 addition & 152 deletions actioncable/CHANGELOG.md
@@ -1,154 +1,3 @@
## Rails 6.0.0.beta3 (March 11, 2019) ##

* No changes.


## Rails 6.0.0.beta2 (February 25, 2019) ##

* PostgreSQL subscription adapters now support `channel_prefix` option in cable.yml

Avoids channel name collisions when multiple apps use the same database for Action Cable.

*Vladimir Dementyev*

* Allow passing custom configuration to `ActionCable::Server::Base`.

You can now create a standalone Action Cable server with a custom configuration
(e.g. to run it in isolation from the default one):

```ruby
config = ActionCable::Server::Configuration.new
config.cable = { adapter: "redis", channel_prefix: "custom_" }

CUSTOM_CABLE = ActionCable::Server::Base.new(config: config)
```

Then you can mount it in the `routes.rb` file:

```ruby
Rails.application.routes.draw do
mount CUSTOM_CABLE => "/custom_cable"
# ...
end
```

*Vladimir Dementyev*

* Add `:action_cable_connection` and `:action_cable_channel` load hooks.

You can use them to extend `ActionCable::Connection::Base` and `ActionCable::Channel::Base`
functionality:

```ruby
ActiveSupport.on_load(:action_cable_channel) do
# do something in the context of ActionCable::Channel::Base
end
```

*Vladimir Dementyev*

* Add `Channel::Base#broadcast_to`.

You can now call `broadcast_to` within a channel action, which equals to
the `self.class.broadcast_to`.

*Vladimir Dementyev*

* Make `Channel::Base.broadcasting_for` a public API.

You can use `.broadcasting_for` to generate a unique stream identifier within
a channel for the specified target (e.g. Active Record model):

```ruby
ChatChannel.broadcasting_for(model) # => "chat:<model.to_gid_param>"
```

*Vladimir Dementyev*


## Rails 6.0.0.beta1 (January 18, 2019) ##

* [Rename npm package](https://github.com/rails/rails/pull/34905) from
[`actioncable`](https://www.npmjs.com/package/actioncable) to
[`@rails/actioncable`](https://www.npmjs.com/package/@rails/actioncable).

*Javan Makhmali*

* Merge [`action-cable-testing`](https://github.com/palkan/action-cable-testing) to Rails.

*Vladimir Dementyev*

* The JavaScript WebSocket client will no longer try to reconnect
when you call `reject_unauthorized_connection` on the connection.

*Mick Staugaard*

* `ActionCable.Connection#getState` now references the configurable
`ActionCable.adapters.WebSocket` property rather than the `WebSocket` global
variable, matching the behavior of `ActionCable.Connection#open`.

*Richard Macklin*

* The ActionCable javascript package has been converted from CoffeeScript
to ES2015, and we now publish the source code in the npm distribution.

This allows ActionCable users to depend on the javascript source code
rather than the compiled code, which can produce smaller javascript bundles.

This change includes some breaking changes to optional parts of the
ActionCable javascript API:

- Configuration of the WebSocket adapter and logger adapter have been moved
from properties of `ActionCable` to properties of `ActionCable.adapters`.
If you are currently configuring these adapters you will need to make
these changes when upgrading:

```diff
- ActionCable.WebSocket = MyWebSocket
+ ActionCable.adapters.WebSocket = MyWebSocket
```
```diff
- ActionCable.logger = myLogger
+ ActionCable.adapters.logger = myLogger
```

- The `ActionCable.startDebugging()` and `ActionCable.stopDebugging()`
methods have been removed and replaced with the property
`ActionCable.logger.enabled`. If you are currently using these methods you
will need to make these changes when upgrading:

```diff
- ActionCable.startDebugging()
+ ActionCable.logger.enabled = true
```
```diff
- ActionCable.stopDebugging()
+ ActionCable.logger.enabled = false
```

*Richard Macklin*

* Add `id` option to redis adapter so now you can distinguish
ActionCable's redis connections among others. Also, you can set
custom id in options.

Before:
```
$ redis-cli client list
id=669 addr=127.0.0.1:46442 fd=8 name= age=18 ...
```

After:
```
$ redis-cli client list
id=673 addr=127.0.0.1:46516 fd=8 name=ActionCable-PID-19413 age=2 ...
```

*Ilia Kasianenko*

* Rails 6 requires Ruby 2.5.0 or newer.

*Jeremy Daer*, *Kasper Timm Hansen*


Please check [5-2-stable](https://github.com/rails/rails/blob/5-2-stable/actioncable/CHANGELOG.md) for previous changes.
Please check [6-0-stable](https://github.com/rails/rails/blob/6-0-stable/actioncable/CHANGELOG.md) for previous changes.
4 changes: 2 additions & 2 deletions actioncable/lib/action_cable/gem_version.rb
Expand Up @@ -8,9 +8,9 @@ def self.gem_version

module VERSION
MAJOR = 6
MINOR = 0
MINOR = 1
TINY = 0
PRE = "beta3"
PRE = "alpha"

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
Expand Down
2 changes: 1 addition & 1 deletion actioncable/package.json
@@ -1,6 +1,6 @@
{
"name": "@rails/actioncable",
"version": "6.0.0-beta3",
"version": "6.1.0-alpha",
"description": "WebSocket framework for Ruby on Rails.",
"main": "app/assets/javascripts/action_cable.js",
"files": [
Expand Down
18 changes: 1 addition & 17 deletions actionmailbox/CHANGELOG.md
@@ -1,19 +1,3 @@
## Rails 6.0.0.beta3 (March 11, 2019) ##

* No changes.


## Rails 6.0.0.beta2 (February 25, 2019) ##

* Allow skipping incineration of processed emails.

This can be done by setting `config.action_mailbox.incinerate` to `false`.

*Pratik Naik*


## Rails 6.0.0.beta1 (January 18, 2019) ##

* Added to Rails.

*DHH*
Please check [6-0-stable](https://github.com/rails/rails/blob/6-0-stable/actionmailbox/CHANGELOG.md) for previous changes.
4 changes: 2 additions & 2 deletions actionmailbox/lib/action_mailbox/gem_version.rb
Expand Up @@ -8,9 +8,9 @@ def self.gem_version

module VERSION
MAJOR = 6
MINOR = 0
MINOR = 1
TINY = 0
PRE = "beta3"
PRE = "alpha"

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

0 comments on commit 9834be6

Please sign in to comment.