·
12 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
https://central.sonatype.com/namespace/io.github.problem4j
- Maven:
<dependencies> <!-- pick one for your project --> <dependency> <groupId>io.github.problem4j</groupId> <artifactId>problem4j-spring-webflux</artifactId> <version>3.0.0</version> </dependency> <dependency> <groupId>io.github.problem4j</groupId> <artifactId>problem4j-spring-webmvc</artifactId> <version>3.0.0</version> </dependency> </dependencies>
- Gradle (Kotlin DSL):
dependencies { // pick one for your project implementation("io.github.problem4j:problem4j-spring-webflux:3.0.0") implementation("io.github.problem4j:problem4j-spring-webmvc:3.0.0") }
Added
- Add
HttpStatusTitleResolver- a SPI implementation foStatusTitleResolverusing Spring'sHttpStatus. - Add
problem4j.title-overrideproperty to configuretitlefield override inDefaultProblemPostProcessor. - Make
DefaultProblemPostProcessorsupport any fields fromProblemContextin value interpolation. - Add
@FunctionalInterfacecontract to:MethodParameterSupport,MethodValidationResultSupport,BindingResultSupport,ProblemResolverStore,ProblemPostProcessor,TypeNameMapper,AdviceWebFluxInspector,AdviceWebMvcInspector.
Changed
- Bump
problem4j-coreto2.0.0. - Bump
problem4j-jackson2to2.0.0. - Bump
problem4j-jackson3to2.0.0. - Change
ProblemResolverto contain justresolvemethod, returningProblem. - Hide
IdentityProblemFormatand make it available viaProblemFormat.identity(). - Hide
IdentityProblemPostProcessorand make it available viaProblemPostProcessor.identity(). - Move
ProblemSupportintoViolationSupportto mitigate conflicts withProblemSupportinproblem4j-core. - Simple tracing now produces 32-character, lowercase-hex string.
Removed
- Remove
problem4j.resolver-caching.max-cache-sizeand evicting cache forProblemResolver-s (non-evicting cache is
still present). - Remove
ProblemSupport.resolveStatus(HttpStatusCode). - Remove
ProblemSupport.resolveStatus(Problem).