Releases: Data-swift/ManagedModels
Objectable
This release marks properties as @objc
if they are known to be convertible to Objective-C. This should help with/ issue #36.
The feature is quite restricted, so the user may sometimes need to add @objc
himself if the macro can't detect it. It will for common base types and if properties are marked as relationships.
This version also compiles w/ SwiftSyntax 600.
Merge no more
Some model de-duplication if the same model is specified in multiple places.
Initially
Optionally
Strictly Concurrent
Adds and enables strict concurrency checks on Xcode 15.3/Swift 5.10. Thanks to @radianttap!
Codable Lost
This release should fix two issues resulting in #27. I.e. the transformer implementation for Codable attribute types.
NoNamed
Documentary
Added some DocC documentation.
Optionally
Fixes Issue #22, in which optionals sometimes do not work right. Should be fine now.
MOMs
Fixes Issue #20, the persistent model types do not generate a cached entity anymore. Multiple ManagedObjectModel
s can be built from a single type and the deprecated init's for that are available again.
MOMs themselves are still cached for other methods that take PersistentModel types (like .modelContainer(for: Item.self)
).
Also, the attributeValueClassName
of NSAttributeDescription
s isn't filled anymore w/ the corresponding Foundation types. That produced issues w/ optional attributes (NSNull
not matching the set type) and doesn't seem to be required either.