FastEasyMapping v1.2 Release Notes

Release Date: 2017-05-10 // over 5 years ago
  • ๐Ÿ›  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 using add(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 the FEMDeserializer. Also refactoring includes names alignment
    • ๐Ÿ”จ Refactoring of the internal FEMManagedObjectCache into a generic FEMObjectCache. FEMObjectCache also no longer parses JSON
    • ๐Ÿ“‡ Renamed FEMMapping.add(toManyRelationshipMapping:forProperty:keyPath:) to FEMMapping.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 and FEMMappingApply by -[FEMMapping flatten] and FEMRepresentationCollectPresentedPrimaryKeys

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fixed recursive relationship to same object: #81
    • ๐Ÿ›  Fixed leak of recursive relationships: #83
    • Temporary fix for #80