Version 3.0.0-preview002
Pre-release3.0.0-preview002 (2022-07-16)
BREAKING CHANGES
-
Dropped support for Umbraco v9
-
Namespace changes
- Many namespaces have been changed to make it easier to make extending packages. This also means that some classes have been moved to completely different namespaces.
- If you need to find a class's new location, look in the docs or use the search feature on GitHub.
- Example:
using Nikcio.UHeadless.UmbracoContent
-->using Nikcio.UHeadless.Content
-
Querying properties have been changed. See How to query properties.
-
The
PropertyValue
which is a basis for all property values now always includes an Alias. This is to support the new Property querying with fragments. See How to query properties. -
AddPropertyMapDefaults
has been removed fromIPropertyMap
this now -
GetProperties
has been changed toGetContentItemsProperties
on theIPropertyRespository
-
The
Value
property onBasicProperty
has been changed fromobject
toPropertyValue
to support the new querying. See How to query properties. -
ContentQuery
now takes a new generic parameterTContentRedirect
of typeIContentRedirect
for redirect information. -
GetContentByRoute
has been removed. UseGetContentByAbsoluteRoute
instead.
Features
- Added boilerplate for members (1dd04b7)
- Added ContentRedirect variation to BasicContent (c9d7912)
- Added ContentRouter (52cc95a)
- Added GetMediaByContentType (c725dbf)
- Added ICommand (388bd05)
- Added non generic BasicBlockListItem (8aa14b9)
- Added non generic BasicBlockListModel (6cb3b06)
- Added non generic BasicMemberPicker (a8086e0)
- Added non generic BasicMemberPickerItem (989650b)
- Added TMedia to BasicMedia (07481e2)
- Added type support for properties (19cedce)
- Adds non generic BasicNestedContent (da2f6db)
- Adds non generic BasicNestedContentElement (8a1d37e)
- Refactored Content and Media repository (e0d1723)