This file documents changes in the data model. Please explain any changes to the data model as well as any custom migrations.
- @aerych 2016-12-08
ReaderPost
addedpreserveForRestoration
boolean. Indexed. DefaultNO
. Not optional.
- @jleandroperez 2016-10-27
Notification
addednotificationHash
property.- @jleandroperez 2016-10-19
Notification
removedsimperiumKey
property.Notification
removedghostData
property.Notification
addednotificationId
property.- Removed
Meta
entity.
- @koke 2016-09-28
- Added
ReaderTeamTopic
entity.
- @aerych 2016-08-12
- Added
algorithm
optional string field toReaderAbstractTopic
. - Added
railcar
optional NSData field toReaderPost
. - @aerych 2016-08-05
- Removed
ReaderSite
entity. - @aerych 2016-07-19
ReaderAbstractTopic
addedpreserveForRestoration
boolean. Indexed. DefaultNO
. Not optional.
- @aerych 2016-06-24
ReaderSiteTopic
addedfeedURL
string property- @jleandroperez 2016-06-20
Person
addedcreationDate
attribute.- @jleandroperez 2016-06-21
Person
removedisFollower
property.Person
addedkind
Int16 attribute.- @aerych 2016-06-09
- Moved
dateModified
property fromBasePost
toAbstractPost
- @aerych 2016-05-26
- Added
ReaderSearchSuggestion
entity. Represents a search in the reader. - @aerych 2016-05-31
- Added
dateModified
property toBasePost
model. - @aerych 2016-05-23
ReaderPost
addedscore
.ReaderPost
addedsortRank
. It is not optional so the default of 0 is enforced.
- @frosty 2016-05-17
- Added
Domain
entity. Represents a domain belonging to a site. Blog
added new relationshipdomains
. An unordered set ofDomain
s for the blog.- @jleandroperez 2016-05-13
Person
updatedsiteID
to Int64.Person
updateduserID
to Int64.Person
added BooleanisFollower
.- @frosty 2016-05-12
Blog
added StringplanTitle
.- @aerych 2016-05-12
- Added
ReaderSearchTopic
entity. Represents a search in the reader. - @jleandroperez 2016-05-04
Person
added Int64linkedUserID
.- @jleandroperez 2016-04-22
Blog
added transformablecapabilities
.
- @sergioestevao 2016-04-05
Media
added new integer attributepostID
to store the post to where the media is attached to.- @kurzee 2016-04-08
Menu
changingmenuId
attribute tomenuID
as a int_32 number instead of string.MenuItem
changingitemId
attribute toitemID
as an int_32 number instead of string.MenuItem
changingcontentId
attribute tocontentID
as an int_64 number instead of string.- @jleandroperez 2016-04-11
AccountSettings
added new stringemailPendingAddress
. Whenever it's not nil, contains the new User's Email Address.AccountSettings
added new boolemailPendingChange
. Indicates whether there's a pending Email change, or not.
Post
added new string attributepostType
to store the associated string type of aPost
entity.- Added
PostType
entity. Represents a post type and its info. Blog
added new relationshippostTypes
to storePostType
entities for a site.
BlogSettings
added stringsharingButtonStyle
. Stores style to use for sharing buttons.BlogSettings
added stringsharingLabel
. Stores the text to show in the sharing label.BlogSettings
added stringsharingTwitterName
. Stores the username used when sharing to Twitter.BlogSettings
added boolsharingCommentLikesEnabled
. Whether comments display a like button.BlogSettings
added boolsharingDisabledLikes
. Whether posts display a like button.BlogSettings
added boolsharingDisabledReblogs
. Whether posts display a reblog button.BlogSettings
added integerlanguageID
. Stores the Blog's Language ID.- Added
SharingButton
entity. Represents a buton for sharing content to a third-party service. Blog
added new relationshipsharingButtons
. An unordered set ofShareButton
s for the blog.
- Added
Menu
entity. Encapsulates the data and relationships for customizing a site menu. - Added
MenuItem
entity. Encapsulates the navigation item data belonging to a Menu. - Added
MenuLocation
entity. Encapsulates a site/theme location that a Menu can occupy. - Added
PostTag
entity. Encapsulates a site's tag taxonomy. Blog
added new relationship calledmenus
. Persisting associated Menus for a site.Blog
added new relationship calledmenuLocations
. Persists associated MenuLocations available for a site.Blog
added new relationship calledtags
. Persisting associated PostTags for a site.Blog
added new integer64 attributeplanID
to store a blog's current plan's product ID.
- Added
PublicizeService
entity. Represents third-party services available to Publicize - Added
PublicizeConnection
entity. Represents a connection between a blog and a third-party Publicize service. Blog
added a new relationship calledconnections
. These are the PublicizeConnections for the blog.
ReaderPost
added new integer64 calledfeedID
to store a post's feed ID if it exists.ReaderPost
added new integer64 calledfeedItemID
to store a post's feed item ID if it exists.
- Added new entity
AccountSettings
Account
has now a new one-to-one relationship mapping toAccountSettings
Theme
added new string attributesauthor
andauthorUrl
to store a theme's author informationTheme
added new boolean attributepurchased
to store a premium theme's purchased status
Changes to the data model:
- Added new entity:
BlogSettings
, to encapsulate all of the Blog Settings Blog
has now a new one-to-one relationship mapping toBlogSettings
- Migrated the attribute
Blog.blogName
over toBlogSettings.name
- Migrated the attribute
Blog.blogTagline
over toBlogSettings.tagline
- Migrated the attribute
Blog.defaultCategoryID
over toBlogSettings.defaultCategoryID
- Migrated the attribute
Blog.defaultPostFormat
over toBlogSettings.defaultPostFormat
- Migrated the attribute
Blog.geolocationEnabled
over toBlogSettings.geolocationEnabled
- Migrated the attribute
Blog.privacy
over toBlogSettings.privacy
- Migrated the attribute
Blog.relatedPostsAllowed
over toBlogSettings.relatedPostsAllowed
- Migrated the attribute
Blog.relatedPostsEnabled
over toBlogSettings.relatedPostsEnabled
- Migrated the attribute
Blog.relatedPostsShowHeadline
over toBlogSettings.relatedPostsShowHeadline
- Migrated the attribute
Blog.relatedPostsShowThumbnails
over toBlogSettings.relatedPostsShowThumbnails
Notification.id
field has been updated to Integer 64
Changes to the data model:
Theme
added a new string attribute calleddemoUrl
to store a theme's demo site addressTheme
added a new string attribute calledprice
to store a premium theme's price display stringTheme
added a new string attribute calledstylesheet
to store identifier used to construct helper linksTheme
added a new number attribute calledorder
to store the display order retrieved by- Added new entity
Person
- Added new entity
ReaderCrossPostMeta
ReaderPost
added new relationship calledcrossPostMeta
to store the source post ID of a cross-post.
Blog
added a new boolean attribute calledrelatedPostsAllowed
to store the related setting on the site;Blog
added a new boolean attribute calledrelatedPostsEnabled
to store the related setting on the site;Blog
added a new boolean attribute calledrelatedPostsShowHeadline
to store the related setting on the site;Blog
added a new boolean attribute calledrelatedPostsShowThumbnails
to store the related setting on the site;
Changes to the data model:
Blog
added a new number attribute calledprivacy
to store the privacy setting on the siteReaderPost
added new string fields forblavatar
,primaryTag
, andprimaryTagSlug
ReaderPost
added new integer fields forwordCount
, andreadingTime
ReaderPost
added new boolean fields forisExternal
, andisJetpack
ReaderPost
removed fieldsdateCommentsSynced
, andstoredComment
- Added new entities:
ReaderAbstractTopic
,ReaderTagTopic
,ReaderListTopic
,ReaderDefaultTopic
,ReaderSiteTopic
,ReaderGapMarker
. - Edited obsolete mapping model:
SafeReaderTopicToReaderTopic
- Removes obsolete
ReaderTopic
model
Changes to the data model:
Blog
added a new number attribute calleddefaultCategoryID
to store the default category id for new posts on the siteBlog
added a new string attribute calleddefaultPostFormat
to store the default post format for new posts on the site
Changes to the data model:
Blog
added a new attribute calledblogTagline
to store the tagline of a siteAbstract Post
se the default value formetaPublishImmediately
attribute to yesBasePost
set the default value for thestatus
attribute to "publish"Account
added adisplayName
attribute (@koke)
Changes to the data model:
Media
added a new attribute called localThumbnailURL to store the url of a thumbnail on the server, specially relevant for videos
Media
added a new attribute called remoteThumbnailURL to store the url of a thumbnail on the server, specially relevant for videos
Changes to the data model:
Account
loses theisWpcom
attribute. Only WordPress.com accounts are stored in Core Data nowBlog.account
is now optionalAccount
loses thexmlrpc
attribute, as they will all be the same WordPress.com XML-RPC endpoint.- Self hosted username is stored in
Blog.username
now, and it's no longer transient. - Removed
isJetpack
attribute - Added
isHostedAtWPcom
attribute
Migration details:
- Only
Account
objects whereisWpcom == YES
will be migrated, added a predicate filter to the mapping model Blog
has a custom migration policy to calculateisHostedAtWPcom
andusername