Bot releases are hidden (Show)
Published by 3lvis about 9 years ago
Rollback pre-process changes, now we added additional unit tests to ensure that working functionality such as syncing ordered relationships or custom keys don't break again.
Published by 3lvis about 9 years ago
We've moved to using modules, this means that Sync goes iOS 8 and above. This helps for example giving access to better batch update APIs released on iOS 8 but not much more, so if you really need iOS 7 support, please let us know.
Make sure to add use_frameworks!
to your Podfile and be happy!
Published by 3lvis about 9 years ago
NSManagedObject-HYPPropertyMapper
to 3.3.2
which improves support for using hyp_dictionary
, this will convert your NSManagedObjects (and it's childs) back to JSON! (https://github.com/hyperoslo/NSManagedObject-HYPPropertyMapper/releases/tag/3.3.2)DATAStack
to 3.1.2
, which improves support for the disposable context, this is useful when you want to do a bunch of CoreData work that it's not meant to be persisted, look at it as a clean bridge when you're trying to move things from the main thread into a background thread. (https://github.com/3lvis/DATAStack/releases/tag/3.1.2)Published by 3lvis about 9 years ago
changes
preprocessing using NSPredicate.Published by 3lvis about 9 years ago
drop
methodPublished by 3lvis about 9 years ago
Now Sync uses NSManagedObject-HYPPropertyMapper
3.3.0. This release improves how hyp_dictionary
works. More details here.
Published by 3lvis about 9 years ago
Now Sync uses NSManagedObject-HYPPropertyMapper
3.2.1. Handling of dates with miliseconds has been improved. Also using hyp_dictionary
would return the NSDates correctly formatted in ISO 8601.
Published by 3lvis about 9 years ago
Published by 3lvis about 9 years ago
Published by 3lvis about 9 years ago
Thanks to @Nik09 who helped pointing out this error 👏
Published by 3lvis over 9 years ago
This release of Sync improves how many-to-many relationships work.
We added two use cases to our suite of tests:
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
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.
Published by 3lvis over 9 years ago
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.
Published by 3lvis over 9 years ago
Published by 3lvis over 9 years ago
Thanks a lot to @Tif-tof for his contributions on Sync, he's awesome.
Published by 3lvis over 9 years ago
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. 🏃
Published by 3lvis over 9 years ago
🎉 🎉 🎉 🎉
Published by 3lvis over 9 years ago
remoteID
, now you can add hyper.isPrimaryKey
to your attribute to mark it as primary keyBinary Data
types, in this way you can use NSDictionary
and NSArray
, read more in HYPPropertyMapper 3.0.0
+ (void)changes:(NSArray *)changes
inEntityNamed:(NSString *)entityName
dataStack:(DATAStack *)dataStack
completion:(void (^)(NSError *error))completion;
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.
😼
Published by 3lvis over 9 years ago
Thanks @RamonGilabert!
Published by 3lvis over 9 years ago
remoteID
, now you can add hyper.isPrimaryKey
to your attribute to mark it as primary keyBinary Data
types, in this way you can use NSDictionary
and NSArray
, read more in HYPPropertyMapper 3.0.0
+ (void)changes:(NSArray *)changes
inEntityNamed:(NSString *)entityName
dataStack:(DATAStack *)dataStack
completion:(void (^)(NSError *error))completion;
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.
😼
Published by 3lvis over 9 years ago
remoteID
, now you can add hyper.isPrimaryKey
to your attribute to mark it as primary keyBinary Data
types, in this way you can use NSDictionary
and NSArray
, read more in HYPPropertyMapper 3.0.0
+ (void)changes:(NSArray *)changes
inEntityNamed:(NSString *)entityName
dataStack:(DATAStack *)dataStack
completion:(void (^)(NSError *error))completion;
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.
😼