1.0.0
This is the first stable release of the Context Propagation API.
⭐ New Features / Enhancements
- Make ContextExecutorService and ContextScheduledExecutorService public #57
- Add static methods for all keys to threadlocals #54
- Added option to provide manually ContextRegistry and override the default #53
- Throws IllegalArgumentException when no keys are passed to ContextSnapshot #52
- More strict type handling by ContextRegistry for ContextAccessor #35
- Adds support for Scheduled Executor Service wrapping #34
- Add method to capture from a single context object #31
- Add shortcuts to propagate from Reactor context to ThreadLocal values #29
- Register ThreadLocalAccessor from a ThreadLocal #26
- Rename methods in ContextSnapshot #22
- Allow registration of ThreadLocalAccessor from callbacks #21
- Support and declare nullability #15
- Refactor API and Implementation #13
- Shorten
contextpropagation
package name to justcontext
#12 - Polishing #11
- Refactoring in ContextContainer and implementation #10
- Instrument runnables, callables and executors #8
- More fine grained thread local accessor handling #7
- First pass on filtering of accessors #5
🐞 Bug Fixes
- Defer capture when wrapping ExecutorService and ScheduledExecutorService #56
- ContextRegistry.registerThreadLocalAccessor() does not actually register the accessor #25
- README still references old artifactId #19
📔 Documentation
- Update README.md #32
🔨 Dependency Upgrades
- Upgrade Mockito to 4.8.1 #58
- Bump com.gradle.enterprise from 3.11.1 to 3.11.2 #51
- Upgrade JUnit to 5.9.+ #49
- Upgrade io.spring.ge.conventions plugin to 0.0.11 #46
- Upgrade Gradle Enterprise plugin to 3.11.1 #45
- Upgrade test-retry-gradle-plugin to 1.4.1 #40
- Upgrade nebula-release-plugin to 16.1.0 #39
- Pin gradle-info-plugin to 11.4.1 #38
📝 Tasks
- Generate dependency lock files for 1.0.0-RC1 #50
- Sync license header file and existing license headers #48
- Add dependabot config to upgrade the Gradle Enterprise plugin #47
- Add Gradle Wrapper validation #43
- Upgrade Gradle to 7.5.1 #42
- Add spring-javaformat-gradle-plugin #41
- Generate buildscript-gradle.lockfile #37
- deleteLockFiles should not delete buildscript-gradle.lockfile #36
❤️ Contributors
Thank you to all the contributors who worked on this release:
@simonbasle, @chemicL, and @rstoyanchev