aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
diff options
context:
space:
mode:
authorGannon McGibbon <gannon.mcgibbon@gmail.com>2018-06-03 19:42:07 -0400
committerGannon McGibbon <gannon.mcgibbon@gmail.com>2018-09-28 14:29:46 -0400
commitec9a89cb8be037cde2466a5347ea5c4ec648a4c3 (patch)
tree33c8c7403d6cf9a17e24768d2d99d09f48c2dfed /activesupport/CHANGELOG.md
parent9fa4342970e2c8ac24bcc595f120ab65e88095a4 (diff)
downloadrails-ec9a89cb8be037cde2466a5347ea5c4ec648a4c3.tar.gz
rails-ec9a89cb8be037cde2466a5347ea5c4ec648a4c3.tar.bz2
rails-ec9a89cb8be037cde2466a5347ea5c4ec648a4c3.zip
Add deprecation warning when String#first and String#last receive negative integers
[Gannon McGibbon + Eric Turner]
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r--activesupport/CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index 3a348a26bf..fd96c46814 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Deprecate using negative limits in `String#first` and `String#last`.
+
+ *Gannon McGibbon*, *Eric Turner*
+
* Fix bug where `#without` for `ActiveSupport::HashWithIndifferentAccess` would fail
with symbol arguments