aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/5_1_release_notes.md
diff options
context:
space:
mode:
authorclaudiob <claudiob@inventati.org>2017-04-26 16:46:32 -0700
committerclaudiob <claudiob@inventati.org>2017-04-26 16:46:32 -0700
commit5b515518212b67b9a20321f1d5e9e23f73670503 (patch)
tree9925171795ed13bfa8ce99bad30f05f2d218ba7c /guides/source/5_1_release_notes.md
parent9416e93feeb047cc4fdc4b61d7caea9bbb921478 (diff)
downloadrails-5b515518212b67b9a20321f1d5e9e23f73670503.tar.gz
rails-5b515518212b67b9a20321f1d5e9e23f73670503.tar.bz2
rails-5b515518212b67b9a20321f1d5e9e23f73670503.zip
More release notes for Rails 5.1 [ci skip]
@dhh most changes that I mentioned in the talk were already there: https://speakerdeck.com/claudiob/rails-5-dot-1-upcoming-features I just added a few that were missing.
Diffstat (limited to 'guides/source/5_1_release_notes.md')
-rw-r--r--guides/source/5_1_release_notes.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/guides/source/5_1_release_notes.md b/guides/source/5_1_release_notes.md
index a24e8766d3..b81d6011ed 100644
--- a/guides/source/5_1_release_notes.md
+++ b/guides/source/5_1_release_notes.md
@@ -313,6 +313,9 @@ Please refer to the [Changelog][railties] for detailed changes.
* Add encrypted secrets in `config/secrets.yml.enc`.
([Pull Request](https://github.com/rails/rails/pull/28038))
+* Display railtie class name in `rails initializers`.
+ ([Pull Request](https://github.com/rails/rails/pull/25257))
+
Action Cable
-----------
@@ -353,6 +356,9 @@ Please refer to the [Changelog][action-pack] for detailed changes.
### Deprecations
+* Deprecated `:controller` and `:action` path parameters.
+ ([Pull Request](https://github.com/rails/rails/pull/23980))
+
* Deprecated `config.action_controller.raise_on_unfiltered_parameters`.
It doesn't have any effect in Rails 5.1.
([Commit](https://github.com/rails/rails/commit/c6640fb62b10db26004a998d2ece98baede509e5))
@@ -400,6 +406,9 @@ Please refer to the [Changelog][action-view] for detailed changes.
* Add `form_with` to unify `form_tag` and `form_for` usage.
([Pull Request](https://github.com/rails/rails/pull/26976))
+* Add `check_parameters` option to `current_page?`.
+ ([Pull Request](https://github.com/rails/rails/pull/27549))
+
Action Mailer
-------------
@@ -437,6 +446,15 @@ Please refer to the [Changelog][active-record] for detailed changes.
### Notable changes
+* Change Default Primary Keys to BIGINT.
+ ([Pull Request](https://github.com/rails/rails/pull/26266))
+
+* Virtual/generated column support for MySQL 5.7.5+ and MariaDB 5.2.0+.
+ ([Commit](https://github.com/rails/rails/commit/65bf1c60053e727835e06392d27a2fb49665484c))
+
+* Added support for limits in batch processing.
+ ([Commit](https://github.com/rails/rails/commit/451437c6f57e66cc7586ec966e530493927098c7))
+
* Transactional tests now wrap all Active Record connections in database
transactions.
([Pull Request](https://github.com/rails/rails/pull/28726))
@@ -452,6 +470,9 @@ Please refer to the [Changelog][active-record] for detailed changes.
* Pass `"-v ON_ERROR_STOP=1"` flag with `psql` command to not suppress SQL errors.
([Pull Request](https://github.com/rails/rails/pull/24773))
+* Add `ActiveRecord::Base.connection_pool.stat`.
+ ([Pull Request](https://github.com/rails/rails/pull/26988))
+
Active Model
------------
@@ -518,6 +539,9 @@ Please refer to the [Changelog][active-support] for detailed changes.
in favor of the `ActiveSupport::HashWithIndifferentAccess` one.
([Pull request](https://github.com/rails/rails/pull/28157))
+* Deprecate passing string to `:if` and `:unless` conditional options on `set_callback` and `skip_callback`.
+ ([Commit](https://github.com/rails/rails/commit/0952552)
+
### Notable changes
* Fixed duration parsing and traveling to make it consistent across DST changes.
@@ -527,6 +551,9 @@ Please refer to the [Changelog][active-support] for detailed changes.
* Updated Unicode to version 9.0.0.
([Pull Request](https://github.com/rails/rails/pull/27822))
+* Add Duration#before and #after as aliases for #ago and #since.
+ ([Pull Request](https://github.com/rails/rails/pull/27721))
+
* Added `Module#delegate_missing_to` to delegate method calls not
defined for the current object to a proxy object.
([Pull Request](https://github.com/rails/rails/pull/23930))
@@ -541,6 +568,9 @@ Please refer to the [Changelog][active-support] for detailed changes.
* The `travel` and `travel_to` methods now raise on nested calls.
([Pull Request](https://github.com/rails/rails/pull/24890))
+* Update `DateTime#change` to support usec and nsec.
+ ([Pull Request](https://github.com/rails/rails/pull/28242))
+
Credits
-------