1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/CHANGELOG.md
Jean Boussier a191321f7b Disable config.add_autoload_paths_to_load_path by default in Rails 7.1
Ref: 668673f779

Now that Zeitwerk is the only autoloader, there no reason
to add autoloaded paths to `$LOAD_PATH`.
2022-01-11 12:05:32 +01:00

756 B

  • No longer add autoloaded paths to $LOAD_PATH.

    This means it won't be possible to load them with a manual require call, the class or module can be referenced instead.

    Reducing the size of $LOAD_PATH speed-up require calls for apps not using bootsnap, and reduce the size of the bootsnap cache for the others.

    Jean Boussier

  • Remove default X-Download-Options header

    This header is currently only used by Internet Explorer which will be discontinued in 2022 and since Rails 7 does not fully support Internet Explorer this header should not be a default one.

    Harun Sabljaković

Please check 7-0-stable for previous changes.