|
3 | 3 | The changelog for `JSQCoreDataKit`. Also see the [releases](https://github.com/jessesquires/JSQCoreDataKit/releases) on GitHub.
|
4 | 4 |
|
5 | 5 | --------------------------------------
|
| 6 | + |
| 7 | +2.2.0 |
| 8 | +----- |
| 9 | + |
| 10 | +This release closes the [2.2.0 milestone](https://github.com/jessesquires/JSQCoreDataKit/issues?q=milestone%3A2.2.0). |
| 11 | + |
| 12 | +### New |
| 13 | + |
| 14 | +Added a `resetStack()` top-level function. See the [updated docs](http://www.jessesquires.com/JSQCoreDataKit/Functions.html#/s:F14JSQCoreDataKit10resetStackFTCS_13CoreDataStack5queuePSo17OS_dispatch_queue_10completionFT6resultOS_19CoreDataStackResult_T__T_) for details. Thanks @marius-serban! :tada: |
| 15 | + |
| 16 | +### Changes |
| 17 | + |
| 18 | +:warning: `CoreDataStackFactory.CompletionHandler` was moved from the factory's scope to the module's scope and renamed to `StackResultClosure`. This is *technically* a breaking change, but it is *highly* unlikely that anyone was referring to this closure directly. If so, simply rename to the correct type. |
| 19 | + |
| 20 | +2.1.0 |
| 21 | +----- |
| 22 | + |
| 23 | +`JSQCoreDataKit` now "officially" supports all Apple platforms: iOS, OSX, tvOS, watchOS. :tada: |
| 24 | + |
| 25 | +:trophy: [2.1.0 milestone](https://github.com/jessesquires/JSQCoreDataKit/issues?q=milestone%3A2.1.0) |
| 26 | + |
| 27 | +2.0.0 |
| 28 | +----- |
| 29 | + |
| 30 | +### :tada: `JSQCoreDataKit` 2.0 is here! :tada: |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | +### Breaking changes |
| 35 | + |
| 36 | +- Swift 2.0 |
| 37 | + |
| 38 | +- You must now initialize `CoreDataStack` via a `CoreDataStackFactory`. This will init the stack on a background queue and return to your completion handler on the main queue when finished. This is necessary since adding a persistent store can take an unknown amount of time. |
| 39 | + |
| 40 | +- Rethinking and rewriting of [`CoreDataStack`](http://www.jessesquires.com/JSQCoreDataKit/Classes/CoreDataStack.html). It now has a `mainContext` and a `backgroundContext`. :sunglasses: |
| 41 | + |
| 42 | +- [Saving](http://www.jessesquires.com/JSQCoreDataKit/Functions.html#/s:F14JSQCoreDataKit11saveContextFTCSo22NSManagedObjectContext4waitSb10completionGSqFOS_18CoreDataSaveResultT___T_) a context now returns a [`CoreDataSaveResult`](http://www.jessesquires.com/JSQCoreDataKit/Enums/CoreDataSaveResult.html) to the completion handler, instead of `NSError?` |
| 43 | + |
| 44 | +### New |
| 45 | + |
| 46 | +- New [`CoreDataStackFactory`](http://www.jessesquires.com/JSQCoreDataKit/Structs/CoreDataStackFactory.html) for async stack initialization, as mentioned above. It also support synchronous init if you need it, but this is only recommended for testing. Returns a [`CoreDataStackResult`](http://www.jessesquires.com/JSQCoreDataKit/Enums/CoreDataStackResult.html). |
| 47 | + |
| 48 | +- All types now conform to `CustomStringConvertible` and `Equatable`. :facepunch: |
| 49 | + |
| 50 | +### Issues closed |
| 51 | + |
| 52 | +Find the complete list of closed issues [here](https://github.com/jessesquires/JSQCoreDataKit/issues?q=milestone%3A2.0.0). :bug: |
| 53 | + |
| 54 | +### Documentation |
| 55 | + |
| 56 | +All [documentation](http://www.jessesquires.com/JSQCoreDataKit/) has been updated. :scroll: |
| 57 | + |
| 58 | +## Example app |
| 59 | + |
| 60 | +The [example app](https://github.com/jessesquires/JSQCoreDataKit/tree/develop/ExampleApp) is actually an example app now, check it out! It's a pretty substantial demo. |
| 61 | + |
| 62 | +1.1.0 |
| 63 | +----- |
| 64 | + |
| 65 | +This release closes the [1.1.0 milestone](https://github.com/jessesquires/JSQCoreDataKit/issues?q=milestone%3A%22Release+1.1.0%22). |
| 66 | + |
| 67 | +* New top-level functions |
| 68 | +* Ability to specify store directory other than `~/Documents/` |
| 69 | +* No breaking changes |
| 70 | + |
| 71 | +See the [documentation](http://www.jessesquires.com/JSQCoreDataKit/index.html) for more information! |
| 72 | + |
| 73 | +1.0.0 |
| 74 | +----- |
| 75 | + |
| 76 | +It's here! |
| 77 | + |
| 78 | +Checkout the `README` and documentation. |
0 commit comments