Skip to content

Remove deprecated path mapping options for Spring Framework 7.0#914

Closed
jkschneider wants to merge 2 commits intomainfrom
jkschneider/remove-deprecated-path-mapping
Closed

Remove deprecated path mapping options for Spring Framework 7.0#914
jkschneider wants to merge 2 commits intomainfrom
jkschneider/remove-deprecated-path-mapping

Conversation

@jkschneider
Copy link
Member

@jkschneider jkschneider commented Jan 27, 2026

Wrong repo

Add recipe to remove deprecated path mapping configuration options that
have been removed in Spring Framework 7.0:
- setUseTrailingSlashMatch on PathMatchConfigurer (WebMvc and WebFlux)
- setUseSuffixPatternMatch and setUseRegisteredSuffixPatternMatch on PathMatchConfigurer
- favorPathExtension and ignoreUnknownPathExtensions on ContentNegotiationConfigurer
- setFavorPathExtension and setIgnoreUnknownPathExtensions on ContentNegotiationManagerFactoryBean
- setMatchOptionalTrailingSeparator on PathPatternParser

These options were deprecated in Spring Framework 6.0 and are now
completely removed in Spring Framework 7.0.

Fixes moderneinc/customer-requests#1744
@jkschneider jkschneider deleted the jkschneider/remove-deprecated-path-mapping branch January 27, 2026 14:10
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant