Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Ditto 0.6.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@leekelleher leekelleher released this 05 Mar 15:54

New features

  • #26 - v6.x support
  • #31 - Calls CanConvertFrom when a custom TypeConverter attribute is used
  • #35 - Added a IPublishedContent context to the TypeConverters
  • #38 - PropertyDescriptor now points to target POCO's property
  • #39 - Marked the ConverterHelper as public
  • #41 - Adds a CultureInfo parameter to the .As<T> extension methods
  • #24 - Added built in TypeConverters:
    • ContentPickerConverter
    • HtmlStringConverter
    • MediaPickerConverter
    • MultiNodeTreePickerConverter
    • MultipleMediaPickerConverter
    • UltimatePickerConverter

API amends (non-breaking changes)

  • #40 - Loosen the constraint on the RenderModel extension method
  • #41 - Adds a CultureInfo parameter to the .As<T> extension methods

Breaking Changes

Important breaking change in v0.6.0

If you are using Ditto's IPublishedContentModelFactory implementation, please note that this has been moved to its own project/assembly.

There are 2 reasons for this breaking change:

  1. We wanted to support Umbraco v6.x (to which the IPublishedContentModelFactory was only introduced in v7.1.4)
  2. We faced a show-stopping issue with models containing references to parent models, which ultimately caused an infinite loop. By moving the ModelFactory to its own project meant we could isolate issues without impacting the development of the main Ditto project.
  • #32 - Moved the ModelFactory code to its own project