- Fixed "Undefined array key" error that appears when edit form is redisplayed after form validation fails.
- Fixed bug where entry query fails when
type
orzone
arguments are used in Fragments field query
- Removed irrelevant arguments for Fragments field GQL query:
entryUri
,entryId
,userId
andrequestProps
- Fixed bug where array instead of
Fragment
model is passed tomatchConditions
(#24) - Fixed bug in GQL
fragments
query wherelimit
is applied before matching conditions, causing returned results to exclude fragments that should be matched (#25)
- Refactor code to bring it up to Craft CMS 4 compatibility
- Rebuild visibility rules functionality with the new condition builder in Craft CMS 4
- Convert legacy URL visibility rules to use the new
EntryUriConditionRule
- Replace GraphQL argument
currentUrl
forfragments
query withentryUri
- Fixed issues with converting legacy URL rules that contain regex sensitive characters
- Fixed error caused by undefined
$siteStatuses
variable in single-site instances - Fixed issue of migrations not running by bumping up
$schemaVersion
- New condition rule type
EntryUriConditionRule
with regex matching operators - Added new
FragmentEntryCondition
to avoid rule type clashes with the nativeEntryCondition
- Added new request condition rule types
- Added user and request conditions in Visibility Rules condition builder
- Added GraphQL arguments to
fragments
query for specifying current user and current request props
- Allow getting the fragment type from fragment by
fragment.type
instead offragment.fragmentType
.
- Added GraphQL support for Fragments field.
- Added GraphQL query for fetching a list of fragments by
type
andzone
. Also supports passing in acurrentUrl
to return only fragments that meet the visibility rules.
- Fixed bug causing fragment sort order to be reset when updating an existing fragment
- Fixed error when creating fragments in installs with custom DB table prefix set up (#6).
- Fixed
getCanonicalId()
method not found error in CMS versions lower than 3.7
- Fixed deprecation warnings due to usage of element's
getSourceId()
method
- Fixed CHANGELOG.md
- Fixed bug when saving fragments in single site setups.
- Fixed bug in FragmentQuery trying to get current URL when current request is a console request.
- Fixed new fragment button error when only one fragment type is available.
- Initial release