Ruby on Rails v6.0.2.rc1 Release Notes

Release Date: 2019-11-27 // over 4 years ago
  • ๐Ÿ‘ Active Support

    ๐ŸŒ Eager load translations during initialization.

    Diego Plentz

    ๐Ÿ‘‰ Use per-thread CPU time clock on ActiveSupport::Notifications.

    George Claghorn

    Active Model

    • No changes.

    Active Record

    Share the same connection pool for primary and replica databases in the
    โœ… transactional tests for the same database.

    Edouard Chin

    ๐Ÿ›  Fix the preloader when one record is fetched using after_initialize
    but not the entire colection.

    Bradley Price

    ๐Ÿ›  Fix collection callbacks not terminating when :abort is thrown.

    Edouard Chin, Ryuta Kamizono

    ๐Ÿ—„ Correctly deprecate where.not working as NOR for relations.

    ๐Ÿ—„ 12a9664 deprecated where.not working as NOR, however
    doing a relation query like where.not(relation: { ... })
    ๐Ÿ—„ wouldn't be properly deprecated and where.not would work as
    NAND instead.

    Edouard Chin

    ๐Ÿ›  Fix db:migrate task with multiple databases to restore the connection
    to the previous database.

    The migrate task iterates and establish a connection over each db
    resulting in the last one to be used by subsequent rake tasks.
    We should reestablish a connection to the connection that was
    established before the migrate tasks was run

    Edouard Chin

    ๐Ÿ›  Fix multi-threaded issue for AcceptanceValidator.

    Ryuta Kamizono

    Action View

    • No changes.

    Action Pack

    ๐Ÿ‘ Allow using mountable engine route helpers in System Tests.

    Chalo Fernandez

    ๐Ÿ‘ท Active Job

    ๐Ÿ‘ Allow Sidekiq access to the underlying job class.

    ๐Ÿ‘ท By having access to the Active Job class, Sidekiq can get access to any sidekiq_options which
    ๐Ÿ‘ท have been set on that Active Job type and serialize those options into Redis.

    https://github.com/mperham/sidekiq/blob/master/Changes.md#60

    Mike Perham

    Action Mailer

    ๐Ÿ›  Fix ActionMailer assertions don't work for parameterized mail with legacy delivery job.

    bogdanvlviv

    Action Cable

    • No changes.

    Active Storage

    • No changes.

    Action Mailbox

    • No changes.

    Action Text

    • No changes.

    Railties

    ๐Ÿ›  Fix the collision check for the scaffold generator.

    Ryan Robeson

    ๐Ÿ”ง Configuration files for environments (config/environments/*.rb) are
    now able to modify autoload_paths, autoload_once_paths, and
    eager_load_paths.

    Allen Hsu & Xavier Noria