Skip to content

Releases: qqxx6661/log-record

v1.7.0

01 Jun 14:47
57ba684
Compare
Choose a tag to compare

新版本变化:

  • 特性:支持工具类(非注解)方式记录日志,详细使用请看README。
  • 测试:测试类梳理重构

What's Changed

  • Feature: Added support for logging using utility classes (non-annotation). For detailed usage, please refer to the README.
  • Testing: Refactored and organized test classes.

v1.6.3

26 May 08:27
a38bae4
Compare
Choose a tag to compare

新版本变化

  • 特性:支持用户传入自定义线程池处理logDTO #104
  • 修复:切面处理NPE修复 #103
  • 修复:安全包装fastjson默认序列化

What's Changed

  • Feature: Support for users to pass in custom thread pools to handle logDTO. #104
  • Fix: Resolved NPE in aspect handling. #103
  • Fix: Secure wrapping of default serialization in fastjson.

v1.6.2

06 Apr 12:45
7ebe8f9
Compare
Choose a tag to compare

新版本变化

特性:DIFF支持父类字段 #99


What's Changed

Feature: DIFF function supports parameters from parent class #99

v1.6.1

13 Jan 16:34
Compare
Choose a tag to compare

由于1.6.0版本模块依赖不合理,已经废弃,请使用1.6.1,代码与1.6.0相同

Due to unreasonable module dependencies in version 1.6.0, it has been deprecated.
Please use version 1.6.1 and the code remains the same as in 1.6.0.

v1.6.0

10 Jan 14:58
Compare
Choose a tag to compare

新版本变化(重大更新)

重构:拆分代码结构为父子模块,分离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

25 Jul 11:46
62a358a
Compare
Choose a tag to compare

新版本变化

重构: 删除@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

26 May 11:32
Compare
Choose a tag to compare

新版本变化

  • 特性: 使用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

v1.4.2

26 Feb 10:38
Compare
Choose a tag to compare

fix: fix javassist classPool NPE for complex classloaders environment

v1.4.1

17 Jan 13:58
Compare
Choose a tag to compare
  • fix: fix some SpEL Expression NPE problems
  • docs: add recommended mysql table structure
  • test: add test with SpEL null value

v1.4.0

25 Nov 14:28
Compare
Choose a tag to compare
  • SpEL自定义函数支持非静态方法:你现在可以在SpEL内调用你的的Service方法了,SpEL的自定义函数默认只支持静态方法,我们在框架内部将非静态方法包装为静态方法再传给SpEL,使其支持非静态方法。感谢dechao的实现[#25]
  • 日志处理线程池支持前置处理:支持在日志处理的线程池提交logDTO前传递信息,比如将traceId写入线程,或对logDTO进行修改。目前通过开放接口实现用户自定义前置处理。