Skip to content
Permalink
Browse files

Start Rails 6.1 development

  • Loading branch information...
rafaelfranca committed Apr 24, 2019
1 parent 1864587 commit 9834be65655e8552d25633b7376ab0654a23875d
Showing with 101 additions and 3,197 deletions.
  1. +50 −50 Gemfile.lock
  2. +1 −1 RAILS_VERSION
  3. +1 −152 actioncable/CHANGELOG.md
  4. +2 −2 actioncable/lib/action_cable/gem_version.rb
  5. +1 −1 actioncable/package.json
  6. +1 −17 actionmailbox/CHANGELOG.md
  7. +2 −2 actionmailbox/lib/action_mailbox/gem_version.rb
  8. +1 −79 actionmailer/CHANGELOG.md
  9. +2 −2 actionmailer/lib/action_mailer/gem_version.rb
  10. +1 −258 actionpack/CHANGELOG.md
  11. +2 −2 actionpack/lib/action_pack/gem_version.rb
  12. +1 −13 actiontext/CHANGELOG.md
  13. +2 −2 actiontext/lib/action_text/gem_version.rb
  14. +1 −1 actiontext/package.json
  15. +1 −253 actionview/CHANGELOG.md
  16. +2 −2 actionview/lib/action_view/gem_version.rb
  17. +1 −1 actionview/package.json
  18. +1 −138 activejob/CHANGELOG.md
  19. +2 −2 activejob/lib/active_job/gem_version.rb
  20. +1 −148 activemodel/CHANGELOG.md
  21. +2 −2 activemodel/lib/active_model/gem_version.rb
  22. +1 −945 activerecord/CHANGELOG.md
  23. +2 −2 activerecord/lib/active_record/gem_version.rb
  24. +4 −1 activerecord/lib/active_record/migration/compatibility.rb
  25. +1 −184 activestorage/CHANGELOG.md
  26. +2 −2 activestorage/lib/active_storage/gem_version.rb
  27. +1 −1 activestorage/package.json
  28. +1 −493 activesupport/CHANGELOG.md
  29. +1 −1 activesupport/lib/active_support/deprecation.rb
  30. +2 −2 activesupport/lib/active_support/gem_version.rb
  31. +1 −33 guides/CHANGELOG.md
  32. +1 −401 railties/CHANGELOG.md
  33. +2 −0 railties/lib/rails/application/configuration.rb
  34. +2 −2 railties/lib/rails/gem_version.rb
  35. +2 −2 version.rb
@@ -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)
@@ -1 +1 @@
6.0.0.beta3
6.1.0.alpha
@@ -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.
@@ -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
@@ -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": [
@@ -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.
@@ -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
Oops, something went wrong.

0 comments on commit 9834be6

Please sign in to comment.
You can’t perform that action at this time.