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