Skip to content

Rename 'spring.http.client' properties to 'spring.http.clients' #44962

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

Conversation

shivammm21
Copy link

This PR renames the properties from spring.http.client to spring.http.clients to follow the same pattern used elsewhere in Spring Boot (like properties.actuator.management.endpoints).

The change affects

  • The main HttpClientProperties class configuration property
  • All test files using these properties
  • Documentation in rest-client.adoc

This is a breaking change for anyone already using the spring.http.client.* properties in the 3.4.0 milestone.

Fixes #44958

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 1, 2025
@shivammm21 shivammm21 force-pushed the rename-http-client-properties-44958 branch from 74792de to d2633b7 Compare April 1, 2025 06:54
@bclozel
Copy link
Member

bclozel commented Apr 1, 2025

Thanks for this PR but the issue is already assigned so I assume that Phil has already started working on this. Also, renaming the property is not enough as additional metadata must be added to help IDEs and the properties migrator with the renaming.

@bclozel bclozel closed this Apr 1, 2025
@bclozel bclozel added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename 'spring.http.client' properties to 'spring.http.client.settings'
3 participants