Releases: problem4j/problem4j-spring
Releases · problem4j/problem4j-spring
v3.0.0
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).
v3.0.0-RC1
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-RC1</version> </dependency> <dependency> <groupId>io.github.problem4j</groupId> <artifactId>problem4j-spring-webmvc</artifactId> <version>3.0.0-RC1</version> </dependency> </dependencies>
- Gradle (Kotlin DSL):
dependencies { // pick one for your project implementation("io.github.problem4j:problem4j-spring-webflux:3.0.0-RC1") implementation("io.github.problem4j:problem4j-spring-webmvc:3.0.0-RC1") }
Added
- Add
HttpStatusTitleResolver- a SPI implementation foStatusTitleResolverusing Spring'sHttpStatus. - Add
problem4j.title-overrideproperty to configuretitlefield override inDefaultProblemPostProcessor. - Make
DefaultProblemPostProcessorsupport any fields fromProblemContextin value interpolation.
Changed
- Bump
problem4j-coreto2.0.0-RC1. - Bump
problem4j-jackson2to2.0.0-RC1. - Bump
problem4j-jackson3to2.0.0-RC1. - Change
ProblemResolverto contain justresolvemethod, returningProblem. - Hide
IdentityProblemFormatand make it available viaProblemFormat.identity(). - Split
ProblemSupportintoViolationSupportandResponseSupportto separate concerns and mitigate conflicts withProblemSupportinproblem4j-core.
Removed
- Remove
problem4j.resolver-caching.max-cache-sizeand evicting cache forProblemResolver-s (non-evicting cache is still present). - Remove
ProblemSupport.resolveStatus(HttpStatusCode).
v2.2.4
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>2.2.4</version> </dependency> <dependency> <groupId>io.github.problem4j</groupId> <artifactId>problem4j-spring-webmvc</artifactId> <version>2.2.4</version> </dependency> </dependencies>
- Gradle (Kotlin DSL):
dependencies { // pick one for your project implementation("io.github.problem4j:problem4j-spring-webflux:2.2.4") implementation("io.github.problem4j:problem4j-spring-webmvc:2.2.4") }
Fixed
- Fix formatting of
detailFormatfor resolving cause exceptions. - Drop transitive dependency to
kotlin-stdlib(added accidentally by Kotlin plugin, used in tests only).
v1.2.9
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>1.2.9</version> </dependency> <dependency> <groupId>io.github.problem4j</groupId> <artifactId>problem4j-spring-webmvc</artifactId> <version>1.2.9</version> </dependency> </dependencies>
- Gradle (Kotlin DSL):
dependencies { // pick one for your project implementation("io.github.problem4j:problem4j-spring-webflux:1.2.9") implementation("io.github.problem4j:problem4j-spring-webmvc:1.2.9") }
Fixed
- Fix formatting of
detailFormatfor resolving cause exceptions.
v2.2.3
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>2.2.3</version> </dependency> <dependency> <groupId>io.github.problem4j</groupId> <artifactId>problem4j-spring-webmvc</artifactId> <version>2.2.3</version> </dependency> </dependencies>
- Gradle (Kotlin DSL):
dependencies { // pick one for your project implementation("io.github.problem4j:problem4j-spring-webflux:2.2.3") implementation("io.github.problem4j:problem4j-spring-webmvc:2.2.3") }
Fixed
- Fix detail about enum deserialization errors to correctly say
"enum"instead of"string".
v1.2.8
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>1.2.8</version> </dependency> <dependency> <groupId>io.github.problem4j</groupId> <artifactId>problem4j-spring-webmvc</artifactId> <version>1.2.8</version> </dependency> </dependencies>
- Gradle (Kotlin DSL):
dependencies { // pick one for your project implementation("io.github.problem4j:problem4j-spring-webflux:1.2.8") implementation("io.github.problem4j:problem4j-spring-webmvc:1.2.8") }
Fixed
- Fix detail about enum deserialization errors to correctly say
"enum"instead of"string".
v2.2.2
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>2.2.2</version> </dependency> <dependency> <groupId>io.github.problem4j</groupId> <artifactId>problem4j-spring-webmvc</artifactId> <version>2.2.2</version> </dependency> </dependencies>
- Gradle (Kotlin DSL):
dependencies { // pick one for your project implementation("io.github.problem4j:problem4j-spring-webflux:2.2.2") implementation("io.github.problem4j:problem4j-spring-webmvc:2.2.2") }
Changed
- Deprecate
ProblemSupport.resolveProblem. - Bump
problem4j-coreto1.4.3. - Bump
problem4j-jackson2to1.4.3. - Bump
problem4j-jackson3to1.4.3.
Fixed
- Fix missing details about primitive types deserialization errors. It will include
"detail": "Type mismatch"with"property"and"kind"extensions containing type property and its expected type. This also include kotlin non-null fields. - Document configuration properties via JavaDocs and hints in
additional-spring-configuration-metadata.jsonfor annotation processor to generate an improved.
v1.2.7
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>1.2.7</version> </dependency> <dependency> <groupId>io.github.problem4j</groupId> <artifactId>problem4j-spring-webmvc</artifactId> <version>1.2.7</version> </dependency> </dependencies>
- Gradle (Kotlin DSL):
dependencies { // pick one for your project implementation("io.github.problem4j:problem4j-spring-webflux:1.2.7") implementation("io.github.problem4j:problem4j-spring-webmvc:1.2.7") }
Changed
- Deprecate
ProblemSupport.resolveProblem. - Bump
problem4j-coreto1.4.3. - Bump
problem4j-jackson2to1.4.3.
Fixed
- Fix missing details about primitive types deserialization errors. It will include
"detail": "Type mismatch"with"property"and"kind"extensions containing type property and its expected type. - Document configuration properties via JavaDocs and hints in
additional-spring-configuration-metadata.jsonfor annotation processor to generate an improved.
v2.2.1
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>2.2.1</version> </dependency> <dependency> <groupId>io.github.problem4j</groupId> <artifactId>problem4j-spring-webmvc</artifactId> <version>2.2.1</version> </dependency> </dependencies>
- Gradle (Kotlin DSL):
dependencies { // pick one for your project implementation("io.github.problem4j:problem4j-spring-webflux:2.2.1") implementation("io.github.problem4j:problem4j-spring-webmvc:2.2.1") }
Changed
- Bump
problem4j-coreto1.4.2. - Bump
problem4j-jackson2to1.4.2. - Bump
problem4j-jackson3to1.4.2.
v1.2.6
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>1.2.6</version> </dependency> <dependency> <groupId>io.github.problem4j</groupId> <artifactId>problem4j-spring-webmvc</artifactId> <version>1.2.6</version> </dependency> </dependencies>
- Gradle (Kotlin DSL):
dependencies { // pick one for your project implementation("io.github.problem4j:problem4j-spring-webflux:1.2.6") implementation("io.github.problem4j:problem4j-spring-webmvc:1.2.6") }
Changed
- Bump
problem4j-coreto1.4.2. - Bump
problem4j-jackson2to1.4.2.