Releases: nvzqz/Threadly
Releases · nvzqz/Threadly
v2.0.1
Fixes
- Made
withThreadLocal(_:)
part of the ThreadLocalRetrievable definition
- If this method is reimplemented elsewhere, it's not ambiguous to the compiler which version to use
- Has a default implementation, making this a non-breaking change
v2.0.0
New Features
- Added conversions between
ThreadLocal
and DeferredThreadLocal
Changes
- The static
threadLcoal
value for ThreadLocalRetrievable
returns a Box
instead of a ThreadLocal
- Changed internals of
ThreadLocal
and DeferredThreadLocal
, making them struct
types instead of class
types
v1.2.0
New Features
- Added
ThreadLocalRetrievable
protocol
v1.1.1
Fixes
- Failed to compile on early Swift 3 versions due to inability to infer a type
v1.1.0
New Features
- Added
DeferredThreadLocal
for initializing when retrieving the thread-local value