aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/4_2_release_notes.md
diff options
context:
space:
mode:
authorGodfrey Chan <godfreykfc@gmail.com>2014-08-19 18:20:05 -0700
committerGodfrey Chan <godfreykfc@gmail.com>2014-08-19 18:20:18 -0700
commitf288533b4f2b5f65cd901132b3864aaaf8ee76a0 (patch)
treee3e95280b10f6cee30669898244b476b9abea00b /guides/source/4_2_release_notes.md
parent79d50ce3104d2ff4a3964b12139120b85dce35e7 (diff)
downloadrails-f288533b4f2b5f65cd901132b3864aaaf8ee76a0.tar.gz
rails-f288533b4f2b5f65cd901132b3864aaaf8ee76a0.tar.bz2
rails-f288533b4f2b5f65cd901132b3864aaaf8ee76a0.zip
Synced AR release notes [ci-skip]
Diffstat (limited to 'guides/source/4_2_release_notes.md')
-rw-r--r--guides/source/4_2_release_notes.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/guides/source/4_2_release_notes.md b/guides/source/4_2_release_notes.md
index 7f97dd0610..782af6757f 100644
--- a/guides/source/4_2_release_notes.md
+++ b/guides/source/4_2_release_notes.md
@@ -305,6 +305,17 @@ for detailed changes.
### Deprecations
+* Deprecated swallowing of errors inside `after_commit` and `after_rollback`.
+ ([Pull Request](https://github.com/rails/rails/pull/16537))
+
+* Deprecated calling `DatabaseTasks.load_schema` without a connection. Use
+ `DatabaseTasks.load_schema_current` instead.
+ ([Commit](https://github.com/rails/rails/commit/f15cef67f75e4b52fd45655d7c6ab6b35623c608))
+
+* Deprecated `Reflection#source_macro` without replacement as it is no longer
+ needed in Active Record.
+ ([Pull Request](https://github.com/rails/rails/pull/16373))
+
* Deprecated broken support for automatic detection of counter caches on
`has_many :through` associations. You should instead manually specify the
counter cache on the `has_many` and `belongs_to` associations for the
@@ -342,6 +353,13 @@ for detailed changes.
### Notable changes
+* The PostgreSQL adapter now supports the `JSONB` datatype in PostgreSQL 9.4+.
+ ([Pull Request](https://github.com/rails/rails/pull/16220))
+
+* The `#references` method in migrations now supports a `type` option for
+ specifying the type of the foreign key (e.g. `:uuid`).
+ ([Pull Request](https://github.com/rails/rails/pull/16231))
+
* Added a `:required` option to singular associations, which defines a
presence validation on the association.
([Pull Request](https://github.com/rails/rails/pull/16056))