Skip to content

Version 4.0.0-preview001

Pre-release
Pre-release
Compare
Choose a tag to compare
@nikcio nikcio released this 06 Jun 14:14
· 158 commits to v4/contrib since this release

4.0.0-preview001 (2023-06-06)

See the work-in-progress documentation for v4 to understand how to use the queries you need (Under Fundamentals).

⚠ BREAKING CHANGES

  • Renamed AllMembers query to MembersAll to have similar naming as the rest of the queries.
  • 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:

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

  • Member queries have been split to separate models which remove BasicMemberQuery.
  • Media queries have been split to separate models which remove BasicMediaQuery.
  • This removes the property queries 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 of different cultures and it's therefore not necessary to be able to query for it.

Content & Property queries have had segment & Fallback added to the query options to better support culture querying.

All GetValue for property values have been changed to Value which better supports culture variants.

  • Introduces IVariationContextAccessor to the constructor on BasicContent
  • What was BasicContentOfBasicPropertyAndBasicContentTypeAndBasicContentRedirect in v3 schema will now be BasicContent. This simplifies the naming of types used in the schema a lot.
  • The content queries have been given a separate class for each query to help developers only expose the data they need.
  • Replace Alias with the model on propertyValue
  • deps: Added min requirement to be Umbraco 11 & .Net 7
  • deps: Updated to Hotchocolate 13

Features

  • Added Auth queries (f93f598)
  • Added better support for multi-culture sites (fb0be99)
  • Added Block grid support (c92e40c)
  • Replace Alias with model on propertyValue (406c102)
  • Split media queries to separate models (368072f)
  • Split member queries to separate models (469e7df)

Bug Fixes

  • Fixes culture properties on content (aee9e0b), closes #145