aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r--activesupport/CHANGELOG.md17
1 files changed, 14 insertions, 3 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index 2fd5e0318f..41fde553fb 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -9,6 +9,17 @@
*Dmitriy Kiriyenko*
+* Add ActiveSupport::Logger#silence that works the same as the old Logger#silence extension.
+
+ *DHH*
+
+* Remove surrogate unicode character encoding from `ActiveSupport::JSON.encode`
+ The encoding scheme was broken for unicode characters outside the basic multilingual plane;
+ since json is assumed to be `UTF-8`, and we already force the encoding to `UTF-8`,
+ simply pass through the un-encoded characters.
+
+ *Brett Carter*
+
* Deprecate `Time.time_with_date_fallback`, `Time.utc_time` and `Time.local_time`.
These methods were added to handle the limited range of Ruby's native Time
implementation. Those limitations no longer apply so we are deprecating them in 4.0
@@ -89,7 +100,7 @@
* Hash#extract! returns only those keys that present in the receiver.
- {:a => 1, :b => 2}.extract!(:a, :x) # => {:a => 1}
+ {a: 1, b: 2}.extract!(:a, :x) # => {:a => 1}
*Mikhail Dieterle*
@@ -167,7 +178,7 @@
You can choose which instance of the deprecator will be used.
- deprecate :method_name, :deprecator => deprecator_instance
+ deprecate :method_name, deprecator: deprecator_instance
You can use ActiveSupport::Deprecation in your gem.
@@ -185,7 +196,7 @@
def new_method
end
- deprecate :old_method => :new_method, :deprecator => deprecator
+ deprecate old_method: :new_method, deprecator: deprecator
end
MyGem.new.old_method