Repository navigation
Releases: swift-microservices/swift-operation-context
Releases · swift-microservices/swift-operation-context
Release list
0.1.0
Initial release of Swift Operation Context: a zero-dependency package for typed, task-scoped value propagation.
OperationContextprovides value semantics and type-safe storage throughOperationContextKey.OperationContext.currentdefaults to an empty context and propagates through Swift task-local values.- Synchronous and asynchronous
withContext(_:operation:)scopes restore the previous binding on return or throw; the async overload preserves caller actor isolation. - Includes a focused Swift Testing suite, DocC documentation, and the shared swift-microservices CI workflows.
Requires Swift 6.3 or later. Supported platforms: Linux and macOS 15 or later.