Threadly v2.0.1 Release Notes

Release Date: 2017-07-25 // over 5 years ago
  • 🛠 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

Previous changes from 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