Skip to content

Releases: nvzqz/Threadly

v2.0.1

25 Jul 15:37
v2.0.1
Compare
Choose a tag to compare

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

26 Jun 14:55
v2.0.0
Compare
Choose a tag to compare

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

25 Jun 17:20
v1.2.0
Compare
Choose a tag to compare

New Features

  • Added ThreadLocalRetrievable protocol

v1.1.1

24 Jun 13:39
v1.1.1
Compare
Choose a tag to compare

Fixes

  • Failed to compile on early Swift 3 versions due to inability to infer a type

v1.1.0

23 Jun 21:24
v1.1.0
Compare
Choose a tag to compare

New Features

  • Added DeferredThreadLocal for initializing when retrieving the thread-local value

v1.0.0

22 Jun 18:19
v1.0.0
Compare
Choose a tag to compare

Initial release