Skip to content

Upgrading railties 5 to 6

Unknown5.2.8.1 → 6.1.7.10Changed1Fixed1

Fetching 67 releases from GitHub…1 / 67
UnknownUpgrade verdict

DepDelta is still reading the notes for 66 of 67 releases, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

railties publishes an official migration guide for version 6. It covers more than the release notes do.

Upgrading from Rails 5.2 to Rails 6.0 ↗

Ruby requirement changed in 6.0.0.beta1: >= 2.2.2 → >= 2.5.0.

Generated by DepDelta from published Ruby source. Not mixed with prose notes.

  • removed: class SourceAnnotationExtractor
  • removed: constructor SourceAnnotationExtractor(_)
  • removed: method SourceAnnotationExtractor.display(_, _ = …)
  • removed: method SourceAnnotationExtractor.extract_annotations_from(_, _)
  • removed: method SourceAnnotationExtractor.find(_)
  • removed: method SourceAnnotationExtractor.find_in(_)
  • removed: module ActiveSupport
  • removed: module Js
  • removed: property SourceAnnotationExtractor.tag: reader
  • removed: static method Minitest.plugin_rails_replace_reporters(_, _)
  • removed: static method SourceAnnotationExtractor.enumerate(_, _ = …)
  • added: class DummyCompiler < ERB::Compiler
  • added: class DummyERB < ERB
  • added: method DummyCompiler.compile_content(_, _)
  • added: method DummyERB.make_compiler(_)
  • added: static method Rails.autoloaders()
  • removed: class TestCase
  • removed: method TestCase.before_setup()
  • removed: class IntegrationTest
  • removed: method IntegrationTest.before_setup()
  • removed: class TestCase
  • removed: module Generators
  • removed: class AssetsGenerator < Rails::Generators::NamedBase
  • removed: method AssetsGenerator.copy_javascript()
  • added: class BacktraceFilterWithFallback
  • added: constructor BacktraceFilterWithFallback(_, _)
  • added: method BacktraceFilterWithFallback.filter(_)
  • removed: const BacktraceCleaner.DOT_SLASH
  • removed: const BacktraceCleaner.EMPTY_STRING
  • removed: const BacktraceCleaner.SLASH
  • removed: const Generators.RESERVED_NAMES
  • removed: const PluginBuilder.PASSTHROUGH_OPTIONS
  • removed: method DBConsole.connection()
  • removed: method PluginBuilder.javascripts()
  • removed: method Server.app()
  • removed: set Application.config(_)
  • removed: set Application.secrets(_)
  • removed: static method Command.sorted_groups()
  • removed: static method Generators.no_color!()
  • changed: method Server.start() → method Server.start(_ = …)
  • added: class SourceAnnotationExtractor
  • added: const PluginBuilder.DUMMY_IGNORE_OPTIONS
  • added: constructor SourceAnnotationExtractor(_)
  • added: method AppBuilder.gitattributes()
  • added: method AppBuilder.yarn_when_updating()
  • added: method Application.eager_load!()
  • added: method Application.server()
  • added: method DBConsole.database()
  • added: method DBConsole.db_config()
  • added: method Engine.load_server(_ = …)
  • added: method PluginBuilder.version_control()
  • added: method Server.serveable?()
  • added: method Server.served_url()
  • added: method SourceAnnotationExtractor.display(_, _ = …)
  • added: method SourceAnnotationExtractor.extract_annotations_from(_, _)
  • added: method SourceAnnotationExtractor.find(_)
  • added: method SourceAnnotationExtractor.find_in(_)
  • added: module Autoloaders
  • added: property Application.config: writer
  • added: property Application.credentials: writer
  • added: property Application.secrets: writer
  • added: property SourceAnnotationExtractor.tag: reader
  • added: protected method Application.run_server_blocks(_)
  • added: protected method Railtie.run_server_blocks(_)
  • added: static method Autoloaders.each()
  • added: static method Autoloaders.log!()
  • added: static method Autoloaders.main()
  • added: static method Autoloaders.once()
  • added: static method Autoloaders.zeitwerk_enabled?()
  • added: static method Generators.add_generated_file(_)
  • added: static method Generators.after_generate_callbacks()
  • added: static method Railtie.server()
  • added: static method SourceAnnotationExtractor.enumerate(_ = …, _ = …)
  • added: static set Autoloaders.logger(_)
  • removed: property Configuration.secret_token: accessor
  • removed: set Configuration.debug_exception_response_format(_)
  • added: method Configuration.default_log_file()
  • added: method Configuration.load_database_yaml()
  • added: method Configuration.permissions_policy()
  • added: property Configuration.add_autoload_paths_to_load_path: accessor
  • added: property Configuration.autoloader: reader
  • added: property Configuration.content_security_policy_nonce_directives: accessor
  • added: property Configuration.credentials: accessor
  • added: property Configuration.debug_exception_response_format: writer
  • added: property Configuration.disable_sandbox: accessor
  • added: property Configuration.host_authorization: accessor
  • added: property Configuration.hosts: accessor
  • added: property Configuration.rake_eager_load: accessor
  • added: property RoutesReloader.external_routes: reader
  • added: set Configuration.autoloader(_)
  • removed: const ServerCommand.DEFAULT_PID_PATH
  • changed: constructor ServerCommand(_ = …, _ = …, _ = …) → constructor ServerCommand(_, _, *)
  • changed: static method RakeCommand.perform(_, *) → static method RakeCommand.perform(_, _, _)
  • added: class DevCommand < Base
  • added: class InitializersCommand < Base
  • added: class NotesCommand < Base
  • added: class RoutesCommand < Base
  • added: const ServerCommand.DEFAULT_PIDFILE
  • added: const ServerCommand.RACK_SERVERS
  • added: method CredentialsCommand.diff(_ = …)
  • added: method DevCommand.cache()
  • added: method InitializersCommand.perform()
  • added: method NotesCommand.perform(*)
  • added: method RoutesCommand.perform(*)
  • added: module Db
  • added: module Spellchecker
  • added: static method Spellchecker.suggest(_, from:)
  • added: method Diffing.enroll_project_in_credentials_diffing()
  • added: method Diffing.ensure_rails_credentials_driver_is_set()
  • added: module Diffing
  • added: module System
  • added: class ChangeCommand < Base
  • added: constructor ChangeCommand(_, _, *)
  • added: method ChangeCommand.perform()
  • removed: protected method MiddlewareStackProxy.delete_operations()
  • removed: protected method MiddlewareStackProxy.operations()
  • added: method Generators.after_generate()
  • added: method MiddlewareStackProxy.move(*)
  • added: method MiddlewareStackProxy.move_after(*)
  • added: method MiddlewareStackProxy.move_before(*)
  • added: property Generators.after_generate_callbacks: reader
  • added: protected property MiddlewareStackProxy.delete_operations: reader
  • added: protected property MiddlewareStackProxy.operations: reader
  • added: property Configuration.javascript_path: accessor
  • removed: const AppBase.DATABASES
  • removed: const AppBase.JDBC_DATABASES
  • removed: method Actions.after_bundle()
  • removed: method Actions.capify!()
  • removed: method AppGenerator.delete_bin_yarn_if_skip_yarn_option()
  • removed: method PluginGenerator.create_javascript_files()
  • removed: method PluginGenerator.run_after_bundle_callbacks()
  • removed: protected property NamedBase.file_name: reader
  • removed: protected property ResourceHelpers.controller_file_name: reader
  • removed: protected property ResourceHelpers.controller_name: reader
  • changed: constructor AppBase(*) → constructor AppBase(_, _, *)
  • changed: method Actions.route(_) → method Actions.route(_, namespace: …)
  • added: class BenchmarkGenerator < NamedBase
  • added: const AppName.RESERVED_NAMES
  • added: const BenchmarkGenerator.IPS_GEM_NAME
  • added: const Database.DATABASES
  • added: const Database.JDBC_DATABASES
  • added: const ModelHelpers.INFLECTION_IMPOSSIBLE_ERROR_MESSAGE
  • added: const ModelHelpers.IRREGULAR_MODEL_NAME_WARN_MESSAGE
  • added: constructor Database(*)
  • added: method Actions.github(_, _ = …)
  • added: method AppGenerator.delete_active_job_folder_if_skipping_active_job()
  • added: method AppGenerator.delete_js_packs_when_minimal_skipping_webpack()
  • added: method AppGenerator.update_active_storage()
  • added: method AppGenerator.update_bin_yarn()
  • added: method BenchmarkGenerator.generate_layout()
  • added: method Database.convert_database_option_for_jruby()
  • added: method Database.gem_for_database(_ = …)
  • added: method GeneratedAttribute.attachment?()
  • added: method GeneratedAttribute.attachments?()
  • added: method GeneratedAttribute.rich_text?()
  • added: method GeneratedAttribute.virtual?()
  • added: module AppName
  • added: module Database
  • added: module Db
  • added: method CreateMigration.invoke!()
  • added: module System
  • added: class ChangeGenerator < Base
  • added: constructor ChangeGenerator(*)
  • added: method ChangeGenerator.edit_database_config()
  • added: method ChangeGenerator.edit_gemfile()
  • added: static method ChangeGenerator.default_generator_root()
  • added: method Path.paths()
  • added: class Annotation < Struct.new(:line, :tag, :text)
  • added: method Annotation.to_s(_ = …)
  • added: static method Annotation.directories()
  • added: static method Annotation.extensions()
  • added: static method Annotation.register_directories(*)
  • added: static method Annotation.register_extensions(*)
  • added: static method Annotation.register_tags(*)
  • added: static method Annotation.tags()
  • removed: class Annotation < Struct.new(:line, :tag, :text)
  • removed: method Annotation.to_s(_ = …)
  • removed: static method Annotation.directories()
  • removed: static method Annotation.extensions()
  • removed: static method Annotation.register_directories(*)
  • removed: static method Annotation.register_extensions(*)