Skip to content

Releases: 3lvis/Sync

Sync — 1.0.5

10 May 06:44
Compare
Choose a tag to compare

This release of Sync improves how many-to-many relationships work.

We added two use cases to our suite of tests:

screen shot 2015-05-10 at 8 39 15 am

screen shot 2015-05-10 at 8 39 08 am

We also fixed a bug in our DesignerNews demo, the Comment entity is a recursive entity and didn't had a parentComment relationship which is needed in this cases => Fixed on #100

screen shot 2015-05-10 at 8 35 01 am


We also want to thanks @kostiakoval who pointed out the first two bugs, his input was key to make this release possible, so a big round of applause for him.

applause-o

Sync — 1.0.4

06 May 09:07
Compare
Choose a tag to compare

When we switched to SQLite in our automatic tests we saw a bunch of failures (we were using In-memory before). We fixed those issues in this release.

Sync — 1.0.3

24 Apr 08:24
Compare
Choose a tag to compare
  • Updated dependencies, now many to many relationships with custom primary keys should "just work" (#85)

Sync — 1.0.2

21 Apr 19:20
Compare
Choose a tag to compare
  • Improved one-to-one mapping (#72)

Thanks a lot to @Tif-tof for his contributions on Sync, he's awesome.

tumblr_inline_mzmuzndcac1qi4qb3

Sync — 1.0.1

14 Apr 08:01
Compare
Choose a tag to compare
  • Fixes an issue where Sync wouldn't support Entities that had custom mapping on a custom primary key (#59)

For example:

In Core Data Model:

Map ImageId in the JSON to imageId:

imageId => hyper.remoteKey : ImageId

Make imageId the primary key:

imageId => hyper.isPrimaryKey : YES

JSON:

[
  {
    "ImageId": 0,
    "url": "http://sample.com/sample0.png"
  }
]

Thanks to @bmnick for his contributions on this release. Be careful if you find him walking around the streets this week, looks like he's on his kicking all asses week. 🏃

Sync — 1.0.0

06 Apr 16:29
Compare
Choose a tag to compare

🎉 🎉 🎉 🎉

Sync — 0.7.3

04 Apr 14:44
Compare
Choose a tag to compare
  • Update dependencies

More from 0.7.0

  • Added support for custom primary keys, before it was inferred that the primary key would be remoteID, now you can add hyper.isPrimaryKey to your attribute to mark it as primary key
  • Added support for Binary Data types, in this way you can use NSDictionary and NSArray, read more in HYPPropertyMapper 3.0.0
  • [BREAKING CHANGE] Improved API, now it should be simpler to use and more consistent
+ (void)changes:(NSArray *)changes
  inEntityNamed:(NSString *)entityName
      dataStack:(DATAStack *)dataStack
     completion:(void (^)(NSError *error))completion;
  • [BREAKING CHANGE] Improved Core Data user info keys to be more consistent
static NSString * const SyncCustomPrimaryKey = @"hyper.isPrimaryKey";
static NSString * const SyncCustomRemoteKey = @"hyper.remoteKey";

Thanks a lot to @RamonGilabert for his contributions on this release. Don't even try to get him, we already made him sign for his soul.

😼

Sync — 0.7.2

04 Apr 11:23
Compare
Choose a tag to compare
  • Fix a bug when mapping to-one relationships with custom relationship name => #41

Thanks @RamonGilabert!

Sync — 0.7.1

03 Apr 01:25
Compare
Choose a tag to compare
  • Update dependencies

More from 0.7.0

  • Added support for custom primary keys, before it was inferred that the primary key would be remoteID, now you can add hyper.isPrimaryKey to your attribute to mark it as primary key
  • Added support for Binary Data types, in this way you can use NSDictionary and NSArray, read more in HYPPropertyMapper 3.0.0
  • [BREAKING CHANGE] Improved API, now it should be simpler to use and more consistent
+ (void)changes:(NSArray *)changes
  inEntityNamed:(NSString *)entityName
      dataStack:(DATAStack *)dataStack
     completion:(void (^)(NSError *error))completion;
  • [BREAKING CHANGE] Improved Core Data user info keys to be more consistent
static NSString * const SyncCustomPrimaryKey = @"hyper.isPrimaryKey";
static NSString * const SyncCustomRemoteKey = @"hyper.remoteKey";

Thanks a lot to @RamonGilabert for his contributions on this release. Don't even try to get him, we already made him sign for his soul.

😼

Sync — 0.7.0

02 Apr 22:58
Compare
Choose a tag to compare
  • Added support for custom primary keys, before it was inferred that the primary key would be remoteID, now you can add hyper.isPrimaryKey to your attribute to mark it as primary key
  • Added support for Binary Data types, in this way you can use NSDictionary and NSArray, read more in HYPPropertyMapper 3.0.0
  • [BREAKING CHANGE] Improved API, now it should be simpler to use and more consistent
+ (void)changes:(NSArray *)changes
  inEntityNamed:(NSString *)entityName
      dataStack:(DATAStack *)dataStack
     completion:(void (^)(NSError *error))completion;
  • [BREAKING CHANGE] Improved Core Data user info keys to be more consistent
static NSString * const SyncCustomPrimaryKey = @"hyper.isPrimaryKey";
static NSString * const SyncCustomRemoteKey = @"hyper.remoteKey";

Thanks a lot to @RamonGilabert for his contributions on this release. Don't even try to get him, we already made him sign for his soul.

😼