contentful-persistence.swift

Simplified persistence for the Contentful Swift Library.

MIT License

Stars
23
Committers
24

Bot releases are visible (Hide)

contentful-persistence.swift - 0.9.0

Published by loudmouth almost 7 years ago

Improved

  • Improved test coverage to capture edge cases for various models.

Added

  • Contentful.Location can now be stored as an 'Transformable' attribute on a CoreData entity in the Xcode data model editor and on your NSManagedObject subclasses.
contentful-persistence.swift - 0.8.0

Published by loudmouth almost 7 years ago

Changed

  • Travis now deploys the reference documentation from the gh-pages branch when a new tag is pushed.
  • Upgraded dependency on Contentful to 1.0.0-beta3 and updated development dependencies.

Fixed

  • Issue where seeding CoreData db from bundled JSON files only created entities for the spaces default locale in #39
contentful-persistence.swift - 0.7.0 — Swift 4

Published by loudmouth about 7 years ago

Changed

  • BREAKING: Migrated to Swift 4; you must now use Xcode 9 in order to develop with the persistence library
contentful-persistence.swift - 6.6.2

Published by loudmouth about 7 years ago

  • Bug that caused SynchronizationManager to fail seeding a CoreData database from bundled content because of lack of localization context.
contentful-persistence.swift - 0.6.1

Published by loudmouth about 7 years ago

Fixed

  • Project configuration so that contentful-persistence.swift may be built from source without warnings. Implications:
  • Dependencies are still managed via Carthage but using the --use-submodules flag. Thus, dependencies are all tracked as submodules and the source (i.e. Carthage/Checkouts) is now tracked in git.
  • Now travis doesn't install carthage or use it at all to build the project and ContentfulPersistence.xcodeproj framework search paths are cleared.

Added

  • Methods on SynchronizationManager to seed a CoreData database from bundled content.
contentful-persistence.swift - 0.6.0

Published by loudmouth about 7 years ago

Added

  • The ability to a LocalizationScheme on SynchronizationManager which determines for which locales data should be saved to your persistent store.

Changed

  • BREAKING: ContentPersistable is now called ContentSysPersistable
  • BREAKING: mapping() is now called fieldMapping() to clarify that only 'fields' from your Entries ContentModel must be mapped.
  • BREAKING: localeCode: String is now a necessary property for ContentSysPersistable model classes.

Fixed

  • Removed use of try! in the codebase Issue #25. Fix by @tapwork in #26
contentful-persistence.swift - 0.5.0

Published by loudmouth over 7 years ago

Fixed

  • Bug where "clearing" a field in an Entry did not nullify the corresponding persisted property.
  • Bug where deleting a relationship in Contentful did not nullify the corresponding persisted relationship.
  • Crash caused by explicitly defining mapping for relationships.

Changed

  • BREAKING: Mapping must be explictly define for types conforming to EntryPersistable
contentful-persistence.swift - 0.4.0

Published by loudmouth over 7 years ago

Changed

  • BREAKING: ContentfulSynchronizer is now called SynchronizationManager
  • BREAKING: Rather than initializing SynchronizationManager with a Contentful.Client instance, the - Contentful.Client is now initialized with a SynchronizationManager instance as the persistenceIntegration parameter in the Client initializer.
  • BREAKING: The manner in which content type identifiers map Contentful responses to NSManagedObject model classes is now changed: SynchronizationManager is initialized with a PersistenceModel which is constructed by passing in your NSManagedObject subclasses that conform to either SyncSpacePersistable AssetPersistable or EntryPersistable.
contentful-persistence.swift - v0.3.0

Published by loudmouth over 7 years ago

  • Swift 3 support
  • Cross-platform support for Carthage installations.
contentful-persistence.swift - v0.2.3

Published by loudmouth over 7 years ago

Updated release to be used with contenful.swift v0.2.3 fixing an issue where links were not resolved on subsequent sync operations, or multiple page sync operations.

contentful-persistence.swift - contentful-persistence.swift 0.2.0

Published by neonichu over 8 years ago

Added

  • fetchRequest convenience method on CoreDataStore

Fixed

  • Use ContentfulSwift as module name for the Pod
contentful-persistence.swift - contentful-persistence.swift 0.1.0

Published by neonichu over 8 years ago

Initial release.

Package Rankings
Top 20.49% on Swiftpackageindex.com
Top 9.33% on Cocoapods.org
Badges
Extracted from project README
Version Carthage compatible License Platform Build Status Coverage Status