Releases: alibaba/transmittable-thread-local
Release 2.11.3 📍📚🎉
Change Log
Caution
Version 2.11.3
🦎 is Deprecated! use version 2.11.5
+ instead.
Features
- add disableIgnoreNullValueSemantics option for TransmittableThreadLocal #157 📍
Improvements
- add default "ttl.agent.enable.timer.task" agent test case in continuous intergration
- cast type to interface instead of implementation
- upgrade dependencies
- remove args of main method for kotlin
- add missing Nullable annotation for method TtlCallable.get
- add the executable demo for different usage
- improve docs/javadoc: 📚
- improve comment of field holder 🎉
- fix typo in javadoc
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.11.3/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.11.3</version>
</dependency>
Release 2.11.2 👉📚🎉
Change Log
Caution
Version 2.11.2
🦎 is Deprecated! use version 2.11.5
+ instead.
Improvements
- default turn on TimeTask transform of Java Agent #159 👉
more info see the javadoc of TtlAgent - improve docs/javadoc: 📚
- add transparent support description for CompletableFuture and Stream 🎉
- Since version
2.11.2
decoration forTimerTask
default is enable
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.11.2/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.11.2</version>
</dependency>
Release 2.11.1 🚧🔱📚
Change Log
Caution
Version 2.11.1
🦎 is Deprecated! use version 2.11.5
+ instead.
Improvements
- return null if no transform is performed #158 🚧
- add more
@NonNull
/@Nullable
🔱 - upgrade dependencies ☝️
- add
@FunctionalInterface
for interface TtlCopier - improve docs/javadoc: 📚
- add requirement scenario
- compress png files
- add demo ScheduledFutureTaskDemo #148
- add jdk 13 in travis-ci
- upgrade maven wrapper to 3.6.3
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.11.1/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.11.1</version>
</dependency>
Release 2.11.0 🐙🎩🚢📚🚗
This is a long-waiting version.
We hope it's worth the wait and have fun! ❤️
Change Log
Caution
Version 2.11.0
🦎 is Deprecated! use version 2.11.5
+ instead.
New Feature
- support ThreadLocal integration #130 🐙
- Caution:
If the registeredThreadLocal
instance is notInheritableThreadLocal
, the instance can NOT inherit value from parent thread(aka. the inheritable ability)! - More info see the javadoc of
Transmitter
- Caution:
- support unwrap ttl runnable for before/afterExecute methods of executor subclass when decorate by ttl agent #141 🚗
- use WeakHashMap instead of HashMap for capture/backup snapshot 🚢
- TTL do NOT have the ownership of thread local/snapshot!
- more gc friendly, avoid potential memory leak!
Improvements
- use WeakHashMap type for internal implementation, express the weak reference semantics explicitly
- use
edu.umd.cs.findbugs.annotations
instead of dormantjsr305
- add more
@NonNull
/@Nullable
🔱 - use keySet instead of entrySet, simplify the code
- use type parameter Object instead ? for holder, improve readability
- protect for NPE for
AutoUnwrapper
- improve pom dependencies, more IDE friendly 🍤
- add
spotbugs
lint 🎩 - add .editorconfig
- upgrade dependencies ☝️
- improve javadoc: 📚
- shade Sources Content
- fix Search redirects to "/undefined/.." url
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.11.0/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.11.0</version>
</dependency>
Release 2.11.0-RC3: support ThreadLocal integration 🐙🍤🚢
Change Log
Caution
Version 2.11.0-RC3
🦎 is Deprecated! use version 2.11.5
+ instead.
New Feature
- support ThreadLocal integration #130 🐙
- use WeakHashMap instead of HashMap for capture/backup snapshot 🚢
- TTL do NOT have the ownership of thread local/snapshot!
- more gc friendly, avoid potential memory leak!
Improvements
- improve pom dependencies, more IDE friendly 🍤
- use WeakHashMap type for implementation, express the weak semantics implicitly
- use keySet instead of entrySet, simplify the code
- use type parameter
Object
instead?
forholder
, improve readability - add .editorconfig
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.11.0-RC3/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.11.0-RC3</version>
</dependency>
Release 2.11.0-RC2: A cleanup/improvement release 🔱🎩
Change Log
Small Fix
- protect for NPE for
AutoUnwrapper
- add missing extends for TtlEnhanced, ensure compatibility
Improvements
- add more
@NonNull
/@Nullable
🔱 - use
edu.umd.cs.findbugs.annotations
instead of dormantjsr305
- add
spotbugs
lint 🎩 - improve javadoc 📚
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.11.0-RC2/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.11.0-RC2</version>
</dependency>
Release 2.11.0-RC1: support unwrap ttl runnable for before/afterExecute methods of executor subclass when decorate by ttl agent 🚗
Change Log
New Features
- support unwrap ttl runnable for before/afterExecute methods of executor subclass when decorate by ttl agent #141 🚗
Improvements
- upgrade dependencies ☝️
- javadoc: 📚
- shade Sources Content
- fix Search redirects to "/undefined/.." url
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.11.0-RC1/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.11.0-RC1</version>
</dependency>
Release 2.10.2: add unwrap util methods for TtlRunnable/TtlCallable 🐾🎏
Change Log
New Features
- add
unwrap
util method forTtlRunnable
/TtlCallable
/TtlTimerTask
🐾
Improvements
- add ParallelStreamDemo / add ForkJoinPool4StreamTest #77 🎏
- add kotlin coroutine(and coroutine context) demo 👷
- improve javadoc
- add oracle jdk 11 in ci
- improve scripts
- unit test cleanup/improve
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.10.2/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.10.2</version>
</dependency>
Release 2.10.1: full support disable ttl inheritable 💎📚
Change Log
New Features
- full support disable ttl inheritable #100 💎
- support
ForkJoinPool
- agent support for disable ttl inheritable for thread created by thread pool(
ThreadPoolExecutor
/ScheduledThreadPoolExecutor
/ForkJoinPool
) - more info see javadoc of TransmittableThreadLocal, TtlAgent
- support
Especially thanks our new TTL
team member @zavakid ! ❤️ He discussed the features/design/solution/implementation warmly!
Improvements
- documentation and unit test improvement/cleanup 📚
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.10.1/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.10.1</version>
</dependency>
Already deploy to maven central repository.
Contributors
Thank you to all the contributors who made this release possible 🎉
According to git shortlog -sn --no-merges v2.10.0..v2.10.1
these are:
8 Jerry Lee
Release 2.10.0: support disable ttl inheritable for thread created by ThreadFactory 💎🍩
Change Log
New Features
- support disable ttl inheritable for
ThreadPoolExecutor
by ThreadFactory #100 💎
Especially thanks our new TTL
team member @zavakid ! ❤️ He discussed the features/design/solution/implementation warmly!
Improvements
- add
TtlEnhanced
tag interface - add disable inheritable usage and unit test for TransmittableThreadLocal
- upgrade kotlin.version to 1.3.0 ❤️🍩
Java API Doc
https://alibaba.github.io/transmittable-thread-local/apidocs/2.10.0/index.html
Maven dependency
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>2.10.0</version>
</dependency>
Already deploy to maven central repository.
Contributors
Thank you to all the contributors who made this release possible 🎉
According to git shortlog -sn --no-merges v2.9.0..v2.10.0
these are:
7 Jerry Lee
1 Yang Fang
1 Zava