Releases: magicalpanda/MagicalRecord
MagicalRecord v2.3.3
This release is mainly for Carthage users: the previous release had it's binaries compiled against the Xcode 7.3 beta tools. This release is compiled using the release version of Xcode 7.2.
MagicalRecord 2.3 is the final 2.x point release of MagicalRecord. It is also the final release that will support the iOS 6 and OS X 10.8 SDKs.
MagicalRecord v2.3.2
This release fixes an issue where the OS X framework was being built with instrumentation data, and included in the binary builds posted to GitHub. It contains no other fixes over MagicalRecord v2.3.1.
MagicalRecord 2.3 is the final 2.x point release of MagicalRecord. It is also the final release that will support the iOS 6 and OS X 10.8 SDKs.
MagicalRecord v2.3.1
This is primarily a bug fix release to address a host of issues reported in MagicalRecord 2.3.0.
- CocoaPods users who want to use:
- Shorthand method aliases should add
pod 'MagicalRecord/ShorthandMethodAliases'
to their Podfile, and runpod update
- CocoaLumberjack should add
pod 'MagicalRecord/CocoaLumberjack'
to their Podfile, and runpod update
- Shorthand method aliases should add
- Fixed a Core Data multithreading violation when setting a context's working name
- Fixed the check for whether
NSPersistentStoreUbiquitousContentNameKey
is valid when using iCloud containers - Attempting to delete a
nil
managed object, or a managed object not present in the context will do nothing (previously it crashed) - Add a fix for CocoaLumberjack reporting duplicate definitions of LOG_MAYBE
- Added error logging when the passed value for
relatedByAttribute
is invalid during a relationship import - Added more lightweight generics and nullability annotations
MagicalRecord 2.3 is the final 2.x point release of MagicalRecord. It is also the final release that will support the iOS 6 and OS X 10.8 SDKs.
Thanks to everyone who contributed to this release!
MagicalRecord v2.3.0
What's new?
-
Dynamic framework targets are provided for both OS X 10.8+ and iOS 8.0+
-
Logging is enabled by default, change the logging level using
+[MagicalRecord setLoggingLevel: MagicalRecordLogLevelOff];
— see the documentation in the wiki -
CocoaLumberjack 2.0 support
-
Enabling shorthand category method names can now be done by importing:
#import <MagicalRecord/MagicalRecord.h> #import <MagicalRecord/MagicalRecord+ShorthandMethods.h> #import <MagicalRecord/MagicalRecordShorthandMethodAliases.h>
Then calling
+[MagicalRecord enableShorthandMethods]
.
See the documentation in the wiki. -
Support for running with Core Data's concurrency debugging checks enabled
-
Many, many, many, many fixes to reported issues
MagicalRecord 2.3 is the final 2.x point release of MagicalRecord. It is also the final release that will support the iOS 6 and OS X 10.8 SDKs.
Thanks to everyone who contributed to this release!
MagicalRecord v2.3.0-beta.6
MagicalRecord 2.3 is the final 2.x point release of MagicalRecord. It is also the final release that will support the iOS 6 and OS X 10.8 SDKs.
- Added a dynamic framework target for iOS 8 and higher — if need to use MagicalRecord with releases prior to iOS 8.0, please use the static library target.
- Revised logging setup so that logging will work within the framework targets.
- Revised how shorthand is activated so that it will work within the framework targets.
- Added support for CocoaLumberjack 2.
All that's left at this stage is for you guys to test in a few real-world applications, and update the documentation. Thank you to everyone who has contributed to this release!
MagicalRecord v2.3.0-beta.5
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 changed since Beta 4?
- Fixes
-rootContextDidSave
method, which was preventing saves for some users.
Please report any issues you find and be sure to mention that you're using this version (v2.3.0-beta.5). We're hoping that this will be the final beta before MagicalRecord 2.3.0 is released, so please let us know if you find any glaring omissions or problems.
Thank you to everyone who has contributed to this release!
MagicalRecord v2.3.0-beta.4
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 changed since Beta 3?
- Added support for specifying the where to save the persistent store file — see
[MagicalRecord setupCoreDataStackWithStoreAtURL:…]
and[MagicalRecord setupCoreDataStackWithAutoMigratingSqliteStoreAtURL:…]
- Fixed reported concurrency issues under iOS 8.0 — it's still your responsibility to handle concurrency, but we aim not to do anything unexpected
- Fixes logging messages during saves — it was being logged that the root saving context was being saved on the main thread
- iOS sample project now works again
Please report any issues you find and be sure to mention that you're using this version (v2.3.0-beta.4). We're hoping that this will be the final beta before MagicalRecord 2.3.0 is released, so please let us know if you find any glaring omissions or problems.
Thank you to everyone who has contributed to this release!
MagicalRecord v2.3.0-beta.3
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 changed since Beta 2?
- Some minor fixes for iOS 8's stricter threading checks.
- Missing imports have been added to headers they were supposed to be in.
- We no longer swizzle
-valueForUndefinedKey:
when importing — the exception is caught and handled. This should result in a significant speed increase for larger imports. Please let us know if you find new exceptions being thrown when importing data. - More documentation has been added to the wiki
Please report any issues you find and be sure to mention that you're using this version (v2.3.0-beta.3). We're hoping this will be the final beta before MagicalRecord 2.3.0 is released, so please let us know if you find any glaring omissions or problems.
Thankyou to everyone who has contributed to this release!
MagicalRecord v2.3.0-beta.2
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 changed since Beta 1?
MR_createInContext:
has been deprecated in favour of the more consistentMR_createEntityInContext:
MR_deleteInContext:
has been deprecated in favour of the more consistentMR_deleteEntityInContext:
- Logging can now be controlled at runtime. It is not necessary to define
MR_LOGGING_ENABLED
— just use the new+ [MagicalRecord setLogLevel: … ];
method — there is documentation on the new logging method in the wiki - Add
MR_findFirstOrCreateByAttribute: …
methods to theNSManagedObject+MagicalFinders
category - Fix data imports so that the return value from
-(BOOL)import<#AttributeName#>:
data import methods is not ignored - Fix the return type of the
- MR_aggregateOperation: …
methods — it was never guaranteed that the return value would be anNSNumber
, so the type is nowid
- Fix an issue where
MR_clearContextForCurrentThread
was not clearing the context cache version which would cause an assertion failure on the next call toMR_contextForCurrentThread
- Restore
+ MR_fetchController: delegate: useFileCache: groupedBy: inContext:
method to public header - Some documentation has been updated in the wiki, but it is very much a work in progress
Please report any issues you find and be sure to mention that you're using this version (v2.3.0-beta.2)
Thankyou to everyone who has contributed to this release!
MagicalRecord v2.3.0-beta.1
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!