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
FEMRelationshiprecursive or not - Add tests for Swift
- Allowed to add plain
FEMRelationshipto the same mapping (recursive) without usingadd(ToMany)RecursiveRelationshipMapping(_:forProperty:keyPath:) - Add benchmarks for performance analyze
API breaking changes
- Rework of the
FEMObjectStoreAPI to support Realm.FEMObjectStoreno longer parses raw JSON in order to get primary keys - this part done by theFEMDeserializer. Also refactoring includes names alignment - Refactoring of the internal
FEMManagedObjectCacheinto a genericFEMObjectCache.FEMObjectCachealso 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
FEMMappingCollectUsedEntityNamesandFEMMappingApplyby-[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
FEMObjectDeserializerandFEMManagedObjectDeserializerbyFEMDeserializer. Backward compatible via @compatibility_alias. - Replacing of
FEMObjectMappingandFEMManagedObjectMappingbyFEMMapping. Backward compatible via @compatibility_alias. - Added Delegation for
FEMDeserializer. FEMDeserializersupports weak relationships.- Fixed bug when
nilvalue for customFEMAttributemap is ignored during deserialization. - Fixed bug when
nilvalue for customFEMAttributereverse 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.