Skip to content

Releases: alibaba/transmittable-thread-local

v2.14.5

25 Dec 05:58
Compare
Choose a tag to compare

Java support

Upgrading is recommended for all users.

Note

From TTL v2.13+ upgrade to Java 8. 🚀
If you need Java 6 support, use version 2.12.x Maven Central

Change Log

💪 Enhancement

🛠️ 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

02 Dec 17:13
Compare
Choose a tag to compare

Java support

Upgrading is recommended for all users.

Note

From TTL v2.13+ upgrade to Java 8. 🚀
If you need Java 6 support, use version 2.12.x Maven Central

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 of appveyor.yml
  • upgrade CI java version (#556 by @wuwen5)
    • upgrade CI jdk 21-ea to 21
    • remove CI jdk 20
  • 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

05 Jul 17:35
Compare
Choose a tag to compare

Java support

Upgrading is recommended for all users.

Note

from 2.13.x upgrade to Java 8 🚀
If you need Java 6 support, use version 2.12.x Maven Central

Change Log

🍬 Improvements

  • work-around ClassCircularityError of ConcurrentHashMap under JDK 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 remove 18 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

20 Oct 18:40
Compare
Choose a tag to compare

Java support

Upgrading is recommended for all users.

Note

from 2.13.x upgrade to Java 8 🚀
If you need Java 6 support, use version 2.12.x Maven Central

Change Log

Refactor/Improvements

  • use expected size to initialize hash map instead of capacity
    fix improper implementation of v2.14.0

CI/Build

  • chore(ci): add jdk 19 into appveyor 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

16 Oct 17:35
Compare
Choose a tag to compare

Java support

Note

from 2.13.x upgrade to Java 8 🚀
If you need Java 6 support, use version 2.12.x Maven Central

Change Log

Improvements

  • upgrade javassist to 3.29.2-GA from 3.29.0-GA
  • refactor: flip ==/!= for null check

Documentations

  • improve wording and format of doc and javadoc
  • update wrong codecov badge on branch 2.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`

15 Aug 10:16
Compare
Choose a tag to compare

Java support

Upgrading is recommended for all users.

Note

from 2.13.x upgrade to Java 8 🚀
If you need Java 6 support, use version 2.12.x Maven Central

Change Log

Features

Improvements

  • set initialCapacity of HashMap explicitly for performance

CI/Build

  • upgrade dependencies/plugins
  • pom cleanup
    • move versions plugin declaration to management section
    • move nexus-staging-maven-plugin to deploy-settings profile
    • remove org.jetbrains:annotations dependency when run test under agent
  • 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

04 Jul 03:12
Compare
Choose a tag to compare

Java support

Upgrading is recommended for all users.

Note

from 2.13.x upgrade to Java 8 🚀
If you need Java 6 support, use version 2.12.x Maven Central

Change Log

Improvement

  • add @Contract(pure) for wrapper methods, more user/IDE friendly:
    • trigger IDE warning if discard wrapper result
    • for #349 by @HuangDayu

Before: 😖
image
Now: 😋
image

Cleanup/Refactor

  • refactor:
    • add missing final modifier of class
    • reorder annotations
  • docs: improve javadoc of registerThreadLocal* methods, add note for getting ThreadLocal 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

29 Jun 17:02
Compare
Choose a tag to compare

Java support

Note

from 2.13.x upgrade to Java 8 🚀
If you need Java 6 support, use version 2.12.x Maven Central

Change Log

Improvement

  • add @contract for wrapper methods
    fine control of null check, more user/IDE friendly 🥰

Before: 😖
image
Now: 😋
image

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 on appveyor, use github workflow instead
  • use maven command instead of hand-writing command scripts run-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

16 Jun 20:06
Compare
Choose a tag to compare

Java support

Note

from 2.13.x upgrade to Java 8 🚀
If you need Java 6 support, use version 2.12.x Maven Central

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

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

19 Mar 14:17
Compare
Choose a tag to compare

Java support

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, Java support 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 set TtlAttachments.KEY_IS_AUTO_WRAPPER if input Runnable has not been auto wrapped

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>