Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all deprecated code #49624

Merged
merged 24 commits into from
May 1, 2024
Merged

Remove all deprecated code #49624

merged 24 commits into from
May 1, 2024

Conversation

rafaelfranca
Copy link
Member

Remove all code deprecated in 7.1.

@p8
Copy link
Member

p8 commented Oct 13, 2023

@rafaelfranca I removed secrets in the following PR: #49618.
There were more changes than expected.

@rafaelfranca
Copy link
Member Author

Thanks! I'll apply your commit to my branch

@zzak
Copy link
Member

zzak commented Oct 16, 2023

Should we remove active_support.cache_format_version = 6.1 as well?

DEPRECATION WARNING: Support for `config.active_support.cache_format_version = 6.1` has been deprecated and will be removed in Rails 7.2.

@rafaelfranca
Copy link
Member Author

Yes. I'll remove every single deprecation.

When `to_time_preserves_timezone` was set to `false`, `to_time`
would return a `Time` object with local timezone. This behavior
has been removed.
This change was never released on 7.1, so we can't remove it on 7.2.
…ng a deprecator

  - `deprecate`
  - `deprecate_constant`
  - `ActiveSupport::Deprecation::DeprecatedObjectProxy.new`
  - `ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new`
  - `ActiveSupport::Deprecation::DeprecatedConstantProxy.new`
  - `assert_deprecated`
  - `assert_not_deprecated`
  - `collect_deprecations`
…`ActiveSupport::Notifications::Event#parent_of?`
@rafaelfranca rafaelfranca marked this pull request as ready for review May 1, 2024 22:04
@rafaelfranca rafaelfranca merged commit 8808df6 into main May 1, 2024
7 checks passed
@rafaelfranca rafaelfranca deleted the rm-deprecations branch May 1, 2024 22:13
@flavorjones flavorjones mentioned this pull request May 5, 2024
4 tasks
flavorjones added a commit to flavorjones/rails that referenced this pull request May 6, 2024
PR rails#49624 contained commit 0c76f17 which mistakenly used backticks
instead of normal string quotes. This is easy to miss, but risks
introducing a security vulnerability into the codebase.

Forcing the use of `%x()` should make it more obvious visually where
the command literals are.

See related rails#51739
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants