All Versions
21
Latest Version
Avg Release Cycle
123 days
Latest Release
738 days ago

Changelog History
Page 2

  • v5.0.0 Changes

    September 15, 2016

    ๐Ÿš€ This release closes the 5.0.0 milestone.

    Swift 2.3 now required.

  • v4.0.2 Changes

    June 06, 2016

    ๐Ÿš€ This release closes the 4.0.2 milestone.

    • ๐Ÿ›  Fixed an issue where sqlite temporary files would not be cleaned up when removing the store (#85). Thanks @deemadden!
  • v4.0.1 Changes

    June 02, 2016

    ๐Ÿš€ This release closes the 4.0.1 milestone.

    • ๐Ÿ›  Fixed a multithreading concurrency violation while merging (#83). Thanks @saurabytes!
  • v4.0.0 Changes

    May 08, 2016

    ๐Ÿš€ This release closes the 4.0.0 milestone.

    This release includes a significant change to CoreDataStack, which no longer uses child contexts. The mainContext and backgroundContext are now both connected to the persistent store coordinator. See #60 for the background and rationale behind this change. In short, child contexts are considered bad practice for this kind of stack setup and should really only be used for "throw away" work.

    While this is technically a breaking change, it likely will not affect most clients. The behavior should remain largely unchanged โ€” data is still kept in-sync between the 2 contexts. So unless you were specifically relying on this parent-child nesting behavior, you should be fine. ๐Ÿ‘

    Thanks

    ๐Ÿš€ Huge thanks to @Liquidsoul for closing most of the issues for this release and to @wiedem for contributing significantly as well! ๐ŸŽ‰

    ๐Ÿ’ฅ Breaking changes โš ๏ธ

    Stack
    • The mainContext and backgroundContext are now both connected to the persistent store coordinator (#60)
    • When creating a child context, the concurrencyType determines which context is the parent (#73)
    • โœ… CoreDataStackFactory has been simplified. There is now a single createStack() method. (#77)
    ๐Ÿ†“ Free functions

    โœ… In alignment with the latest Swift API guidelines, the library now prefers methods/extensions over free functions.

    • The resetStack() top-level function is now a method on CoreDataStack (#75)
    • The deleteObjects() top-level function is now an extension method on NSManagedObjectContext (#76)
    • The fetch() top-level function is now an extension method on NSManagedObjectContext (#78)
    • The migrate() top-level function is now an extension method CoreDataModel (#82)

    ๐Ÿ“š Documentation

    โšก๏ธ All docs have been updated. As usual, check these out for more details on the changes described above.

    Refinements

    ๐Ÿฑ There have been other general refinements and additional unit tests have been added. Test coverage is 94% ๐Ÿ˜Ž

  • v3.0.0 Changes

    ๐Ÿš€ This release closes the 3.0.0 milestone.

    The goals of this release are primarily to adopt Swift 2.2 and refine the API to make it more Swifty, as the definition of Swifty has evolved.

    ๐Ÿ’ฅ Breaking changes :warning:

    There are many breaking changes in this release, however โ€” with the exception of Swift 2.2 โ€” they are all merely name changes that aim to reduce verbosity.

    • Migrated to Swift 2.2. (#67) Swift 2.2 and above is now required.
    • 0๏ธโƒฃ Renamed DefaultStoreOptions to defaultStoreOptions
    • ๐Ÿ“‡ Renamed CoreDataSaveResult to SaveResult
    • ๐Ÿ“‡ Renamed CoreDataStackResult to StackResult
    • ๐Ÿšš Renamed CoreDataModel.removeExistingModelStore() to CoreDataModel.removeExistingStore()
    • โœ… Renamed all enum cases to be lowercase, in line with latest Swift API guidelines
    • ๐Ÿšš The StackResultClosure typealias has been removed

    ๐Ÿ†• New features

    • ๐Ÿ‘Œ Support for Swift Package Manager (#55) :tada:
    • Core Data model migration support! (#46, #66) Thanks @marius-serban ! :tada: See the README and docs for details!
  • v2.2.1 Changes

    ๐Ÿš€ This release closes the 2.2.1 milestone.

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed multithreading violation while saving context (#63, #59, #65). Thanks @saurabytes and @markkrenek!
    • 0๏ธโƒฃ On tvOS, the default SQLite directory now defaults to .CacheDirectory instead of .DocumentDirectory (#61, #62). Thanks @cgoldsby !
  • v2.2.0 Changes

    ๐Ÿš€ This release closes the 2.2.0 milestone.

    ๐Ÿ†• New

    Added a resetStack() top-level function. See the updated docs for details. Thanks @marius-serban! :tada:

    ๐Ÿ”„ Changes

    :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.

  • v2.1.0 Changes

    ๐Ÿ‘ JSQCoreDataKit now "officially" supports all Apple platforms: iOS, OSX, tvOS, watchOS. :tada:

    :trophy: 2.1.0 milestone

  • v2.0.0

  • v1.1.0 Changes

    ๐Ÿš€ This release closes the 1.1.0 milestone.

    • ๐Ÿ†• New top-level functions
    • Ability to specify store directory other than ~/Documents/
    • No breaking changes

    ๐Ÿ“š See the documentation for more information!