Skip to content

Deprecation replacement for spring.codec.* properties has a typo #45743

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

Closed

Conversation

Peksa
Copy link
Contributor

@Peksa Peksa commented Jun 2, 2025

The replacement properties for the now deprecated configuration properties spring.codec.* have a slight typo in them:
spring.http.codec.log-request-details
spring.http.codec.max-in-memory-size

The correct replacement properties should be:
spring.http.codecs.log-request-details
spring.http.codecs.max-in-memory-size

(note the missing s in codecs)

I noticed this when upgrading to Spring Boot 3.5 and saw the warning in IntelliJ:
image

image

See #44971

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 2, 2025
@snicoll snicoll added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 2, 2025
@snicoll snicoll added this to the 3.5.1 milestone Jun 2, 2025
@snicoll snicoll self-assigned this Jun 2, 2025
@snicoll snicoll changed the title Fix typo in configuration property replacement Deprecation replacement for spring.codec.* properties has a typo Jun 2, 2025
snicoll pushed a commit that referenced this pull request Jun 2, 2025
@snicoll snicoll closed this in 1e932bd Jun 2, 2025
@snicoll
Copy link
Member

snicoll commented Jun 2, 2025

Good catch, thanks @Peksa!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants