Skip to content

v2.13.1: add `@contract`, fine control of null check, more user/IDE friendly

Compare
Choose a tag to compare
@oldratlee oldratlee released this 29 Jun 17:02
· 289 commits to master since this release

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>