cofoundry v0.4.1 Release Notes
Release Date: 2018-09-06 // over 5 years ago-
Due to a tagging mishap, v0.4 was skipped. Please use 0.4.1 instead.
๐ Features
- โก๏ธ #154 Update to .NET 2.1
- #223 Ability to define the sort order for non-orderable custom entities
- #221 Ability to reference the ambient VisualEditor mode
- #220 Custom Entity: Duplicate
- 0๏ธโฃ #214 Default custom entity ordering differences between queries
- 0๏ธโฃ #217 Add mailto links to the default sanitization ruleset
- #206 Custom Entity Permissions: Easily add new permissions to roles after initialization
- #87 Improve Page Querying outside of the admin panel
- #229 Duplicate pages: Does not duplicate block content
- #67 Page/Entities version numbers to be stored in database
- #237 Data mode attributes: throw errors when placed on wrong types
๐ Bugs
- #234 Template.Region.WrapWithTag: editor does not render for single-block regions
- #230 MessageAggregator: Publish message on transaction complete
- #228 Custom Entity: Block data needs to be partitioned by page
- #227 PageBlockTypes: Missing unique index on filename
- #225 Increase the size of the CustomEntityModelType field in the PageTemplate table to account for longer namespaces
- #222 Can't open select boxes for custom entities that have relations on other custom entities
๐ฅ Breaking Changes:
ApiResponseHelper.SimpleQueryResponse
now returns a 404 status code if the result is null.- ๐
IEntityFrameworkSqlExecutor
: All sync operations have been removed - ๐
PropertyBuilderExtensions
has been moved toCofoundry.Core.EntityFramework
namespace. IDatabase
is no longer injected, useICofoundryDatabase
.- ๐ง
ModelBuilder.UseDefaultConfig
has been replaced withHasAppSchema
because since the migration to EF Core no other configuration was being performed here other than setting the default schema. - โ Removed the generic versions of
IOrderableCustomEntityDefinition
andICustomizedTermCustomEntityDefinition
. Use the non-generic versions instead alongside the genericICustomEntityDefinition<TDataModel>
. The generic versions were a shortcut, but I think it's better to be explicit here so we don't have multiple ways of doing things which can be confusing. - ๐
VisualEditorMode
has been moved from theCofoundry.Web
project to theCofoundry.Domain
project. VisualEditorMode.Draft
has been renamedVisualEditorMode.Preview
- โ
SortDirection
naming has been changed from Ascending/Descending to be Default/Resversed to better describe the behaviour, this is because for publish/create date sorting the default behaviour is latest first which is not technically ascending ordering. CustomEntityDetails
,CustomEntitySummary
:HasDraft
property has been renamedHasDraftVersion
,IsPublished
property replaced withIPublishableEntity.IsPublished()
to be consistent with similar classes.GetCustomEntitySummariesByIdRangeQuery
no longer acceptsPublishStatusQuery
filtering, ensuring consistency with other uses ofCustomEntitySummary
andPageSummary
. For an equivalent publish-status-aware query, useGetCustomEntityRenderSummariesByIdRangeQuery
- ๐ฑ
OpenGraphData.Image
has been changed from anImageAssetSummary
to anImageAssetRenderDetails
object. PageRepository.GetPageSummariesByPageIdAsync
was named incorrectly and has been renamedPageRepository.GetPageSummariesByIdRangeAsync
- ๐
AddCustomEntityVersionPageBlockCommand
:PageTemplateId
property has been removed andPageId
has been added in it's place. IQueryable<CustomEntityVersion>.FilterByActive
has been renamed `FilterActive for consistency with similar methods.IQueryable<CustomEntityPublishStatusQuery>.FilterByActive
has been renamedFilterActive()
for consistency with similar methods.- 0๏ธโฃ The default ordering for custom entities that don't use
IOrderableCustomEntityDefinition
is now by Title. You can change this by implementingISortedCustomEntityDefinition
on your custom entity definition.