1.1.2
Fixes
- Preserve type-level attributes (e.g.
@MainActor,@Sendable) on function-typed fields when generating a@Mapperbuilder. Previously the ownership-specifier fix in 1.1.1 over-stripped and also discarded these, silently breaking global-actor-isolated closure fields. @escaping/@autoclosureare now correctly kept on the generatedbuildBlock's own parameter (needed to forward into the canonical initializer) while still excluded fromBoxed<T>'s generic argument (where they're invalid).
New
@Mappernow emits a best-effort warning when it detects a struct shape that's likely to hit a known, unavoidable Swift compiler bug (swiftlang/swift#70087): a struct conforming toEquatable/Hashable/Comparablethat already hand-writes its own==/</hash(into:)(typically because a field, like a function type, isn't itself Equatable). See the README's new "Known limitations" section for details and the recommended workaround.
No breaking changes.