🏷 A wrapper type for safer, expressive code.
CodingKeyRepresentable
conditional conformance (https://github.com/pointfreeco/swift-tagged/pull/66).Full Changelog: https://github.com/pointfreeco/swift-tagged/compare/0.9.0...0.10.0
Tagged
Tagged
(https://github.com/pointfreeco/swift-tagged/pull/63)
Tagged.init()
for generating a tagged UUIDTagged.init(uuidString:)
for creating a tagged UUID from a UUID stringTaggedTime
Swift.Duration
(https://github.com/pointfreeco/swift-tagged/pull/62)Full Changelog: https://github.com/pointfreeco/swift-tagged/compare/0.8.0...0.9.0
Full Changelog: https://github.com/pointfreeco/swift-tagged/compare/0.7.0...0.8.0
ExpressibleByArrayLiteral
and ExpressibleByDictionaryLiteral
.Strideable
(thanks @TheOtherDave).Sendable
(thanks @ericlewis).Encodable
will now try to encode using the wrapped value's decoding initializer if the single value container fails to decode.ExpressibleByStringInterpolation
support (thanks @mdarnall).Tagged
to swift-tagged
in the spirit of Apple conventions, and conventions set in other @pointfreeco packages). Migration strategy: remove any instances of name: "Tagged"
from package files depending on Tagged).In Tagged:
In TaggedTime:
Thanks to @buscarini, @pteasima, @kaunamohammed, and @tonyarnold for contributing!
This release brings Tagged up to date with Swift 5!
ExpressibleByNilLiteral
conformance: https://github.com/pointfreeco/swift-tagged/pull/4
CustomPlaygroundDisplayConvertible
conformance: https://github.com/pointfreeco/swift-tagged/pull/5
map
to Tagged
: https://github.com/pointfreeco/swift-tagged/pull/6
This preliminary release has the basic Tagged
type implemented with a few starting conformances to common Swift protocols.