aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2018-10-02 11:05:40 -0400
committerGitHub <noreply@github.com>2018-10-02 11:05:40 -0400
commitcf608ee34dd833b0357ef4eefa692db33242d2aa (patch)
tree7515c745a15dd29e2e50aca534f764044bece91c /activesupport/CHANGELOG.md
parent96e69b5a33f44e5339345ef3c4871aba51a1e938 (diff)
parentec9a89cb8be037cde2466a5347ea5c4ec648a4c3 (diff)
downloadrails-cf608ee34dd833b0357ef4eefa692db33242d2aa.tar.gz
rails-cf608ee34dd833b0357ef4eefa692db33242d2aa.tar.bz2
rails-cf608ee34dd833b0357ef4eefa692db33242d2aa.zip
Merge pull request #33058 from gmcgibbon/string_first_last_negative_deprecation
Add deprecation warning when String#first and String#last receive neg…
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