Version 4.0.0
✨ Highligts
-
Content, Media, and Member queries have been split into separate models to allow developers to only expose the queries they are actually using. See the new querying section in the documentation
-
Added better support for multi-culture sites (#145)
-
Added Block grid support
-
Updated to Hotchocolate 13.2.1. This brings lots of improvements and features take a look at What's new for Hot Chocolate 13 - Some features to notice is the support for Cache-Control and the improvements to authorization.
-
TProperty
has been removed from classes where it wasn't needed. See #181
⚠️ BREAKING CHANGES
-
UseSecurity
has been removed from the UHeadless options. The naming was confusing and the developer should control the authentication and authorization themselves to have greater control over their application. See the new Security considerations documentation for more information. -
Content, Media, and Member queries have been split into separate models to allow developers to only expose the queries they are actually using. See the new querying section in the documentation
-
TProperty
has been removed from classes where it wasn't needed. See #181 -
Property queries have been removed as they had a weird place in the package and no real use (you can do the exact same thing with the content queries).
-
Media & Members have had culture removed from the query options. It's not possible to create media and members in different cultures, and it's therefore not necessary to be able to query for it.
-
Content queries have had
segment
&Fallback
added to the query options to better support culture querying. (#145) -
The
AllMembers
query has been renamed toMembersAll
to have similar naming as the rest of the queries. -
IVariationContextAccessor
has been added to the constructor onBasicContent
,BasicMedia
, and ``BasicMember`. -
What was
BasicContentOfBasicPropertyAndBasicContentTypeAndBasicContentRedirect
in v3 schema will now beBasicContent
. This simplifies the naming of types used in the schema a lot. -
Replaced
Alias
withModel
onPropertyValue
. TheAlias
data was a duplicate of the one onProperty
therefore theModel
property has been added to show which model is used for a property value. -
Some namespaces weren't synced properly to the location of the files. So to avoid confusion over source files, the namespaces have been synced. New namespaces:
Class | New Namespace |
---|---|
BasicBlockListItem | Nikcio.UHeadless.Base.Basics.EditorsValues.BlockList.Models |
BasicBlockListModel | Nikcio.UHeadless.Base.Basics.EditorsValues.BlockList.Models |
BasicContentPicker | Nikcio.UHeadless.Base.Basics.EditorsValues.ContentPicker.Models |
BasicContentPickerItem | Nikcio.UHeadless.Base.Basics.EditorsValues.ContentPicker.Models |
BasicDateTimePicker | Nikcio.UHeadless.Base.Basics.EditorsValues.DateTimePicker.Models |
BasicPropertyValue | Nikcio.UHeadless.Base.Basics.EditorsValues.Fallback.Models |
BasicMediaPicker | Nikcio.UHeadless.Base.Basics.EditorsValues.MediaPicker.Models |
BasicMediaPickerItem | Nikcio.UHeadless.Base.Basics.EditorsValues.MediaPicker.Models |
BasicMemberPicker | Nikcio.UHeadless.Base.Basics.EditorsValues.MemberPicker.Models |
BasicMemberPickerItem | Nikcio.UHeadless.Base.Basics.EditorsValues.MemberPicker.Models |
BasicMultiUrlPicker | Nikcio.UHeadless.Base.Basics.EditorsValues.MultiUrlPicker.Models |
BasicMultiUrlPickerItem | Nikcio.UHeadless.Base.Basics.EditorsValues.MultiUrlPicker.Models |
BasicNestedContent | Nikcio.UHeadless.Base.Basics.EditorsValues.NestedContent.Models |
BasicNestedContentElement | Nikcio.UHeadless.Base.Basics.EditorsValues.NestedContent.Models |
BasicRichText | Nikcio.UHeadless.Base.Basics.EditorsValues.RichTextEditor.Models |
PropertyMapExtensions | Nikcio.UHeadless.Base.Basics.Maps.Extensions |
BasicProperty | Nikcio.UHeadless.Base.Basics.Models |
🚀 Features
-
Allow
BasicMember
with generic properties -
Added Auth queries. See the new querying section in the documentation
-
Added better support for multi-culture sites (#145)
-
Added Block grid support
🩹 Bug Fixes
- Fixes culture properties on content (#145)
📦 Dependencies
-
Added minimum requirement to be Umbraco 11 & .Net 7
-
Updated to Hotchocolate 13.2.1
Contributors
Thanks to @mrtrandinhvn for reporting the issue with culture queries.