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 versionvalidation ✅ - upgrade dependencies/plugins 🛠️
- upgrade default build JDK to java 17 from java 11 ☕️
- upgrade maven wrapper to
3.9.6🪶 - auto-detect
JAVA_HOMEof 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.yamlinstead ofappveyor.yml - upgrade CI java version (#556 by @wuwen5)
- upgrade CI jdk
21-eato21 - 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
appveyorfiles
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
ClassCircularityErrorofConcurrentHashMapunderJDK 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-eainto and remove18from GitHub CI - remove
versions-maven-plugin,dependabot.ymlGithub 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 sizeto initializehash mapinstead ofcapacity
fix improper implementation ofv2.14.0
CI/Build
- chore(ci): add
jdk19 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
javassistto3.29.2-GAfrom3.29.0-GA - refactor: flip
==/!=fornullcheck
Documentations
- improve wording and format of doc and
javadoc - update wrong
codecovbadge 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#registerTransmitteeandTransmitter#unregisterTransmittee
Improvements
- set
initialCapacityofHashMapexplicitly for performance
CI/Build
- upgrade dependencies/plugins
- pom cleanup
- move versions plugin declaration to
managementsection - move
nexus-staging-maven-plugintodeploy-settingsprofile - remove
org.jetbrains:annotationsdependency when run test under agent
- move versions plugin declaration to
- add job timeout config of github CI
- upgrade
maven wrapperto 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)forwrappermethods, more user/IDEfriendly:- trigger
IDEwarning if discardwrapperresult - for #349 by @HuangDayu
- trigger
Cleanup/Refactor
- refactor:
- add missing
finalmodifier of class - reorder annotations
- add missing
- docs: improve javadoc of
registerThreadLocal*methods, add note for gettingThreadLocalinstances 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
@contractfor wrapper methods
fine control ofnullcheck, more user/IDEfriendly 🥰
Cleanup
- docs: improve wording
- test: introduce
kotestlibrary for testing 🍩 - cleanup deprecation warning in test code
CI/Build improvement
- enable
githubworkflow CI - add java 18/19 in ci
- remove
windowsci onappveyor, usegithubworkflow instead - use
maven commandinstead 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 Agentdo NOT setTtlAttachments.KEY_IS_AUTO_WRAPPERif inputRunnablehas 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>


