Releases: alibaba/transmittable-thread-local
Release 2.9.0: add Transmitter#clear method ♻️🚥⚡️
Change Log
New Features
- add
Transmitter#clear
method ♻️ - skip thread pool wrapper/decoration when TTL agent is loaded 🚥
Improvements
- add
@nonnull
for methodsrunSupplierWith*
- internal implementation refactor/cleanup
- documentation improvement
- pom cleanup
- move some plugins to pluginManagement
- don't create sources jar by default when build, speedup dev ⚡️
- remove oracle jdk 10(EOL) in ci
- unify agent test by unit test(same test case as
mvn test
)
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.9.0/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.9.0</version>
</dependency>
Already deploy to maven central repository.
Release 2.8.1: A quick-fix release, exclude jsr305 dependency from the release jar 👽
Change Log
Quick fix
exclude jsr305 dependency from the release jar 👽
Java API Doc
http://alibaba.github.io/transmittable-thread-local/apidocs/2.8.1/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.8.1</version>
</dependency>
Already deploy to maven central repository.
Release 2.8.0: add unwrap method for TtlExecutors to get the original/underneath executor ⬆️🍩
Change Log
Caution
Version 2.8.0
🦎 is Deprecated! use version 2.8.1
+ instead.
New Features
- add unwrap method for
TtlExecutors
to get the original/underneath executor #112 ⬆️ - JSR 305 intergration #101
Improvements
- add ci for jdk 12 and update realated docs
- add equals and hashCode for TtlTimerTask
- upgrade kotlin.version to 1.2.71 🍩
- code cleanup
- clean test code
Java API Doc
http://alibaba.github.io/transmittable-thread-local/apidocs/2.8.1/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.8.1</version>
</dependency>
Use v2.8.1+
instead!
Already deploy to maven central repository.
Release 2.7.0: TTL agent support timer task 🌒🍩🍡
Change Log
New Features
TTL agent support timer task #2 🌒
NOTE: decoration for TimerTask
default is disable, enabled by agent argument ttl.agent.enable.timer.task
: -javaagent:path/to/transmittable-thread-local-2.x.x.ja=ttl.agent.enable.timer.task:true
.
more info about TTL
agent arguments, see the javadoc of TtlAgent.java
.
Improvements
- upgrade maven wrapper to 3.5.4
- add millisecond to agent log
- upgrade kotlin.version to 1.2.70 🍩
- avoid javassist method search indeterminacy ☕️
useCtClass.getDeclaredMethod(String, CtClass[])
instead ofCtClass.getDeclaredMethod(String)
- documentation improvement 🍡
- add doc for decorated thread pool
- update TTL sequence diagram
- update javadoc link to java 10
- use html 5 option for javadoc, support javadoc search
- fix broken links of maven.org
- code cleanup
- clean maven pom
Java API Doc
http://alibaba.github.io/transmittable-thread-local/apidocs/2.7.0/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.7.0</version>
</dependency>
Already deploy to maven central repository.
Release 2.6.1 - a cleanup/maintenance release 🔰 📚 🐾
Change Log
Improvements
- add javadoc/documentation for
TTL
Agent andboot classpath
setting 📚- TTL Agent class JavaDoc
- Readme user guide
- exclude internal implementation class from javadoc
- add javadoc badge in README
- fix agent log format 💅
timestamp INFO [thread name] class-name: message info
- move transformlet classes into internal package 🐾
- remove duplicated code #103 #104 ©
Java API Doc
http://alibaba.github.io/transmittable-thread-local/apidocs/2.6.1/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.6.1</version>
</dependency>
Already deploy to maven central repository.
Release 2.6.0: Java option -Xbootclasspath auto setting and using logger adaptor for TTL java agent 🚗 🍭
Change Log
Java option -Xbootclasspath
auto setting, and use logger adaptor for TTL
java agent.
New Features
- Java option
-Xbootclasspath
auto setting 🚗 #99
Simplify-Xboot-Class-Path
setting, no need set java option-Xbootclasspath
manually. - Use logger adaptor for
TTL
java agent 🍭 #97- use simple std out/error instead of
JUL
inTTL
java agent.
java agent start and process when app boot, it is difficult to use (java.util.logging)JUL correctly 😩; especially cooperate with app server(eg tomcat or jboss).
- use simple std out/error instead of
Especially thanks our new TTL
team member @xwshiustc ! ❤️ He provided the requirements/features and discussed the design/implementation solution warmly!
Improvements
- improve log for method signiture in TTL Agent.
- remove
-Xbootclasspath
setting in CI. - shade javassist to internal package.
- add git-commit-id-plugin, capture SCM info in release.
- add Maintainability badge.
- fix typo: scritps -> scripts.
- upgrade kotlin.version to 1.2.60.
- documentation improvement
- fix terminology, thread cache -> thread pooling
- add maven dependency infos of
TTL
integration
Java API Doc
http://alibaba.github.io/transmittable-thread-local/apidocs/2.6.0/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.6.0</version>
</dependency>
Already deploy to maven central repository.
Release 2.5.1 - a cleanup/maintenance release 🔰 👻 🍩
Change Log
Let's embrace Lambda
(Java 8
/kotlin
), Lambda
rocks! 🔥
New Features
- Support
Java
11/10/9/8/7/6. 🔥
Improvements
- fix ForkJoinTaskClassAgentCheck Integration Test! 👻
- add jdk 10/11 ci
- split
TtlTransformer
toJavassistTransformlet
🍭 - Improve docs and demo codes 📚
- unit test code cleanup 🎵
- switch test case from java to kotlin 🍩
Java API Doc
http://alibaba.github.io/transmittable-thread-local/apidocs/2.5.1/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.5.1</version>
</dependency>
Already deploy to maven central repository.
Release 2.5.0 😻 🤣 🍩
Change Log
Multi-version Java full support: Java 9/8/7/6, support low version Java(Java 6) and full functions for high version Java(Java 8). 😻
Middleware Engineering 🔥, like multi-version Java full support(support low version Java and full functions of high version Java), is boring but essential for middleware
Let's embrace Lambda
(Java 8
/kotlin
), Lambda
rocks! 🔥
New Features
- Multi-version Java full support: Java 9/8/7/6, support low version Java(Java 6) and full functions for high version Java(Java 8). 😻
Improvements
- add private constructor for
TransmittableThreadLocal.Transmitter
TtlTransformer
: rename originaldoExec
method ofForkJoinPool
, and set to private method(avoid reflect out renamed method unexpectedly) ☂️- upgrade codecov config
- Improve docs 📚
- How to add TtlAgent to user own java Agent
- Add Contributors
- switch test case from java to kotlin 🍩
Java API Doc
http://alibaba.github.io/transmittable-thread-local/apidocs/2.5.0/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.5.0</version>
</dependency>
Already deploy to maven central repository.
Release 2.2.2 💼🦎
Change Log
Caution
Version 2.2.0
/2.2.1
/2.3.x
/2.4.x
🦎 is Deprecated!
Use version 2.5.0
+ instead, , since version 2.5+
full support java 6/7/8+.
Version 2.2.x
is for Java 6
, version 2.3.x
/2.4.x
upgraded to Java 8+
.
Backport features from 2.3.x
- Support
TransmittableThreadLocal.Transmitter
📎 transmit allTransmittableThreadLocal
values of current thread to other thread by static methodcapture()
=>replay(Object)
=>restore(Object)
(CRR
operation). 🚀
TransmittableThreadLocal.Transmitter
is internal manipulation API for framework/middleware integration; In general, you will never use it in the biz/application code!
Java API Doc
http://alibaba.github.io/transmittable-thread-local/apidocs/2.2.2/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.2.2</version>
</dependency>
Already deploy to maven central repository.
Release 2.4.0 🍽 ❤️
Caution
Version 2.2.0
/2.2.1
/2.3.x
/2.4.x
🦎 is Deprecated!
Use version 2.5.0
+ instead, , since version 2.5+
full support java 6/7/8+.
Change Log
From version 2.3+
support Java 8+
. 🔥
Bug fix for Java 6
is on branch dev-v2.2.x-jdk6-support
.
Let's embrace Java 8
, Lambda
rocks! 🔥
New Features
- Support
ForkJoinPool
#76 🍽
Java API Doc
http://alibaba.github.io/transmittable-thread-local/apidocs/2.4.0/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.4.0</version>
</dependency>
Already deploy to maven central repository.