We are pleased to announce the release of new versions of the SPT Development Spring Boot starter projects, for integrating the SPT Development libraries related to correlation IDs, logging and auditing, into Spring Boot applications. These new releases along with new releases of some of the projects they relate to, have been updated to align with the recently released Spring Boot 3.2.5. As always, the source is available on GitHub and the artifacts are also available in Maven Central for easy inclusion in your own Java projects.
The following projects have all been updated to v3.2.5:
- spt-development-audit-spring-boot
- spt-development-cid-jms-spring-boot
- spt-development-cid-web-spring-boot
- spt-development-logging-spring-boot
Additionally, the following libraries have also been updated to align with version 3.2.5 of Spring Boot and/or to the latest versions of other dependencies:
- spt-development-audit-spring - v3.0.17
- spt-development-cid-jms-spring- v3.0.17
- spt-development-cid-web-spring- v2.0.16
- spt-development-logging-spring - v3.1.0
- spt-development-test - v3.1.6
We have also upgraded the demo project and the Micrometer demo project to Spring Boot 3.2.5 and v3.2.5 of all the libraries above.
spt-development-logging-spring - DAO Support
Release 3.1.0 of spt-development-logging-spring
introduces support for logging public methods of classes that extend org.springframework.dao.support.DaoSupport
.
The new aspect can be registered as a spring bean as shown below:
Alternatively, add the spt-development/spt-development-logging-spring-boot
starter to your project’s pom and enable by setting the spt.logging.dao-support.enabled
property to true
- this new functionality is disabled by
default as it results in warnings being logged by CglibAopProxy
when Spring Boot apps start. This can be hidden by configuring logging to log at
ERROR
rather than INFO
as demonstrated in the
demo project.
We hope this helps the community, and if there are any questions or comments, please don’t hesitate to get in touch.