Releases: qqxx6661/log-record
v1.7.1
新版本变化:
特性:SpEL自定义函数内默认注入Spring上下文,使SpEL支持注册为Spring Bean的函数
What's new
Feature: SpEL custom functions now automatically inject the Spring context by default, enabling SpEL to support functions registered as Spring Beans. This enhancement provides seamless integration with Spring's dependency injection system and simplifies the use of Spring-managed components within SpEL expressions.
v1.7.0
v1.6.3
v1.6.2
v1.6.1
v1.6.0
新版本变化(重大更新)
重构:拆分代码结构为父子模块,分离core核心逻辑与starter,log-record-starter支持SpringBoot1&SpringBoot2(JDK8+),log-record-springboot3-starter支持SpringBoot3(JDK17+),两个starter统一版本号(即log-record-springboot3-starter第一个正式版本就是1.6.0)
重构:删除使用反射的非静态方法自定义函数支持(JDK反射限制)
What's Changed(Big update)
Refactor: Split code structure into parent-child modules, separating core logic from starter and log-record-starter. The log-record-starter now supports both Spring Boot 1 & Spring Boot 2 (JDK 8+), while log-record-springboot3-starter is compatible with Spring Boot 3 (JDK 17+). Both starters share a unified version number, with the initial release of log-record-springboot3-starter set at 1.6.0.
Refactor: Removed support for non-static method custom functions using reflection (due to JDK reflection limitations).
v1.5.1
新版本变化
重构: 删除@LogRecordDiffIgnoreField注解,其功能由@LogRecordDiffField属性ignored代替
重构: 增加全局配置diffIgnoreNewObjectNullValue/diffIgnoreOldObjectNullValue用于忽略DIFF新旧实体类中的所有null字段
What's Changed
refactor: delete @LogRecordDiffIgnoreField, use LogRecordDiffField properties instead.
refactor: add properties diffIgnoreNewObjectNullValue/diffIgnoreOldObjectNullValue
v1.5.0
新版本变化
- 特性: 使用transmittable-thread-local在线程池中传递上下文,使得LogRecordContext在切面全流程中可用。
- 重构: 重构单元测试,更加细分的覆盖代码
- 重构: 重构切面逻辑,更易读
- 修复: 修复DIFF中对于无法强转JSONObject的类的支持
What's Changed
- feat: use transmittable-thread-local, LogRecordContext can be used in anywhere now
- refactor: refactor unit test and SystemLogAspect
- refactor: refactor SystemLogAspect
- fix: fix DIFF function, support class which can not be casted to JSONObject