Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Per Bjurström
Aug 25, 2016
  5096
(9 votes)

Planned breaking changes 2016

An update to let you know what breaking changes are coming in CMS this year.

The main breaking changes are:

  1. A new state AwaitingApproval for content. We are also adding new events to IContentEvents and new save actions. Supports features around content approval.
  2. IContentRepository.Save and the events around that (IContentEvents) have a few quirks and odd behaviours that we have fixed to make the API more consistent and work better with approvals.
  3. Migration to UTC dates in the database will be a required step when upgrading, be ready by doing the migration today.
  4. Reviewed all APIs to make sure we do not expose implementation classes as part of our public versioned API. We will make a separate post about this with more details.

Some of the smaller breaking changes:

  • Links to unpublished content will return 404 (instead of login screen).
  • Localized texts will fallback to a fallback culture in the language files before falling back to values specified in code.
  • LanguageBranch class now implements IReadOnly to support read-only caching.
  • No longer possible to create sites without at least one host defined.
  • Properties PageData.StartPublish/StopPublish are changed to Nullable.
  • StartPublish will be null until published or set explicitly (today it defaults to the created date which is misleading).
  • Fixed confusing handling of empty properties (for example assigning an empty link item collection to a typed model resulted in a null value)
  • IContentVersionRepository List methods have been consolidated into one
  • The UI Framework EPiServer.Shell.dll will be moved from NuGet package EPiServer.Framework to EPiServer.CMS.UI.Core.

A lot more details will be provided as part of the release, including a list of all breaking changes and which APIs are being changed. Pre-release packages of the breaking change release will be made available as part of the continous release process in the coming weeks.

Aug 25, 2016

Comments

valdis
valdis Aug 27, 2016 10:51 PM

Changes for better :) Good work. Are you planning to jump to 10.x?

Aug 29, 2016 08:23 AM

Thanks, yes there will be a new major.

Johan Kronberg
Johan Kronberg Sep 4, 2016 04:55 PM

StartPublish changes sound great!

Please login to comment.
Latest blogs
Optimizely Unit Testing Using CmsContentScaffolding Package

Introduction Unit tests shouldn't be created just for business logic, but also for the content and rules defined for content creation (available...

MilosR | Apr 26, 2024

Solving the mystery of high memory usage

Sometimes, my work is easy, the problem could be resolved with one look (when I’m lucky enough to look at where it needs to be looked, just like th...

Quan Mai | Apr 22, 2024 | Syndicated blog

Search & Navigation reporting improvements

From version 16.1.0 there are some updates on the statistics pages: Add pagination to search phrase list Allows choosing a custom date range to get...

Phong | Apr 22, 2024

Optimizely and the never-ending story of the missing globe!

I've worked with Optimizely CMS for 14 years, and there are two things I'm obsessed with: Link validation and the globe that keeps disappearing on...

Tomas Hensrud Gulla | Apr 18, 2024 | Syndicated blog