Skip to content

Version 4.0.0

Compare
Choose a tag to compare
@nikcio nikcio released this 12 Jun 19:33
· 119 commits to v4/contrib since this release

✨ Highligts

  1. 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

  2. Added better support for multi-culture sites (#145)

  3. Added Block grid support

  4. 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.

  5. TProperty has been removed from classes where it wasn't needed. See #181

⚠️ BREAKING CHANGES

  1. 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.

  2. 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

  3. TProperty has been removed from classes where it wasn't needed. See #181

  4. 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).

  5. 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.

  6. Content queries have had segment & Fallback added to the query options to better support culture querying. (#145)

  7. The AllMembers query has been renamed to MembersAll to have similar naming as the rest of the queries.

  8. IVariationContextAccessor has been added to the constructor on BasicContent, BasicMedia, and ``BasicMember`.

  9. What was BasicContentOfBasicPropertyAndBasicContentTypeAndBasicContentRedirect in v3 schema will now be BasicContent. This simplifies the naming of types used in the schema a lot.

  10. Replaced Alias with Model on PropertyValue. The Alias data was a duplicate of the one on Property therefore the Model property has been added to show which model is used for a property value.

  11. 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

  1. Allow BasicMember with generic properties

  2. Added Auth queries. See the new querying section in the documentation

  3. Added better support for multi-culture sites (#145)

  4. Added Block grid support

🩹 Bug Fixes

  1. Fixes culture properties on content (#145)

📦 Dependencies

  1. Added minimum requirement to be Umbraco 11 & .Net 7

  2. Updated to Hotchocolate 13.2.1

Contributors

Thanks to @mrtrandinhvn for reporting the issue with culture queries.