openrewrite / rewrite-apache

OpenRewrite recipes for Apache projects.
Apache License 2.0
2 stars 5 forks source link

Upgrade Apache Http Client from 5.1+ to 5.2+ #8

Closed timtebeek closed 3 months ago

timtebeek commented 10 months ago

What problem are you trying to solve?

Upgrade users to 5.2+

What precondition(s) should be checked before applying this recipe?

Using at least Java 8.

Any additional context

Likely requires

5.2+ release notes

Release 5.2

This is the first GA release in the 5.2 release series. This release finalizes the 5.2 APIs and also corrects a number of defects discovered since the previous release.

Please note that 5.2 upgrades the minimal JRE level to version 8 (8u251 is required).

Notable changes and features included in the 5.2 series:

  • Upgrade to Java 8.
  • Improved support for TLS upgrade and HTTP protocol upgrade (async).
  • Improved HTTP protocol negotiation.
  • Improved customization of connection listeners (async).
  • Improved parsing and formatting of URI components.
  • Use of Java 8 date / time APIs
bsmahi commented 3 months ago

@timtebeek I would like to pick up this one

timtebeek commented 3 months ago

That's much appreciated @bsmahi ! I've moved the issue to the right project. Feel free to open a draft pull request here again that expands on the Apache httpclient recipes we already have.