2018-02-17 21:02:18 +00:00
|
|
|
## Rails 6.0.0.alpha (Unreleased) ##
|
2017-12-20 21:59:41 +00:00
|
|
|
|
2018-02-06 14:16:42 +00:00
|
|
|
* Caching: MemCache and Redis `read_multi` and `fetch_multi` speedup.
|
|
|
|
Read from the local in-memory cache before consulting the backend.
|
|
|
|
|
|
|
|
*Gabriel Sobrinho*
|
|
|
|
|
2018-02-19 10:24:13 +00:00
|
|
|
* Return all mappings for a timezone identifier in `country_zones`
|
|
|
|
|
|
|
|
Some timezones like `Europe/London` have multiple mappings in
|
|
|
|
`ActiveSupport::TimeZone::MAPPING` so return all of them instead
|
|
|
|
of the first one found by using `Hash#value`. e.g:
|
|
|
|
|
|
|
|
# Before
|
|
|
|
ActiveSupport::TimeZone.country_zones("GB") # => ["Edinburgh"]
|
|
|
|
|
|
|
|
# After
|
|
|
|
ActiveSupport::TimeZone.country_zones("GB") # => ["Edinburgh", "London"]
|
|
|
|
|
|
|
|
Fixes #31668.
|
|
|
|
|
|
|
|
*Andrew White*
|
|
|
|
|
2016-12-09 18:34:35 +00:00
|
|
|
* `String#truncate_bytes` to truncate a string to a maximum bytesize without
|
|
|
|
breaking multibyte characters or grapheme clusters like 👩👩👦👦.
|
|
|
|
|
|
|
|
*Jeremy Daer*
|
|
|
|
|
2018-02-17 23:23:17 +00:00
|
|
|
* `String#strip_heredoc` preserves frozenness.
|
|
|
|
|
|
|
|
"foo".freeze.strip_heredoc.frozen? # => true
|
|
|
|
|
|
|
|
Fixes that frozen string literals would inadvertently become unfrozen:
|
|
|
|
|
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
foo = <<-MSG.strip_heredoc
|
|
|
|
la la la
|
|
|
|
MSG
|
|
|
|
|
|
|
|
foo.frozen? # => false !??
|
|
|
|
|
|
|
|
*Jeremy Daer*
|
|
|
|
|
2018-02-17 21:02:18 +00:00
|
|
|
* Rails 6 requires Ruby 2.4.1 or newer.
|
|
|
|
|
|
|
|
*Jeremy Daer*
|
|
|
|
|
|
|
|
* Adds parallel testing to Rails
|
|
|
|
|
|
|
|
Parallelize your test suite with forked processes or threads.
|
|
|
|
|
|
|
|
*Eileen M. Uchitelle*, *Aaron Patterson*
|
2017-12-20 21:59:41 +00:00
|
|
|
|
2017-12-14 15:05:13 +00:00
|
|
|
|
2018-01-30 23:51:17 +00:00
|
|
|
Please check [5-2-stable](https://github.com/rails/rails/blob/5-2-stable/activesupport/CHANGELOG.md) for previous changes.
|