Skip to content

v0.0.3

Pre-release
Pre-release

Choose a tag to compare

@sinoru sinoru released this 02 Aug 14:48
v0.0.3
edbc49f

Changed

  • Building the package now requires Swift 6.3, up from 6.2, and the manifest's
    tools version says so — a 6.2 toolchain refuses to resolve the package rather
    than failing partway through a build. The floor moves for @inline(always)
    (SE-0496), the official always-inline attribute, which Mutex and RWLock
    now carry on their locking methods in place of the underscored
    @_transparent. No API changes and no behavior changes.
  • On the platforms that forward to the standard library — everything but
    Apple's — Mutex, Atomic, the three memory ordering types,
    AtomicRepresentable, AtomicOptionalRepresentable, and the storage
    representations are now re-exported rather than reached through a type alias.
    An alias carries the name but not the members, so a client that enabled
    MemberImportVisibility had to import Synchronization alongside this
    package to call withLock, load(ordering:), or even to name .relaxed
    there, and not on Apple platforms. The re-export is scoped to the types each
    module forwards, so nothing else from Synchronization comes with it and the
    package traits still decide what a client can name.

Full Changelog: v0.0.2...v0.0.3