MagicalRecord 2.3 is the final 2.x point release of MagicalRecord. It is also the final release that will support the iOS 6.x and OS X 10.8 SDKs.
What's new?
- Saves should no longer block the main thread when saving on a background context
- Enable support for passing nil to
+ createInContext:
— this allows you to create entities that aren't associated with any context - Make
-MR_inContext:
work on entities with temporaryNSManagedObjectID
s - Deleting an entity in a context other than it's own will delete the entity in the other context
- Many fixes and improvements to the data import categories, including:
- Fixes to importing relationships
- Fixes timezone issues on dates when importing
- Add support for importing NSDate attributes from UNIX timestamps
- Add support for importing objects without a primary key (
primaryAttribute
) specified — this creates a new instance on each import
- Added
+[MagicalRecord version]
that returns the current release as a double (see alsoMagicalRecordVersionNumber
constant) - Added methods to perform aggregate operations on entities that can be grouped by a key path
- Report an error if the persistent store fails to initialise when
shouldDeleteStoreOnModelMismatch
is set toNO
- Clear cached
NSManagedObjectContext
instances that aren't on the main thread during cleanup - Updated documentation
- Various smaller bug fixes and performance improvements
Please report any issues you find and be sure to mention that you're using this version (v2.3.0-beta.1)
Thankyou to everyone who has contributed to this release!