jetty.project icon indicating copy to clipboard operation
jetty.project copied to clipboard

[12.1.x] Remove deprecated classes/methods

Open sbordet opened this issue 1 year ago • 2 comments
trafficstars

Jetty version(s) 12.1.x

Description Many classes carry over deprecated methods that can be removed, for example:

EndPoint.get[Local|Remote]Address().

Review what needs to be removed before the final release of 12.1.x.

sbordet avatar Jul 10 '24 08:07 sbordet

I think our policy on removing deprecated API should be:

  • removed in any major release (e.g. 13.0.0)
  • removed in a minor release (e.g. in 12.1.0), but only when it has been deprecated for at least 6 patch released e.g. if current 12.0 release is 12.0.10, it must have been deprecated in or before 12.0.4
  • removed in a patch release if it was deprecated in a previous minor release, but with insufficient patch releases. e.g. if last 12.0 release was 12.0.10, then API deprecated in 12.0.8 can be removed in 12.1.3 (7th patch release).

This means that we can remove only in the next minor release, but only after 6 patch releases (approx 6 months).

gregw avatar Aug 19 '24 23:08 gregw

I have captured this policy in https://github.com/jetty/jetty.project/pull/12194.

sbordet avatar Aug 23 '24 15:08 sbordet

This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Aug 24 '25 00:08 github-actions[bot]

12.1.0 is out, closing this issue.

sbordet avatar Aug 24 '25 08:08 sbordet