Skip to content

Latest commit

 

History

History
971 lines (669 loc) · 32.5 KB

MIGRATIONS.md

File metadata and controls

971 lines (669 loc) · 32.5 KB

Core Data migrations

This file documents changes in the data model. Please explain any changes to the data model as well as any custom migrations.

WordPress 154

@momozw 2024-05-07

  • AbstractPost:
    • Added foreignID (optional, no default, UUID)

WordPress 153

@dvdchr 2023-11-07

  • BloggingPrompt:
    • Removed title and content attributes.
    • Added additionalPostTags (optional, no default, Transformable with type [String])

WordPress 152

@kean 2023-07-28

  • Remove the following stats-related entities: AllTimeStatsRecordValue ,AnnualAndMostPopularTimeStatsRecordValue ,ClicksStatsRecordValue ,CountryStatsRecordValue ,FileDownloadsStatsRecordValue ,FollowersCountStatsRecordValue ,FollowersStatsRecordValue ,LastPostStatsRecordValue ,OtherAndTotalViewsCount ,PublicizeConnectionStatsRecordValue ,ReferrerStatsRecordValue ,SearchResultsStatsRecordValue ,StatsRecord ,StatsRecordValue ,StreakInsightStatsRecordValue ,StreakStatsRecordValue ,TagsCategoriesStatsRecordValue ,TodayStatsRecordValue ,TopCommentedPostStatsRecordValue ,TopCommentsAuthorStatsRecordValue ,TopViewedAuthorStatsRecordValue ,TopViewedPostStatsRecordValue ,TopViewedVideoStatsRecordValue ,VisitsSummaryStatsRecordValue.
  • Remove statsRecords and lastStatsSync from Blog

WordPress 151

@dvdchr 2023-06-28

  • Blog: added planActiveFeatures (optional, no default, Transformable with type [String])

@dvdchr 2023-06-23

  • Created a new entity PublicizeInfo with:

    • sharedPostsCount (required, default 0, Int 64)
    • sharesRemaining (required, default 0, Int 64)
    • shareLimit (required, default 0, Int 64)
    • toBePublicizedCount (required, default 0, Int 64)
  • Created one-to-many relationship between PublicizeInfo and Blog

    • PublicizeInfo
      • blog (optional, to-one, nullify on delete)
    • Blog
      • publicizeInfo (optional, to-one, cascade on delete)

WordPress 150

@momozw 2023-06-20

  • Blog: removed isBlazeApproved attribute.

WordPress 149

@dvdchr 2023-05-16

  • PublicizeService: added status attribute. (optional, default ok, String)

WordPress 148

@momozw 2023-02-20

  • Blog: added isBlazeApproved attribute. (required, default NO, Boolean)

@salimbraksa 2023-02-22

  • Created a new entity BlockedAuthor with:
    • accountID (required, no default, Int 64)
    • authorID (required, no default, Int 64)

WordPress 147

@salimbraksa 2023-02-04

  • Created a new entity BlockedSite with:
    • accountID (required, no default, Int 64)
    • blogID (required, no default, Int 64)

WordPress 146

@salimbraksa 2023-01-31

  • ManagedAccountSettings: added twoStepEnabled attribute. ( required, default NO, Boolean)

WordPress 145

@geriux 2022-07-08

  • Media: added remoteLargeURL attribute. (optional, no default, String)
  • Media: added remoteMediumURL attribute. (optional, no default, String)

WordPress 144

@salimbraksa 2022-07-07

  • UserSuggestion: added userID attribute. (optional, no default, Int 64)

WordPress 143

@wargcm 2022-06-01 (@scoutharris 2022-05-24)

  • Post: added bloggingPromptID attribute. (optional, no default, String)

WordPress 142

@dvdchr 2022-05-31

  • Updated BloggingPrompt:
    • displayAvatarURLs now uses NSSecureUnarchiveFromData as Transformer.

WordPress 141

@wargcm 2022-05-23

  • Created a new entity BloggingPromptSettings with:
    • isPotentialBloggingSite (required, default NO, Boolean)
    • promptCardEnabled (required, default YES, Boolean)
    • promptRemindersEnabled (required, default NO, Boolean)
    • reminderTime (required, default empty string, String)
    • siteID (required, default 0, Int 32)
    • reminderDays one-to-one mapping to BloggingPromptSettingsReminderDays
  • Created a new entity BloggingPromptSettingsReminderDays with:
    • monday (required, default NO, Boolean)
    • tuesday (required, default NO, Boolean)
    • wednesday (required, default NO, Boolean)
    • thursday (required, default NO, Boolean)
    • friday (required, default NO, Boolean)
    • saturday (required, default NO, Boolean)
    • sunday (required, default NO, Boolean)
    • settings one-to-one mapping to BloggingPromptSettings

WordPress 140

@dvdchr 2022-05-13

  • Created a new entity BloggingPrompt with:
    • promptID (required, default 0, Int 32)
    • siteID (required, default 0, Int 32)
    • text (required, default empty string, String)
    • title (required, default empty string, String)
    • content (required, default empty string, String)
    • attribution (required, default empty string, String)
    • date (optional, no default, Date)
    • answered (required, default NO, Boolean)
    • answerCount (required, default 0, Int 32)
    • displayAvatarURLs (optional, no default, Transformable with type [URL])

WordPress 138

@dvdchr 2022-03-07

  • Comment: added visibleOnReader attribute. (required, default true, Boolean)

WordPress 137

@dvdchr 2021-11-26

  • Comment: added authorID attribute. (optional, default 0, Int 32)

WordPress 134

@dvdchr 2021-10-14

  • ReaderPost: added receivesCommentNotifications attribute. (required, default false, Boolean)

WordPress 132

@momo-ozawa 2021-08-19

  • Post: deleted geolocation attribute
  • Post: deleted latitudeID attribute
  • Post: deleted longitudeID attribute

WordPress 131

@scoutharris 2021-08-04

  • Comment: set author_ip default value to empty string

WordPress 130

@scoutharris 2021-08-03

  • Comment: set attribute default values
    • author: empty string
    • author_email: empty string
    • author_url: empty string
    • authorAvatarURL: empty string
    • commentID: 0
    • content: empty string
    • hierarchy: empty string
    • isLiked: NO
    • link: empty string
    • parentID: 0
    • postID: 0
    • postTitle: empty string
    • status: empty string
    • type: comment

WordPress 129

@scoutharris 2021-07-29

  • Comment: set rawContent attribute as optional. Self-hosted does not have this property.

WordPress 128

@scoutharris 2021-07-27

  • Comment: added rawContent attribute. (required, default empty string, String)

WordPress 127

@chipsnyder 2021-07-1

  • BlockEditorSettings: added the attribute

    • rawStyles (optional, no default, String)
    • rawFeatures (optional, no default, String)
  • BlockEditorSettingElement: added the attribute

    • order (required, 0, Int)

WordPress 126

@scoutharris 2021-06-28

  • Comment: added canModerate attribute. (required, default false, Boolean)

WordPress 125

@aerych 2021-06-04

  • ReaderPost: added canSubscribeComments attribute. (required, default false, Boolean)
  • ReaderPost: added isSubscribedComments attribute. (required, default false, Boolean)

WordPress 124

@scoutharris 2021-05-07

  • LikeUser: added dateFetched attribute.

WordPress 123

@scoutharris 2021-04-28

  • Added new attributes to LikeUser:
    • likedSiteID
    • likedPostID
    • likedCommentID
  • Corrected spelling of dateLikedString

WordPress 122

@scoutharris 2021-04-23

  • Added new entities:
  • LikeUser
  • LikeUserPreferredBlog
  • Created one-to-one relationship between LikeUser and LikeUserPreferredBlog

WordPress 121

@twstokes 2021-04-21

  • BlogAuthor: added the attribute
    • deletedFromBlog (required, default NO, Boolean)

WordPress 120

@chipsnyder 2021-04-12

  • Created a new entity BlockEditorSettings with:

    • isFSETheme (required, default false, Boolean) FSE = "Full Site Editing"
    • lastUpdated (required, no default, Date)
  • Created a new entity BlockEditorSettingElement with:

    • type (required, no default, String)
    • value (required, no default, String)
    • slug (required, no default, String)
    • name ( required, no default, String)
  • Created one-to-many relationship between BlockEditorSettings and BlockEditorSettingElement

    • BlockEditorSettings
      • elements (optional, to-many, cascade on delete)
    • BlockEditorSettingElement
      • settings (required, to-one, nullify on delete)
  • Created one-to-one relationship between Blog and BlockEditorSettings

    • BlockEditorSettings
      • blockEditorSettings (optional, to-one, cascade on delete)
    • BlockEditorSettings
      • blog (required, to-one, nullify on delete)

WordPress 119

@mkevins 2021-03-31

  • PageTemplateCategory: added the attribute
    • ordinal as Int64 (non-optional)

WordPress 118

@chipsnyder 2021-03-26

  • PageTemplateLayout: set default values on:
    • demoUrl to Empty String
    • previewTablet to Empty String
    • previewMobile to Empty String

WordPress 117

@mkevins 2021-03-17

  • PageTemplateLayout: added the attributes
    • demoUrl as string
    • previewTablet as string
    • previewMobile as string

WordPress 116

@ceyhun 2021-03-15

  • BlogSettings: renamed commentsFromKnownUsersWhitelisted to commentsFromKnownUsersAllowlisted
  • BlogSettings: renamed jetpackLoginWhiteListedIPAddresses to jetpackLoginAllowListedIPAddresses
  • BlogSettings: renamed commentsBlacklistKeys to commentsBlocklistKeys

WordPress 115

@mindgraffiti 2021-03-10

  • Added blockEmailNotifications is attribute to AccountSettings entity.

WordPress 114

@aerych 2021-02-25

  • Changes Blog inviteLinks relation deletion rule to cascade.

WordPress 113

@aerych 2021-02-19

  • Added InviteLinks entity.

WordPress 112

@scoutharris 2021-01-29

  • ReaderPost: added isSeenSupported attribute.
  • ReaderPost: changed default value of isSeen to true.

WordPress 111

@scoutharris 2021-01-14

  • Added isSeen attribute to ReaderPost entity.

WordPress 110

@emilylaguna 2021-01-05

  • Removed an invalid relationship to ReaderSiteTopic.sites from the Comment entity

WordPress 109

@mindgraffiti 2020-12-15

  • Added unseenCount attribute to ReaderSiteTopic entity

WordPress 108

@scoutharris 2020-12-14

  • ReaderTeamTopic: added organizationID.
  • ReaderSiteTopic: made organizationID non-optional.
  • ReaderPost: made organizationID non-optional.

WordPress 107

@scoutharris 2020-12-09

  • ReaderSiteTopic: removed isWPForTeams, added organizationID.
  • ReaderPost: removed isWPForTeams, added organizationID.

WordPress 106

@mindgraffiti 2020-12-07

  • Added isWPForTeams property to ReaderSiteTopic.

WordPress 105

@scoutharris 2020-12-04

  • Added isWPForTeams property to ReaderPost.

WordPress 104

@frosty 2020-12-03

  • Set the following Transformable properties to use the NSSecureUnarchiveFromData:
    • AbstractPost.revisions
    • Blog.capabilities
    • Blog.options
    • Blog.postFormats
    • MenuItem.classes
    • Notification.body
    • Notification.header
    • Notification.meta
    • Notification.subject
    • Post.disabledPublicizeConnections
    • Theme.tags
  • Set custom transformers on the following properties:
    • BlogSettings.commentsBlacklistKeys -> SetValueTransformer
    • BlogSettings.commentsModerationKeys -> SetValueTransformer
    • BlogSettings.jetpackLoginWhiteListedIPAddresses -> SetValueTransformer
    • Media.error -> NSErrorValueTransformer
    • Post.geolocation -> LocationValueTransformer

WordPress 103

@guarani 2020-11-25

  • Add a new SiteSuggestion entity to support Gutenberg's xpost implementation
  • Add a one-to-many relationship between Blog and SiteSuggestion

WordPress 102

@chipsnyder 2020-10-20

  • Added one-to-many relationship between Blog and PageTemplateCategory

    • Blog
      • pageTemplateCategories (optional, to-many, cascade on delete)
    • PageTemplateCategory
      • blog (required, to-one, nullify on delete)
  • Updated the many-to-many relationship between PageTemplateLayout and PageTemplateCategory

    • PageTemplateLayout
      • categories (optional, to-many, nullify on delete)
    • PageTemplateCategory
    • layouts (optional, to-many, cascade on delete)

WordPress 101

@emilylaguna 2020-10-09

  • Add a relationship between ReaderCard and ReaderSiteTopic

WordPress 100

@guarani 2020-10-09

  • Add a new UserSuggestion entity
  • Add a one-to-many relationship between Blog and UserSuggestion

WordPress 99

@chipsnyder 2020-10-05

  • Created a new entity PageTemplateCategory with:

    • desc (optional, String) short for "description"
    • emoji (optional, String)
    • slug (required, no default, String)
    • title ( required, no default, String)
  • Created a new entity PageTemplateLayout with:

    • content (required, no default, String)
    • preview (required, no default, String)
    • slug (required, no default, String)
    • title ( required, no default, String)
  • Created many-to-many relationship between PageTemplateLayout and PageTemplateCategory

    • PageTemplateLayout
      • categories (optional, to-many, nullify on delete)
    • PageTemplateCategory
      • layouts (optional, to-many, nullify on delete)

WordPress 98

@leandrowalonso 2020-07-27

  • Add a new ReaderCard entity
  • Add a relationship between ReaderCard and ReaderPost
  • Add a relationship between ReaderCard and ReaderTagTopic

WordPress 97

@aerych 2020-06-17

  • All stats entities were reviewed for consistency of Optional settings for strings and dates and default values for scalar numerical fields.
  • Categories entity updated to make numeric fields scalar and non-optional.

WordPress 96

@Gio2018 2020-06-12

  • Add fields supportPriority, supportName and nonLocalizedShortname to the Plan entity for Zendesk integration.

WordPress 95

@aerych 2020-03-21

  • ReaderPost added the property isBlogAtomic (optional, Boolean).

WordPress 94

@guarani 2019-11-28

  • AbstractPost added autosaveIdentifier (nullable NSNumber) property.

WordPress 93

@guarani 2019-10-27

  • AbstractPost added autosaveTitle (nullable String), autosaveExcerpt (nullable String), autosaveContent (nullable String), and autosaveModifiedDate (nullable Date) properties.

WordPress 92

@jklausa 2019-08-19

  • AbstractPost: Addded a confirmedChangesHash (nullable String) and confirmedChangesTimestamp (nullable Date) properties.

@leandroalonso 2019-09-27

  • AbstractPost: Added autoUploadAttemptsCount (Int 16, default 0) property.

@shiki 2019-10-04

-AbstractPost: Added statusAfterSync property (nullable, String).

  • Adds a custom migration for both Post and Page entities. The migration copies the values of status to statusAfterSync. This is done via the WordPress-91-92.xcmappingmodel.

WordPress 91

@aerych 2019-10-15

  • WPAccount added primaryBlogID property.

WordPress 90

@diegoreymendez 2019-08-28

  • Media added autoUploadFailureCount property.

WordPress 89

@scoutharris 2019-08-xx

  • Added FileDownloadsStatsRecordValue entity.

WordPress 88

@danielebogo 2019-07-24

  • AccountSettings added usernameCanBeChanged property to store a bool value.

@etoledo 2019-07-19

  • Blog: Added mobileEditor and webEditor properties

WordPress 87

@klausa 2019-02-15

  • Added following entities:
  • StatsRecordValue

  • StatsRecord

  • AllTimeStatsRecordValue

  • AnnualAndMostPopularTimeStatsRecordValue

  • ClicksStatsRecordValue

  • CountryStatsRecordValue

  • FollowersStatsRecordValue

  • LastPostStatsRecordValue

  • PublicizeConnectionStatsRecordValue

  • ReferrerStatsRecordValue

  • SearchResultsStatsRecordValue

  • StreakInsightStatsRecordValue

  • StreakStatsRecordValue

  • TagsCategoriesStatsRecordValue

  • TopCommentedPostStatsRecordValue

  • TopCommentsAuthorStatsRecordValue

  • TopViewedAuthorStatsRecordValue

  • TopViewedPostStatsRecordValue

  • TopViewedVideoStatsRecordValue

  • VisitsSummaryStatsRecordValue

WordPress 86

@aerych 2018-12-08

  • Added Plan, PlanGroup, and PlanFeature entities and properties.

WordPress 85

@danielebogo 2018-11-12

  • Added BlogAuthor to store the data of a blog author.
  • Blog added authors property to store a set of BlogAuthor.

WordPress 84

@jklausa / @pinarol 2018-11-01

  • Blog added a hasDomainCredit property to see whether user can redeem their credit for a free domain.

WordPress 83

@danielebogo 2018-10-30

  • Renamed RevisionDiffAbstractValue, RevisionDiffContentValue, RevisionDiffTitleValue to DiffAbstractValue, DiffContentValue, DiffTitleValue.
  • Set DiffAbstractValue as abstract entity which was omitted from model 82.
  • Replaced relationship property name on DiffContentValue and DiffTitleValue from relationship to revisionDiff.
  • Set DiffAbstractValue as parent entity of DiffContentValue which was omitted from model 82.
  • Replaced properties name on DiffAbstractValue from operation to diffOperation and type to diffType.
  • Added property index on DiffAbstractValue to store the right index position within the set.

WordPress 82

@danielebogo 2018-10-26

  • AbstractPost added revisions property to store the revisions IDs.
  • Added Revision, to store the data of a post revision, like title, content, date.
  • Added RevisionDiff to store the data for a revision diff, like the amount of additions or deletions and the revision id it refers to.
  • Added RevisionDiffAbstractValue, RevisionDiffContentValue, RevisionDiffTitleValue: these will store the type of change and the operation type.

WordPress 81

@nheagy 2018-09-26

  • Replaced QuickStartCompletedTour with QuickStartTourState with completed and skipped attributes

WordPress 80

  • @danielebogo 2018-08-31
  • Post added isStickyPost property to mark posts as sticky.

WordPress 79

  • @frosty 2018-08-15
  • Re-added PublicizeService.externalUsersOnly property from model 77, which was omitted from model 78.

WordPress 78

  • @nheagy 2018-07-25
  • Added QuickStartCompletedTour for tracking completed Quick Start tours

WordPress 77

  • @aerych 2018-07-27
  • PublicizeService added externalUsersOnly (bool) property. A new field returned by the API.

WordPress 76

  • @frosty 2018-05-16
  • ReaderPost added isSavedForLater property to mark posts as saved to read later.

WordPress 75

  • @astralbodies 2018-05-15

  • Media corrected featuredOnPosts relationship to reference AbstractPost instead of Post.

  • @frosty 2018-04-25

  • AccountSettings added tracksOptOut property, used to store the user's current preference for opting out of analytics tracking.

  • @danielebogo 2018-04-23

  • ReaderSiteInfoSubscriptionPost and ReaderSiteInfoSubscriptionEmail added to store site notifications subscription data.

  • ReaderSiteTopic added postSubscription and emailSubscription properties as relationships to ReaderSiteInfoSubscriptionPost and ReaderSiteInfoSubscriptionEmail.

WordPress 74

  • @sergioestevao 2018-04-18
  • AbstractPost added featuredImage a relationship to Media for the media featured in a post and removed 'post_thumbnail' that used to store a Int with the mediaID information.

WordPress 73

  • @sergioestevao 2018-03-05
  • ``BlogaddedquotaSpaceAllowed` and 'quotaSpaceUsed' that stores a Int64, long number with quota information for the site.

WordPress 72

  • @sergioestevao 2018-02-07
  • ``Mediaaddederror` Transformable property that stores a NSError object that resulted from a failed import or upload.

WordPress 71

  • @elibud 2018-02-02
  • BlogSettings added jetpackLazyLoadImages and jetpackServeImagesFromOurServers Bool properties.

WordPress 70

  • @koke 2018-01-16
  • BlogSettings added gmtOffset Decimal property, and timeZoneString String property. Store the timezone settings.

WordPress 69

  • @ctarda 2017-11-27
  • PostTag added tagDescription string property and postCount integer property. Store an optional description and the number of posts a tag has been used in.

WordPress 68

  • @elibud 2017-12-12
  • BlogSettings added the following string properties: dateFormat, timeFormat, startOfWeek, the following boolean properties ampSupported, ampEnabled and an int_32 postsPerPage property.

WordPress 67

  • @3vangelos 2017-09-26
  • Media added alt string property. Stores the information for an html alt tag for images.

WordPress 66

  • @elibud 2017-08-17
  • BlogSettings added the following Jetpack security settings properties: jetpackMonitorEnabled, jetpackMonitorEmailNotifications, jetpackMonitorPushNotifications, jetpackBlockMaliciousLoginAttempts, jetpackSSOEnabled, jetpackSSOMatchAccountsByEmail, jetpackSSORequireTwoStepAuthentication boolean, default NO and jetpackLoginWhiteListedIPAddresses string set property.

WordPress 65

  • @elibud 2017-08-02
  • Theme added themeUrl string property.

WordPress 64

  • @elibud 2017-08-02
  • Theme added custom boolean property. Default NO.

WordPress 63

  • @koke 2017-07-31
  • Role added with slug, name, blog.
  • Blog added roles relationship.

WordPress 62

  • @koke 2017-07-21
  • Blog removed jetpackAccount
  • WPAccount removed jetpackBlogs
  • @koke 2017-07-19
  • Blog added userID Int64 property. Stores the current user ID.

WordPress 61

  • @kurzee 2017-06-16
  • Media added localThumbnailIdentifier string property. Stores the locally generated thumbnail identifier.

WordPress 60

  • @elibud 2017-05-31
  • BlogSettings added iconMediaID int_32 property. Stores the mediaID of the site's icon.

WordPress 59

  • @kurzee 2017-05-04
  • MenuItem added classes property.
  • @elibud 2017-04-26
  • BasePost added suggested_slug property.

WordPress 58

  • @elibud 2017-04-06
  • Blog added hasPaidPlan boolean property. Default NO. Not optional.

WordPress 57

  • @kurzee 2017-03-16
  • Media removed orientation property.
  • Media removed progress property.

WordPress 56

  • @jleandroperez 2017-02-22
  • BasePost removed mt_text_more property
  • @koke 2017-02-10
  • Account added emailVerified property.
  • @elibud 2017-02-02
  • Post added optional disabledPublicizeConnections transformable property.
  • Post added optional publicizeMessage and publicizeMessageID string properties.

WordPress 55

  • @aerych 2016-12-21
  • ReaderPost renamed preserveForRestoration to "inUse"
  • ReaderAbstractTopic renamed preserveForRestoration to "inUse"

WordPress 54

  • @aerych 2016-12-08
  • ReaderPost added preserveForRestoration boolean. Indexed. Default NO. Not optional.

WordPress 53

  • @jleandroperez 2016-10-27
  • Notification added notificationHash property.
  • @jleandroperez 2016-10-19
  • Notification removed simperiumKey property.
  • Notification removed ghostData property.
  • Notification added notificationId property.
  • Removed Meta entity.

WordPress 52

  • @koke 2016-09-28
  • Added ReaderTeamTopic entity.

WordPress 51

  • @aerych 2016-08-12
  • Added algorithm optional string field to ReaderAbstractTopic.
  • Added railcar optional NSData field to ReaderPost.
  • @aerych 2016-08-05
  • Removed ReaderSite entity.
  • @aerych 2016-07-19
  • ReaderAbstractTopic added preserveForRestoration boolean. Indexed. Default NO. Not optional.

WordPress 50

  • @aerych 2016-06-24
  • ReaderSiteTopic added feedURL string property
  • @jleandroperez 2016-06-20
  • Person added creationDate attribute.
  • @jleandroperez 2016-06-21
  • Person removed isFollower property.
  • Person added kind Int16 attribute.
  • @aerych 2016-06-09
  • Moved dateModified property from BasePost to AbstractPost
  • @aerych 2016-05-26
  • Added ReaderSearchSuggestion entity. Represents a search in the reader.
  • @aerych 2016-05-31
  • Added dateModified property to BasePost model.
  • @aerych 2016-05-23
  • ReaderPost added score.
  • ReaderPost added sortRank. It is not optional so the default of 0 is enforced.

WordPress 49

  • @frosty 2016-05-17
  • Added Domain entity. Represents a domain belonging to a site.
  • Blog added new relationship domains. An unordered set of Domains for the blog.
  • @jleandroperez 2016-05-13
  • Person updated siteID to Int64.
  • Person updated userID to Int64.
  • Person added Boolean isFollower.
  • @frosty 2016-05-12
  • Blog added String planTitle.
  • @aerych 2016-05-12
  • Added ReaderSearchTopic entity. Represents a search in the reader.
  • @jleandroperez 2016-05-04
  • Person added Int64 linkedUserID.
  • @jleandroperez 2016-04-22
  • Blog added transformable capabilities.

WordPress 48

  • @sergioestevao 2016-04-05
  • Media added new integer attribute postID to store the post to where the media is attached to.
  • @kurzee 2016-04-08
  • Menu changing menuId attribute to menuID as a int_32 number instead of string.
  • MenuItem changing itemId attribute to itemID as an int_32 number instead of string.
  • MenuItem changing contentId attribute to contentID as an int_64 number instead of string.
  • @jleandroperez 2016-04-11
  • AccountSettings added new string emailPendingAddress. Whenever it's not nil, contains the new User's Email Address.
  • AccountSettings added new bool emailPendingChange. Indicates whether there's a pending Email change, or not.

WordPress 47 (@kurzee 2016-03-07)

  • Post added new string attribute postType to store the associated string type of a Post entity.
  • Added PostType entity. Represents a post type and its info.
  • Blog added new relationship postTypes to store PostType entities for a site.

WordPress 46 (@aerych 2016-01-29)

  • BlogSettings added string sharingButtonStyle. Stores style to use for sharing buttons.
  • BlogSettings added string sharingLabel. Stores the text to show in the sharing label.
  • BlogSettings added string sharingTwitterName. Stores the username used when sharing to Twitter.
  • BlogSettings added bool sharingCommentLikesEnabled. Whether comments display a like button.
  • BlogSettings added bool sharingDisabledLikes. Whether posts display a like button.
  • BlogSettings added bool sharingDisabledReblogs. Whether posts display a reblog button.
  • BlogSettings added integer languageID. Stores the Blog's Language ID.
  • Added SharingButton entity. Represents a buton for sharing content to a third-party service.
  • Blog added new relationship sharingButtons. An unordered set of ShareButtons for the blog.

WordPress 45 (@kurzee 2016-01-15)

  • 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 called menus. Persisting associated Menus for a site.
  • Blog added new relationship called menuLocations. Persists associated MenuLocations available for a site.
  • Blog added new relationship called tags. Persisting associated PostTags for a site.
  • Blog added new integer64 attribute planID to store a blog's current plan's product ID.

WordPress 44 (@aerych 2016-01-11)

  • 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 called connections. These are the PublicizeConnections for the blog.

WordPress 43 (@aerych 2015-12-07)

  • ReaderPost added new integer64 called feedID to store a post's feed ID if it exists.
  • ReaderPost added new integer64 called feedItemID to store a post's feed item ID if it exists.

(@koke 2015-11-23)

  • Added new entity AccountSettings
  • Account has now a new one-to-one relationship mapping to AccountSettings

(@alexcurylo 2015-11-26)

  • Theme added new string attributes author and authorUrl to store a theme's author information
  • Theme added new boolean attribute purchased to store a premium theme's purchased status

WordPress 42 (@jleandroperez 2015-11-06)

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 to BlogSettings
  • Migrated the attribute Blog.blogName over to BlogSettings.name
  • Migrated the attribute Blog.blogTagline over to BlogSettings.tagline
  • Migrated the attribute Blog.defaultCategoryID over to BlogSettings.defaultCategoryID
  • Migrated the attribute Blog.defaultPostFormat over to BlogSettings.defaultPostFormat
  • Migrated the attribute Blog.geolocationEnabled over to BlogSettings.geolocationEnabled
  • Migrated the attribute Blog.privacy over to BlogSettings.privacy
  • Migrated the attribute Blog.relatedPostsAllowed over to BlogSettings.relatedPostsAllowed
  • Migrated the attribute Blog.relatedPostsEnabled over to BlogSettings.relatedPostsEnabled
  • Migrated the attribute Blog.relatedPostsShowHeadline over to BlogSettings.relatedPostsShowHeadline
  • Migrated the attribute Blog.relatedPostsShowThumbnails over to BlogSettings.relatedPostsShowThumbnails

WordPress 41 (@jleandroperez 2015-11-23)

  • Notification.id field has been updated to Integer 64

WordPress 40 (@alexcurylo 2015-10-14)

Changes to the data model:

  • Theme added a new string attribute called demoUrl to store a theme's demo site address
  • Theme added a new string attribute called price to store a premium theme's price display string
  • Theme added a new string attribute called stylesheet to store identifier used to construct helper links
  • Theme added a new number attribute called order to store the display order retrieved by
  • Added new entity Person

(@aerych 2015-11-09)

  • Added new entity ReaderCrossPostMeta
  • ReaderPost added new relationship called crossPostMeta to store the source post ID of a cross-post.

WordPress 39 (@sergioestevao 2015-09-09)

  • Blog added a new boolean attribute called relatedPostsAllowed to store the related setting on the site;
  • Blog added a new boolean attribute called relatedPostsEnabled to store the related setting on the site;
  • Blog added a new boolean attribute called relatedPostsShowHeadline to store the related setting on the site;
  • Blog added a new boolean attribute called relatedPostsShowThumbnails to store the related setting on the site;

WordPress 38 (@sergioestevao 2015-08-21)

Changes to the data model:

  • Blog added a new number attribute called privacy to store the privacy setting on the site
  • ReaderPost added new string fields for blavatar, primaryTag, and primaryTagSlug
  • ReaderPost added new integer fields for wordCount, and readingTime
  • ReaderPost added new boolean fields for isExternal, and isJetpack
  • ReaderPost removed fields dateCommentsSynced, and storedComment
  • Added new entities: ReaderAbstractTopic, ReaderTagTopic, ReaderListTopic, ReaderDefaultTopic, ReaderSiteTopic, ReaderGapMarker.
  • Edited obsolete mapping model: SafeReaderTopicToReaderTopic
  • Removes obsolete ReaderTopic model

WordPress 37 (@sergioestevao 2015-08-01)

Changes to the data model:

  • Blog added a new number attribute called defaultCategoryID to store the default category id for new posts on the site
  • Blog added a new string attribute called defaultPostFormat to store the default post format for new posts on the site

WordPress 36 (@sergioestevao 2015-07-08)

Changes to the data model:

  • Blog added a new attribute called blogTagline to store the tagline of a site
  • Abstract Post se the default value for metaPublishImmediately attribute to yes
  • BasePost set the default value for the status attribute to "publish"
  • Account added a displayName attribute (@koke)

WordPress 35 (@sergioestevao 2015-07-08)

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

WordPress 34 (@sergioestevao 2015-06-20)

  • Media added a new attribute called remoteThumbnailURL to store the url of a thumbnail on the server, specially relevant for videos

WordPress 33 (@koke 2015-06-12)

Changes to the data model:

  • Account loses the isWpcom attribute. Only WordPress.com accounts are stored in Core Data now
  • Blog.account is now optional
  • Account loses the xmlrpc 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 where isWpcom == YES will be migrated, added a predicate filter to the mapping model
  • Blog has a custom migration policy to calculate isHostedAtWPcom and username