Merge pull request #51833 from akhilgkrishnan/remove-unnecessary-changes
Remove 7.2 release changes from Rails 8.0 release note [ci skip]
This commit is contained in:
commit
705b70a2f1
@ -11,7 +11,7 @@ Upgrading to Rails 8.0
|
||||
----------------------
|
||||
|
||||
If you're upgrading an existing application, it's a great idea to have good test
|
||||
coverage before going in. You should also first upgrade to Rails 7.1 in case you
|
||||
coverage before going in. You should also first upgrade to Rails 7.2 in case you
|
||||
haven't and make sure your application still runs as expected before attempting
|
||||
an update to Rails 8.0. A list of things to watch out for when upgrading is
|
||||
available in the
|
||||
@ -28,14 +28,6 @@ Please refer to the [Changelog][railties] for detailed changes.
|
||||
|
||||
### Removals
|
||||
|
||||
* Remove deprecated `Rails::Generators::Testing::Behaviour`.
|
||||
|
||||
* Remove deprecated `Rails.application.secrets`.
|
||||
|
||||
* Remove deprecated `Rails.config.enable_dependency_loading`.
|
||||
|
||||
* Remove deprecated `find_cmd_and_exec` console helper.
|
||||
|
||||
### Deprecations
|
||||
|
||||
### Notable changes
|
||||
@ -58,22 +50,8 @@ Please refer to the [Changelog][action-pack] for detailed changes.
|
||||
|
||||
### Removals
|
||||
|
||||
* Remove deprecated constant `ActionDispatch::IllegalStateError`.
|
||||
|
||||
* Remove deprecated constant `AbstractController::Helpers::MissingHelperError`.
|
||||
|
||||
* Remove deprecated comparison between `ActionController::Parameters` and `Hash`.
|
||||
|
||||
* Remove deprecated `Rails.application.config.action_dispatch.return_only_request_media_type_on_content_type`.
|
||||
|
||||
* Remove deprecated `speaker`, `vibrate`, and `vr` permissions policy directives.
|
||||
|
||||
* Remove deprecated support to set `Rails.application.config.action_dispatch.show_exceptions` to `true` and `false`.
|
||||
|
||||
### Deprecations
|
||||
|
||||
* Deprecate `Rails.application.config.action_controller.allow_deprecated_parameters_hash_equality`.
|
||||
|
||||
### Notable changes
|
||||
|
||||
Action View
|
||||
@ -83,12 +61,8 @@ Please refer to the [Changelog][action-view] for detailed changes.
|
||||
|
||||
### Removals
|
||||
|
||||
* Remove deprecated `@rails/ujs` in favor of `Turbo`.
|
||||
|
||||
### Deprecations
|
||||
|
||||
* Deprecate passing content to void elements when using `tag.br` type tag builders.
|
||||
|
||||
### Notable changes
|
||||
|
||||
Action Mailer
|
||||
@ -98,10 +72,6 @@ Please refer to the [Changelog][action-mailer] for detailed changes.
|
||||
|
||||
### Removals
|
||||
|
||||
* Remove deprecated `config.action_mailer.preview_path`.
|
||||
|
||||
* Remove deprecated params via `:args` for `assert_enqueued_email_with`.
|
||||
|
||||
### Deprecations
|
||||
|
||||
### Notable changes
|
||||
@ -113,73 +83,8 @@ Please refer to the [Changelog][active-record] for detailed changes.
|
||||
|
||||
### Removals
|
||||
|
||||
* Remove deprecated `Rails.application.config.active_record.suppress_multiple_database_warning`.
|
||||
|
||||
* Remove deprecated support to call `alias_attribute` with non-existent attribute names.
|
||||
|
||||
* Remove deprecated `name` argument from `ActiveRecord::Base.remove_connection`.
|
||||
|
||||
* Remove deprecated `ActiveRecord::Base.clear_active_connections!`.
|
||||
|
||||
* Remove deprecated `ActiveRecord::Base.clear_reloadable_connections!`.
|
||||
|
||||
* Remove deprecated `ActiveRecord::Base.clear_all_connections!`.
|
||||
|
||||
* Remove deprecated `ActiveRecord::Base.flush_idle_connections!`.
|
||||
|
||||
* Remove deprecated `ActiveRecord::ActiveJobRequiredError`.
|
||||
|
||||
* Remove deprecated support to define `explain` in the connection adapter with 2 arguments.
|
||||
|
||||
* Remove deprecated `ActiveRecord::LogSubscriber.runtime` method.
|
||||
|
||||
* Remove deprecated `ActiveRecord::LogSubscriber.runtime=` method.
|
||||
|
||||
* Remove deprecated `ActiveRecord::LogSubscriber.reset_runtime` method.
|
||||
|
||||
* Remove deprecated `ActiveRecord::Migration.check_pending` method.
|
||||
|
||||
* Remove deprecated support to passing `SchemaMigration` and `InternalMetadata` classes as arguments to
|
||||
`ActiveRecord::MigrationContext`.
|
||||
|
||||
* Remove deprecated behavior to support referring to a singular association by its plural name.
|
||||
|
||||
* Remove deprecated `TestFixtures.fixture_path`.
|
||||
|
||||
* Remove deprecated support to `ActiveRecord::Base#read_attribute(:id)` to return the custom primary key value.
|
||||
|
||||
* Remove deprecated support to passing coder and class as second argument to `serialize`.
|
||||
|
||||
* Remove deprecated `#all_foreign_keys_valid?` from database adapters.
|
||||
|
||||
* Remove deprecated `ActiveRecord::ConnectionAdapters::SchemaCache.load_from`.
|
||||
|
||||
* Remove deprecated `ActiveRecord::ConnectionAdapters::SchemaCache#data_sources`.
|
||||
|
||||
* Remove deprecated `#all_connection_pools`.
|
||||
|
||||
* Remove deprecated support to apply `#connection_pool_list`, `#active_connections?`, `#clear_active_connections!`,
|
||||
`#clear_reloadable_connections!`, `#clear_all_connections!` and `#flush_idle_connections!` to the connections pools
|
||||
for the current role when the `role` argument isn't provided.
|
||||
|
||||
* Remove deprecated `ActiveRecord::ConnectionAdapters::ConnectionPool#connection_klass`.
|
||||
|
||||
* Remove deprecated `#quote_bound_value`.
|
||||
|
||||
* Remove deprecated support to quote `ActiveSupport::Duration`.
|
||||
|
||||
* Remove deprecated support to pass `deferrable: true` to `add_foreign_key`.
|
||||
|
||||
* Remove deprecated support to pass `rewhere` to `ActiveRecord::Relation#merge`.
|
||||
|
||||
* Remove deprecated behavior that would rollback a transaction block when exited using `return`, `break` or `throw`.
|
||||
|
||||
### Deprecations
|
||||
|
||||
* Deprecate `Rails.application.config.active_record.allow_deprecated_singular_associations_name`
|
||||
|
||||
* Deprecate `Rails.application.config.active_record.commit_transaction_on_non_local_return`
|
||||
|
||||
### Notable changes
|
||||
|
||||
Active Storage
|
||||
@ -189,10 +94,6 @@ Please refer to the [Changelog][active-storage] for detailed changes.
|
||||
|
||||
### Removals
|
||||
|
||||
* Remove deprecated `config.active_storage.replace_on_assign_to_many`.
|
||||
|
||||
* Remove deprecated `config.active_storage.silence_invalid_content_types_warning`.
|
||||
|
||||
### Deprecations
|
||||
|
||||
### Notable changes
|
||||
@ -215,49 +116,8 @@ Please refer to the [Changelog][active-support] for detailed changes.
|
||||
|
||||
### Removals
|
||||
|
||||
* Remove deprecated `ActiveSupport::Notifications::Event#children` and `ActiveSupport::Notifications::Event#parent_of?`.
|
||||
|
||||
* Remove deprecated support to call the following methods without passing a deprecator:
|
||||
|
||||
- `deprecate`
|
||||
- `deprecate_constant`
|
||||
- `ActiveSupport::Deprecation::DeprecatedObjectProxy.new`
|
||||
- `ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new`
|
||||
- `ActiveSupport::Deprecation::DeprecatedConstantProxy.new`
|
||||
- `assert_deprecated`
|
||||
- `assert_not_deprecated`
|
||||
- `collect_deprecations`
|
||||
|
||||
* Remove deprecated `ActiveSupport::Deprecation` delegation to instance.
|
||||
|
||||
* Remove deprecated `SafeBuffer#clone_empty`.
|
||||
|
||||
* Remove deprecated `#to_default_s` from `Array`, `Date`, `DateTime` and `Time`.
|
||||
|
||||
* Remove deprecated `:pool_size` and `:pool_timeout` options for the cache storage.
|
||||
|
||||
* Remove deprecated support for `config.active_support.cache_format_version = 6.1`.
|
||||
|
||||
* Remove deprecated constants `ActiveSupport::LogSubscriber::CLEAR` and `ActiveSupport::LogSubscriber::BOLD`.
|
||||
|
||||
* Remove deprecated support to bolding log text with positional boolean in `ActiveSupport::LogSubscriber#color`.
|
||||
|
||||
* Remove deprecated `config.active_support.disable_to_s_conversion`.
|
||||
|
||||
* Remove deprecated `config.active_support.remove_deprecated_time_with_zone_name`.
|
||||
|
||||
* Remove deprecated `config.active_support.use_rfc4122_namespaced_uuids`.
|
||||
|
||||
* Remove deprecated support to passing `Dalli::Client` instances to `MemCacheStore`.
|
||||
|
||||
* Remove deprecated support for the pre-Ruby 2.4 behavior of `to_time` returning a `Time` object with local timezone.
|
||||
|
||||
### Deprecations
|
||||
|
||||
* Deprecate `config.active_support.to_time_preserves_timezone`.
|
||||
|
||||
* Deprecate `DateAndTime::Compatibility.preserve_timezone`.
|
||||
|
||||
### Notable changes
|
||||
|
||||
Active Job
|
||||
@ -267,16 +127,8 @@ Please refer to the [Changelog][active-job] for detailed changes.
|
||||
|
||||
### Removals
|
||||
|
||||
* Remove deprecated primitive serializer for `BigDecimal` arguments.
|
||||
|
||||
* Remove deprecated support to set numeric values to `scheduled_at` attribute.
|
||||
|
||||
* Remove deprecated `:exponentially_longer` value for the `:wait` in `retry_on`.
|
||||
|
||||
### Deprecations
|
||||
|
||||
* Deprecate `Rails.application.config.active_job.use_big_decimal_serialize`.
|
||||
|
||||
### Notable changes
|
||||
|
||||
Action Text
|
||||
|
Loading…
Reference in New Issue
Block a user