Skip to content

Releases: talsma-ict/context-propagation

Release 1.1.1

02 Aug 12:03

Choose a tag to compare

Release 2.0.2

24 Jul 11:57

Choose a tag to compare

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()
  • Dependencies updated

Full Changelog: 2.0.1...2.0.2

Release 2.0.1

10 Jul 11:04

Choose a tag to compare

What's Changed

Full Changelog: 2.0.0...2.0.1

Release 2.0.0

10 Jul 06:57

Choose a tag to compare

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 managers subdirectory.
    • All context timer implementations moved to timers subdirectory.
  • API simplification.
    • Static ContextSnapshot.capture() captures a new snapshot and ContextSnapshot.reactivate() reactivates it.
    • ContextManager.initializeNewContext(value) was renamed to activate(value).
    • ContextManager.getActiveContext() was replaced by getActiveContextValue().
    • ContextManager.clear() must be implemented, but is allowed to be a 'no-op' empty implementation. The Clearable interface was removed.
  • New ContextManager implementations for:
    • OpenTelemetry context
    • The gRPC framework context
  • New ContextTimer implementation 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

06 Jul 12:18

Choose a tag to compare

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

25 Apr 19:02

Choose a tag to compare

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 by getActiveContextValue().
  • ContextManager.clear() will require an implementation.
  • Context is 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

02 Dec 15:48

Choose a tag to compare

Release 2.0.0-RC1 Pre-release
Pre-release

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

01 Nov 17:17

Choose a tag to compare

What's Changed

Full Changelog: 1.0.11...1.1.0

Release 1.0.11

14 Dec 10:56

Choose a tag to compare

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

24 Sep 10:27

Choose a tag to compare

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)