1.2
Realm support, bugfixes and more
This release introduces:
- Realm support!
- Add support for macOS, tvOS, watchOS as dynamic frameworks
- Add support for Carthage (#56)
- Add ability to determine whether
FEMRelationship
recursive or not - Add tests for Swift
- Allowed to add plain
FEMRelationship
to the same mapping (recursive) without usingadd(ToMany)RecursiveRelationshipMapping(_:forProperty:keyPath:)
- Add benchmarks for performance analyze
API breaking changes
- Rework of the
FEMObjectStore
API to support Realm.FEMObjectStore
no longer parses raw JSON in order to get primary keys - this part done by theFEMDeserializer
. Also refactoring includes names alignment - Refactoring of the internal
FEMManagedObjectCache
into a genericFEMObjectCache
.FEMObjectCache
also no longer parses JSON - Renamed
FEMMapping.add(toManyRelationshipMapping:forProperty:keyPath:)
toFEMMapping.addToManyRelationshipMapping(_:forProperty:keyPath:)
(Swift only) - Removed deprecated headers: FEMObjectDeserializer and FEMManagedObjectDeserializer (replaced by FEMDeserializer); FEMObjectMapping and FEMManagedObjectMapping (replaced by FEMMapping)
- Removed deprecated methods on:
FEMDeserializer
,FEMMapping
,FEMRelationship
- Replace internal unused functions
FEMMappingCollectUsedEntityNames
andFEMMappingApply
by-[FEMMapping flatten]
andFEMRepresentationCollectPresentedPrimaryKeys
Bugfixes