Releases: talsma-ict/context-propagation
Release 1.1.1
Release 2.0.2
What's Changed
- Add ContextManager as OpenTelemetry ContextStorageWrapper. by @sjoerdtalsma in #606
This enables context propagation in both ways:- By
ContextSnapshot.capture() - By (otel)
Context.current()
- By
- Dependencies updated
Full Changelog: 2.0.1...2.0.2
Release 2.0.1
What's Changed
- Fix opentelemetry context manager auto-registration. by @sjoerdtalsma in #600
Full Changelog: 2.0.0...2.0.1
Release 2.0.0
New in version 2
Purpose of 'v2' of this library has been simplification of both the API
and the structure of the repository.
- Minimum Java version bumped to 8.
- Repository module restructuring.
- Separate API module containing only the minimum API.
- Separate core module for all utility classes.
- All provided manager implementations moved to
managerssubdirectory. - All context timer implementations moved to
timerssubdirectory.
- API simplification.
- Static
ContextSnapshot.capture()captures a new snapshot andContextSnapshot.reactivate()reactivates it. ContextManager.initializeNewContext(value)was renamed toactivate(value).ContextManager.getActiveContext()was replaced bygetActiveContextValue().ContextManager.clear()must be implemented, but is allowed to be a 'no-op' empty implementation. TheClearableinterface was removed.
- Static
- New
ContextManagerimplementations for:- OpenTelemetry context
- The gRPC framework context
- New
ContextTimerimplementation using:- OpenTelemetry histogram meter.
- All
@Deprecated(forRemoval=true)items from v1 were removed.
Full Changelog: 1.1.0...2.0.0
Release 2.0.0-RC3
What's Changed
- Refactor API ContextManager.initialize to activate.
- Register context timing with OpenTelemetry metric instead of span. by @sjoerdtalsma in #586
- Improve Slf4J MDC propagation. by @sjoerdtalsma in #589
- General code cleanup.
Full Changelog: 2.0.0-RC2...2.0.0-RC3
Release 2.0.0-RC2
Second v2 release candidate.
Main focus of the 'v2' version is simplification of this library.
In the past, many features were added to the library. Some introduced more complexity than technically needed.
For v2 we redesigned some api elements that allow simpler implementation, reducing complexity.
- Java version bumped to Java8 minimum
ContextManager.getActiveContext()replaced bygetActiveContextValue().ContextManager.clear()will require an implementation.Contextis no longer a generic interface.- All
@Deprecated(forRemoval=true)is to be removed. - Add caveat about use vs. Scoped values and Structured Concurrency.
Release 2.0.0-RC1
What's Changed
- Switch to Java 8 as minimum supported version.
- Split API from core modules.
- Structured repository in API/core, managers and timers.
- Included capturing a ContextSnaphshot in the API module, so the core module is technically not required (although probably useful in many cases).
Full Changelog: 1.1.0...2.0.0-RC1
Release 1.1.0
What's Changed
- Fix [applyTo|accept|runAfter]Either(Async)? completion stage uncertainty by @sjoerdtalsma in #509
- Add deprecations by @sjoerdtalsma in #510
- Fix javadoc generation by @sjoerdtalsma in #502
- Simplify GitHub actions by @sjoerdtalsma in #501
- Bump dependencies
Full Changelog: 1.0.11...1.1.0
Release 1.0.11
Release notes
This is a purely LCM release due to the very serious Log4Shell, CVE-2021-44228 leak.
Please make sure to use Log4J version 2.16.0 or higher if you use Log4J!
- Bump log4j-api from 2.14.1 to 2.16.0 (#283, #284)
- Bump spring-security-core from 5.5.2 to 5.6.0 (#274, #279)
- Bump logback-classic from 1.2.6 to 1.2.7 (#277)
- Bump micrometer-core from 1.7.4 to 1.8.1 (#273, #275, #276, #281)
- Bump metrics-core from 4.2.3 to 4.2.5 (577a444, #282)
- Bump umldoclet from 2.0.14 to 2.0.15 (#278)
- Bump junit-jupiter-engine from 5.8.1 to 5.8.2 (#280)
Release 1.0.10
Release notes
- Improve Log4j 2 propagation Javadoc and internal implementation (#252)
- Remove relocation modules that have been released to maven central (all). (#254)
- Repair bill-of-materials dependency-management inheritance. No longer declare slf4j version in dependencyManagement. (#269)
- Upgrade to GitHub-native Dependabot (#235)
- Dependencies:
- Bump spring-security-core from 5.1.5.RELEASE to 5.5.2 (#231, #232, #244, #248, #262)
- Bump metrics-core from 4.1.19 to 4.2.3 (#233, #237, #243, #246, #249, #255)
- Bump micrometer-core from 1.6.6 to 1.7.4 (#240, #241, #250, #253, #260, #267)
- Bump slf4j from 1.7.30 to 1.7.32 (#247, #257)
- Bump logback-classic from 1.2.3 to 1.2.6 (#256, #259, #265)
- Bump junit-jupiter-engine from 5.7.1 to 5.8.1 (#242, #266, #270)
- Bump umldoclet from 2.0.12 to 2.0.14 (#263)
- Bump maven version from 3.6.3 to 3.8.2 (5d02e6e)
- Bump jacoco-maven-plugin from 0.8.6 to 0.8.7 (#238)
- Bump versions-maven-plugin from 2.7 to 2.8.1 (09e68d9)
- Bump license-maven-plugin.version from 4.0 to 4.1 (#234)
- Bump maven-gpg-plugin from 1.6 to 3.0.1 (#239)
- Bump maven-scm-plugin from 1.11.2 to 1.12.0 (#261, #268)