Releases: BitWeb/java-core-lib
Releases · BitWeb/java-core-lib
v5.0.0-RC1
v5.0.0-RC1
Major release upgrading to Spring Boot 4.0.0, Spring Framework 7.0.0, and Jackson 3.0.x.
Highlights
- Spring Boot 3.5.0 → 4.0.0 / Spring Framework 6.2.7 → 7.0.0
- Jackson 2.x → 3.x (
tools.jacksonpackage) as primary, with Jackson 2.x retained for Retrofit compatibility - OkHttp 4.x → 5.x, Tomcat 10.x → 11.x, Testcontainers 1.x → 2.x
- Java module name (
ee.bitweb.core) added to JAR manifest - CI now tests on Java 17, 21, and 25
Breaking Changes
- Jackson 3 package rename: All internal Jackson usage moved from
com.fasterxml.jacksontotools.jackson. Applications directly referencing library Jackson types must update imports. InvalidFormatValidationExceptionnow extendsRuntimeExceptioninstead ofInvalidFormatExceptionMDCTaskDecoratorremoved — useBasicMDCTaskDecoratororSecurityAwareMDCTaskDecoratorTrimmedStringDeserializer.addToObjectMapper()removed — usecreateModule()insteadpersistenceExceptionlog-level property removed — useentityNotFoundExceptionandconflictExceptionseparately- AMQP:
Jackson2JsonMessageConverterreplaced byJacksonJsonMessageConverter(Jackson 3) - Actuator/Security import paths changed (Spring Boot 4 package reorganization)
- Test:
AutoConfigureMockMvcmoved toorg.springframework.boot.webmvc.test.autoconfigure - ObjectMapper config refactored: Now uses
JsonMapperBuilderCustomizerfor Jackson 3 and a nested customizer for Jackson 2
New
Jackson2TrimmedStringDeserializer— Jackson 2 string trimming for Retrofit compatibilityStringUtil.trim()utility method- Dual Jackson auto-configuration (Jackson 2 + Jackson 3 configured identically)
Removed
MDCTaskDecorator(deprecated since 3.3.0)persistenceExceptionlog-level property (deprecated since 3.1.0)- OWASP dependency-check Gradle plugin
- Spring version matrix CI workflow
Full migration guide: Wiki
v4.0.5
What's Changed
- Fix FieldNameResolver bug dealing with @RequestParam by @rammrain in #91
Full Changelog: v4.0.4...v4.0.5
v4.0.4
v4.0.3
v4.0.2
v4.0.1
4.0.0
What's Changed
- Bump the all-deps-minor-and-patch group with 13 updates by @dependabot in #29
- New Retrofit logging interceptor by @ennoeller in #23
Breaking changes:
- Logs are written to a single log entry now. Data from mappers is mostly added to MDC. The new log message looks as follows for every log level:
GET https://localhost:3000/api?data=true&test 404 1024bytes 14ms RetrofitApiBuilder.createadded a third argument,RetrofitLoggingInterceptor. Builder methodsloggingLevelandsuppressedHeadershave been removed.
New Contributors
- @ennoeller made their first contribution in #23
Full Changelog: v3.4.0...v4.0.0
v3.4.0
v3.3.0
3.2.0
Notable changes
- Added
SilencedGelfTcpAppenderto allow application to run when Graylog is unreachable
What's Changed
- Bump the all-deps-minor-and-patch group with 13 updates by @dependabot in #10
- Bump org.json:json from 20231013 to 20240205 by @dependabot in #11
- Bump the all-deps-minor-and-patch group with 15 updates by @dependabot in #12
- Bump org.json:json from 20240205 to 20240303 by @dependabot in #13
- Update README.md by @rammrain in #14
- Bump the all-deps-minor-and-patch group with 11 updates by @dependabot in #15
- Add SilencedGelfTcpAppender to silence GELF connection issues by @rammrain in #17
New Contributors
Full Changelog: v3.1.0...v3.2.0