You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: upgrade slf4j to 2.0.17 for Spring Boot 3.5.0 compatibility
- Upgrade slf4j-api from 1.7.36 to 2.0.17
- Upgrade logback from 1.2.13 to 1.4.14 for SLF4J 2.0 support
- Replace log4j-slf4j-impl with log4j-slf4j2-impl (2.24.3)
- Implement SLF4J 2.0 new MDCAdapter interface methods:
- pushByKey: push context value to MDC stack
- popByKey: pop context value from MDC stack
- clearDequeByKey: clear all entries in MDC deque
- getCopyOfDequeByKey: get copy of MDC deque
- Use reflection to initialize MDC adapter for SLF4J 2.0 compatibility
Breaking Changes:
- SLF4J 2.0 introduces new MDC API and deprecates some old methods
- Log4j bridge artifact name changed from log4j-slf4j-impl to log4j-slf4j2-impl
Compatibility:
- Fully compatible with Spring Boot 3.5.0
- Fully compatible with JDK 17
- Aligned with Jakarta EE 10
0 commit comments