Releases: talsma-ict/context-propagation
Release 2.0.3
What's Changed
- Feature: ContextSnapshot.getCapturedValue for ContextManager. by @sjoerdtalsma in #653
- Feature: Context managers must explicitly support activate(null) if they return null activeContextValue. by @sjoerdtalsma in #652
- Bugfix: Auto-register opentelemetry ContextTimer if it is present. by @sjoerdtalsma in #655
- Opentracing support dropped after v2.0.2. by @sjoerdtalsma in #654
- Improve documentation. by @sjoerdtalsma in #614
- Bump dependencies
Full Changelog: 2.0.2...2.0.3
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)