Skip to content

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

Signed-off-by: Peksa <git@peksa.se>
@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

3 participants