Releases: alibaba/transmittable-thread-local
v2.14.5
Upgrading is recommended for all users.
Change Log
💪 Enhancement
- Fix class transform exception on Java 21 by upgrading javassist to
3.30.2-GA
(issue #555 submitted by @brucelwl)
🛠️ Refactor
- [
TtlExecutorTransformlet.java
]: remove redundant qualified package name; extract local var - [
ClassInfo.java
] simplify classpath setting of javassist classpool
📚 Documentation
- update document/javadoc link to java 21 📚
- update maven central links of dependencies version 📦 (issue #583 submitted by @youngledo)
🚜 Build/CI
- add bytecode version verification plugin ✅ (by @wuwen5 in #590)
- add
pom version
validation ✅ - upgrade dependencies/plugins 🛠️
- upgrade default build JDK to java 17 from java 11 ☕️
- upgrade maven wrapper to
3.9.6
🪶 - auto-detect
JAVA_HOME
of java versions when run CI in GitHub Actions ☕️
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.14.5/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.14.5</version>
</dependency>
v2.14.4
Upgrading is recommended for all users.
Change Log
🐞 Bug Fix
- fix bug "fail to remove from Queue of
ScheduledThreadPoolExecutor
" when use TTL agent(issue #547 submitted by @robin-g-20230331)
📚 Documentation
- improve README
- add cases into "who used" section
🚜 CI/Build
- use GitHub actions 🐙
strong_ci.yaml
instead ofappveyor.yml
- upgrade CI java version (#556 by @wuwen5)
- upgrade CI jdk
21-ea
to21
- remove CI jdk 20
- upgrade CI jdk
- upgrade dependencies/plugins 🛠️
- upgrade maven wrapper to
3.9.5
🪶 - upgrade
bash-buddy
- update github actions
- actions/setup-java
- actions/checkout
- remove stale
appveyor
files
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.14.4/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.14.4</version>
</dependency>
v2.14.3
Upgrading is recommended for all users.
Change Log
🍬 Improvements
- work-around
ClassCircularityError
ofConcurrentHashMap
underJDK 17
(#399 by @dongshuke @primitiveheart)
📚 Documentation
- improve README
- add cases into "who used" section
- fix github action badges
🚜 CI/Build
- upgrade dependencies/plugins 🛠️
- add
JDK 20/21-ea
into and remove18
from GitHub CI - remove
versions-maven-plugin
,dependabot.yml
Github workflow is enough 🤖
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.14.3/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.14.3</version>
</dependency>
v2.14.2: use expected size to initialize hash map instead of capacity
Upgrading is recommended for all users.
Change Log
Refactor/Improvements
- use
expected size
to initializehash map
instead ofcapacity
fix improper implementation ofv2.14.0
CI/Build
- chore(ci): add
jdk
19 intoappveyor ci
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.14.2/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.14.2</version>
</dependency>
v2.14.1: a cleanup release
Change Log
Improvements
- upgrade
javassist
to3.29.2-GA
from3.29.0-GA
- refactor: flip
==/!=
fornull
check
Documentations
- improve wording and format of doc and
javadoc
- update wrong
codecov
badge on branch2.x
CI/Build
- improve CI stability
- update ci jdks
- upgrade dependencies/maven plugins
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.14.1/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.14.1</version>
</dependency>
v2.14.0: support `Transmittee Register`, the extension point for other `ThreadLocal`
Upgrading is recommended for all users.
Change Log
Features
- support
Transmittee Register
, the extension point for otherThreadLocal
add methodsTransmitter#registerTransmittee
andTransmitter#unregisterTransmittee
Improvements
- set
initialCapacity
ofHashMap
explicitly for performance
CI/Build
- upgrade dependencies/plugins
- pom cleanup
- move versions plugin declaration to
management
section - move
nexus-staging-maven-plugin
todeploy-settings
profile - remove
org.jetbrains:annotations
dependency when run test under agent
- move versions plugin declaration to
- add job timeout config of github CI
- upgrade
maven wrapper
to 3.8.6
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.14.0/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.14.0</version>
</dependency>
v2.13.2: add `@Contract(pure)` for `wrapper` methods, more user/IDE friendly
Upgrading is recommended for all users.
Change Log
Improvement
- add
@Contract(pure)
forwrapper
methods, more user/IDE
friendly:- trigger
IDE
warning if discardwrapper
result - for #349 by @HuangDayu
- trigger
Cleanup/Refactor
- refactor:
- add missing
final
modifier of class - reorder annotations
- add missing
- docs: improve javadoc of
registerThreadLocal*
methods, add note for gettingThreadLocal
instances by reflection
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.13.2/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.13.2</version>
</dependency>
v2.13.1: add `@contract`, fine control of null check, more user/IDE friendly
Change Log
Improvement
- add
@contract
for wrapper methods
fine control ofnull
check, more user/IDE
friendly 🥰
Cleanup
- docs: improve wording
- test: introduce
kotest
library for testing 🍩 - cleanup deprecation warning in test code
CI/Build improvement
- enable
github
workflow CI - add java 18/19 in ci
- remove
windows
ci onappveyor
, usegithub
workflow instead - use
maven command
instead of hand-writing command scriptsrun-junit.sh
/run-agent-test.sh
since upgrade to java 8
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.13.1/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.13.1</version>
</dependency>
v2.13.0: upgrade to java 8 and dependencies
This version contains no new features or bug fix but upgradation of java 8 and dependencies/plugins.
Change Log
- upgrade source to java 8
- upgrade dependencies/plugins
- resolved the problem caused by low version
javassist
(#388 by @howardliu-cn)
- resolved the problem caused by low version
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.13.0/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.13.0</version>
</dependency>
v2.12.6: fix TTL Agent do NOT set `TtlAttachments.KEY_IS_AUTO_WRAPPER` if input Runnable has not been auto wrapped
Important
2.12.x is the last minor version supported Java6
, and is end-of-life.
The 2.12.x version is end-of-life. No further development, support, maintenance, PRs and updates will happen.
It's time to say goodbye, my friend
It's been a long day without you my friend
And I'll tell you all about it when I see you again
We've come a long way from where we began
Oh I'll tell you all about it when I see you again
Change Log
🐞 Bug Fix
TTL Agent
do NOT setTtlAttachments.KEY_IS_AUTO_WRAPPER
if inputRunnable
has not been auto wrapped- for #133 (comment) commented by @DreamLettuce ❤️
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.12.6/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.12.6</version>
</dependency>