Skip to content

Remove versioned methods#8143

Merged
headius merged 3 commits intojruby:9.5-devfrom
headius:remove_versioned_methods
Mar 12, 2024
Merged

Remove versioned methods#8143
headius merged 3 commits intojruby:9.5-devfrom
headius:remove_versioned_methods

Conversation

@headius
Copy link
Member

@headius headius commented Mar 6, 2024

This removes the following related to versioned methods (1.8, 1.9, etc):

  • Methods with version suffixes that were previously deprecated. Most have been deprecated for a very long time.
  • All references to CompatVersion, used by the JRubyMethod annotation to indicate version level.

Sadly, some suffixed methods were NOT yet deprecated, so they just gain new deprecations in this PR.

@headius headius added this to the JRuby 9.5.0.0 milestone Mar 6, 2024
headius added 2 commits March 11, 2024 23:02
This removes methods with the "18", "19", or "20" suffix
indicating that they are associated with those versions of Ruby.
Where there existed such methods that were not previously
deprecated, new deprecation was added but the methods were not
removed. Any remaining callers of these methods were modified to
call the non-suffixed version.
@headius headius force-pushed the remove_versioned_methods branch from 0bea526 to 9fa2334 Compare March 12, 2024 04:02
@headius headius merged commit ff7780d into jruby:9.5-dev Mar 12, 2024
headius added a commit to headius/jruby that referenced this pull request Mar 12, 2024
These methods were not deprecated before JRuby 10, so they were
left in place for one additional "major" release. This deletes
them.

They are very low risk of causing compile or execution problems,
but this safer approach gives any remaining users a full version
cycle to switch to the long-available normal versions.

See jruby#8143 for the original pass that removed already-
deprecated methods.
@headius headius deleted the remove_versioned_methods branch March 12, 2024 04:20
headius added a commit to headius/jruby that referenced this pull request Mar 12, 2024
These methods were not deprecated before JRuby 10, so they were
left in place for one additional "major" release. This deletes
them.

They are very low risk of causing compile or execution problems,
but this safer approach gives any remaining users a full version
cycle to switch to the long-available normal versions.

See jruby#8143 for the original pass that removed already-
deprecated methods.
headius added a commit to headius/jruby that referenced this pull request Mar 13, 2024
These methods were not deprecated before JRuby 10, so they were
left in place for one additional "major" release. This deletes
them.

They are very low risk of causing compile or execution problems,
but this safer approach gives any remaining users a full version
cycle to switch to the long-available normal versions.

See jruby#8143 for the original pass that removed already-
deprecated methods.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant