Skip to content
This repository has been archived by the owner on Jun 2, 2018. It is now read-only.

Releases: bignerdranch/CoreDataStack

1.1.1

30 Dec 16:08
Compare
Choose a tag to compare
  • Added support for tvOS #68
  • Fixed a bug that would cause the main queue context from not persisting its changes along to the persistent store after you've performed a reset on the stack. #72 thanks to @jimabc
  • Expanded and improved our unit testing #70 (also dropped all ObjC #67 pure Swift!)

1.1.0

04 Dec 17:48
Compare
Choose a tag to compare
  • Introduces a type (EntityMonitor) for performing custom monitoring of changes to a managed object context. (#52)
    • Adds a protocol (CoreDataModelable) for bringing extra features to NSManagedObject through protocol extensions. (#52)
      • init(managedObjectContext:) convenience
      • findFirst, allInContext, removeAll and other fetch conveniences
  • Introduces a type-safe, mostly drop-in equivalent to NSFetchedResultsController (FetchedResultsController<T>). (#55)
  • Adds rethrowing performBlockAndWait to NSManagedObjectContext and NSPersistentStoreCoordinator. (#59)
  • Minor performance and stability improvements.

1.0.2

13 Nov 20:21
Compare
Choose a tag to compare
  • Fixed rare crash with weak capture of self in MOC save flow
  • Moved custom result types within the CoreDataStack scope to prevent collision in other projects

1.0.1

06 Nov 14:20
Compare
Choose a tag to compare
  • Lots of documentation updates
  • Hosted docs on github pages here
  • privateQueueContext and mainQueueContext are now readonly

1.0.0

19 Oct 21:56
Compare
Choose a tag to compare

Fixed a couple of issues with stack resetting.
This function is also now supported for in-memory based stacks.

0.3.1

21 Sep 21:08
Compare
Choose a tag to compare
  • Updated the README and documentation.
  • Removed duplicate sample project within repo

0.3.0

27 Aug 18:16
Compare
Choose a tag to compare

Swift 2.0 compatible!

Simplified interface for constructing either a SQLite-backed or in-memory version of CoreDataStack.

Now only supports parent/child private queue context setup.

Improved test coverage.

0.3.0 β2

23 Aug 20:05
Compare
Choose a tag to compare
0.3.0 β2 Pre-release
Pre-release

Swift 2.0-compatible.

Separate and simplified "construct" functions for SQLite and In-memory stacks.

0.2.0

15 May 21:05
Compare
Choose a tag to compare
0.2.0 Pre-release
Pre-release
  • Stack initialization is now asynchronous with a callback for SQLite stores
  • Stacks can now be initialized with an in memory backing store
  • SQLite Journal Mode is WAL now except for app runs that require a migration
  • More naming changes

Version 0.1.0

06 May 14:05
Compare
Choose a tag to compare
Version 0.1.0 Pre-release
Pre-release
  • ThreadConfinementStack renamed to SharedStoreMOCStack
  • Background Contexts are removed from Notification Center on deinit
  • NSConfinementConcurrencyType use was replaced with NSPrivateQueueConcurrencyType and NSMainQueueConcurrencyType
  • Save errors are accessible to callers of extension