Skip to content

Releases: Yalantis/FastEasyMapping

1.2.2

25 Jun 20:57
Compare
Choose a tag to compare

This release introduces:

  • Ability to include null into the resulting JSON by the FEMSerializer. Set -[FEMSerializer includeNull] to YES. Related task: #98

API breaking changes

  • None

Bugfixes

  • None

1.2.1 Hotfix

20 May 07:13
Compare
Choose a tag to compare

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

1.2

10 May 13:19
Compare
Choose a tag to compare
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 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

1.1.2

03 Apr 08:37
Compare
Choose a tag to compare

This release introduces:

  • None

API breaking changes

  • None

Bugfixes

  • Fixes #81: now objects gets registered to the store before relationships deserialization
  • Minor typo fixes

1.1.1

29 Sep 08:08
Compare
Choose a tag to compare

This release introduces:

  • Inline documentation for most of the public APIs #69. Now APIs have a rich comments and useful examples explaining how to use, etc.
  • NSCopying support for easier reuse of mappings by subclasses: #74

API breaking changes

  • None

Bugfixes

  • None

1.1

29 Aug 11:25
Compare
Choose a tag to compare
1.1
  • Merge recursive relationships PR #54
  • Update nullability specifiers including minor fixes #70
  • Fixed Travis CI config #63
  • Update testing CocoaPods to 1.0.1 version
  • Fixed #47

1.0.2

26 Jan 09:52
Compare
Choose a tag to compare
  • Fix compatibility issue #45 by replacing @compatibility_alias with #define
  • Update project for Xcode 7.0

1.0.1

26 Oct 14:56
Compare
Choose a tag to compare
  • Add tvOS support in podspec: #39
  • Fix warnings "Method override for the designated initializer of the superclass '-init' not found"

1.0

01 Sep 09:16
Compare
Choose a tag to compare
1.0
  • Nullability support for easier Swift integration.
  • Replacing of FEMObjectDeserializer and FEMManagedObjectDeserializer by FEMDeserializer. Backward compatible via @compatibility_alias.
  • Replacing of FEMObjectMapping and FEMManagedObjectMapping by FEMMapping. Backward compatible via @compatibility_alias.
  • Added Delegation for FEMDeserializer.
  • FEMDeserializer supports weak relationships.
  • Fixed bug when nil value for custom FEMAttribute map is ignored during deserialization.
  • Fixed bug when nil value for custom FEMAttribute 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.

0.5.1