Breaking Changes in EAV and 2sxc
Breaking Changes in EAV and 2sxc v13
We try to minimize breaking changes, and most breaking changes won't affect your work, because it's internal API. We're documenting it here to ensure you know what happened, in case you still run into this.
Summary
V13 did some clean-up. It will rarely affect you, but if you are using the TimelineJs App it will.
Breaking Changes in 2sxc 13.00
API Changes that may affect you
An old, non-DI feature for Inner Content is being deprecated and will be removed in v14
see instructionsAn old feature for publishing module InstanceData as JSON is removed
see instructionsAn old feature to create DataSources is removed
see instructionsTwo old data-conversion features DataToDictionary and EntitiesToDictionary were removed
see instructionsSome internal functionality which enabled
IEntity
objects to convert links containingfile:...
andpage:...
has been removed. This only affects special deep code calls onIEntity
and does _not affectDynamicEntity
objects in Razor see instructionsThe old feature
Eav.Factory.Resolve<T>()
was deprecated and will be removed in v14
see instructionsThe old feature
BlockDataSource.Cache.GetContentType(...)
was removed see instructionsThe Dnn Static
ToSic.Sxc.Dnn.Factory
is being deprecated and will be removed in v14 see instructions
Major Updates with may affect you
- The Image Resizer is being replaced with ImageFlow
- The App containing Site-wide settings is changed to
Primary
- previously it used theContent
app for this. We believe this won't affect many users, as the settings-stack is still very new in v12
Things which probably don't affect anybody
- SQL changes - minor updates to the Database
- .net Framework and Dll Updated to Match Dnn 9 Requirements - but still works in Dnn 7.4.2
- .net Framework 4.7.2 now required (previously .net Framework 4.5.1)
- .net Standard 2.0.3 required (previously .net Standard 1.6)
Important: This will be referenced in theweb.config
upon installation - Dependency Injection updated to .net core 2.1.1 (previously 1.1)
- Newtonsoft.Json updated to v10.0.3
- Entity Framework updated to 2.1.1 (previously 1.1) - Oqtane is unmodified and uses 3.1.4
- Dnn DLLs renamed
ToSic.Sxc.Dnn.dll
becameToSic.Sxc.Dnn.Core.dll
for consistencyToSic.SexyContent.WebApi.dll
becameToSic.Sxc.Dnn.WebApi.dll
ToSic.SexyContent.Razor.dll
becameToSic.Sxc.Dnn.Razor.dll
- An internal object
ToSic.Eav.Apps.State
was removed
Internal APIs which were removed
- Static
ToSic.Eav.Data.Builder.AttribBuilder.AddValue(...)