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.