Releases: Yalantis/FastEasyMapping
Releases · Yalantis/FastEasyMapping
1.2.2
1.2.1 Hotfix
This release introduces:
- More tests
API breaking changes
- Changed signature on
FEMObjectStore
:
from- beginTransaction:(nullable NSMapTable<FEMMapping *, NSSet<id> *> *)
to- beginTransaction:(nullable NSDictionary<NSNumber *, NSSet<id> *> *)
This shouldn't affect your code unless you're running your own store.
Bugfixes
- Fixes #96
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
1.1.2
1.1.1
1.1
1.0.2
1.0.1
1.0
- Nullability support for easier Swift integration.
- Replacing of
FEMObjectDeserializer
andFEMManagedObjectDeserializer
byFEMDeserializer
. Backward compatible via @compatibility_alias. - Replacing of
FEMObjectMapping
andFEMManagedObjectMapping
byFEMMapping
. Backward compatible via @compatibility_alias. - Added Delegation for
FEMDeserializer
. FEMDeserializer
supports weak relationships.- Fixed bug when
nil
value for customFEMAttribute
map is ignored during deserialization. - Fixed bug when
nil
value for customFEMAttribute
reverse map is ignored during serialization. - Refactoring of internals.
- Numerious renaming in favour of shorter method names. Methods from 0.5.1 marked as deprecated.
- Update tests and examples to latest syntax.
- Add full description to README.