- Fix Assets and other element link types and their no-URL check.
- Add
Link::customLinkText.
- Fix element selectors hiding valid targets when “Allow elements without URIs” was off for link types that do not use site
urithe same way as routable entries (Asset, Calendar Event, Formie Form, User, Commerce Variant).
- Remove
ElementLink::checkElementUri()in favour of proper link type setting.
- Fix handling for element field sources with plugin migrations in some instances.
- Refactor Hyper field bootstrapping to DOM auto-mount.
- Fix LinkCollection first-link getters for empty values.
- Fix duplicate Hyper field initialization race.
- Fix a race condition when changing link type where block data wasn’t updating.
- Fix an error for some field migrations in some setups when run from the command line.
- Fix an error for CKEditor 5+ and other plugins using
registerScriptWithVars(). - Fix an edge case of linkValue sometimes being an array and not normalized correctly.
- Add
ElementLink::modifyElementQueryto allow element link types to modify the query to resolve the element.
- Entry element link types now (by default) no longer return disabled entries, only entries that are considered “live”.
- Add support for Craft Content Block fields within links.
- Revamp link type field rendering to use DOM portals, rather than within Vue directly.
- Fix initialization of Hyper fields with Vue, in certain circumstances.
- Fix an error where Lightswitch fields with a default value were not being treated correctly.
- Improve element-caching to exclude drafts and revisions.
- Improve change-detection checks for fields.
- Fix element cache not clearing cached linked-to elements when removing them from the field.
- Update migration-mode check.
- Fix an error for Site link type fields.
- Fix an issue when propagating Hyper field values within Matrix fields on multi-site installs.
- Fix
craft.hyper.getRelatedElementsnot working correctly. - Fix an error when calling
craft.hyper.getRelatedElementswithout asiteparam. - Fix an issue with Craft 5.8+ and
cardThumbAlignment.
- Add support for Hyper fields to be shown in element indexes and element cards.
- Update English translations.
- Fix link type 25% and 75% widths.
- Fix an issue with Craft 5.8+ and
cardThumbAlignment. - Fix extra-small lightswitch style.
- Fix an issue when switching link types for some fields (dropdowns).
- Fix JSON normalization for arrayable data.
- Update Typed Link migration for Super Table and Matrix fields.
- Fix debug code generating a
text.txtfile in@webroot.
- Add placeholder to list of sites for Site link types.
- Update
ArrayHelper::flatten.
- Fix multi-site Hyper fields not propagating element link types correctly.
- Fix an error when changing field layout fields in Craft 5.7+.
- Fix lightswitch UI for Craft 5.7+.
- Fix querying custom fields on a link type with GraphQL.
- Fix field changes being triggered for element-based links.
- Fix an error when migrating content for prefixed databases.
- Fix an error when embedding URLs with special characters.
- Fix an error where international phone numbers were being stripped due to JSON normalization.
- Fix GraphQL link type definitions for custom link types.
- Fix link block spacing in element slide-outs.
- Fix GraphQL
LinkTypeusing the translated link type label. - Fix a migration error for other link fields when renaming field instance handles.
- Fix
Db::prepareForJsonColumndeprecation and handling. - Fix content migration for some link plugins (LinkIt) for certain versions.
- Fix field change warnings for Custom or URL link types.
- Add
LinkInterface::customAttributesfor GraphQL queries. - Element links now have a “Show Site Menu” setting for multi-sites.
- Fix an error with Typed Link migration.
- Fix “copy field handle” button style issue.
- Fix field changes being triggered for element-based links.
- Add migration for Linkit for Craft 5.
- Add migration for Typed Link Field for Craft 5.
- Element links now have a “Show Site Menu” setting for multi-sites.
- Add support for Solspace Calendar Event links.
- Custom Attributes can now override all default link attributes.
- Fix Hyper element links not being propagated correctly when adding new sites.
- Fix
relattribute not working correctly. - Fix toggling “New Window” not persisting.
- Fix en error with element links in Craft 5.4.7+.
- Add a more descriptive warning when Hyper is initialized before Craft is.
- Link types now can specify any required plugins via
getRequiredPlugins(). - Add the ability to merge identical Hyper fields via
fields/mergeandfields/auto-merge. - Add support for ElementEditor.js serialization event (introduced in Craft 5.5) to improve change detection of Hyper field content.
- Improve handling of link types that are invalid (removed or unavailable).
- Hyper will now throw a fatal error if an element query is made before Craft is initialized (as per Craft best practices).
- Fix en error with element links in Craft 5.4.7+.
- Add extra error logging for Matrix and Super Table fields for Typed Link field migration.
- Add “safe” attributes for various link properties to allow
setAttributescorrectly. - Add
linkUrito the GraphQLLinkInterfaceclass.
- Fix use of
initialSerializedValuechanges that were meant to address draft change behaviour. - Fix some properties of a link block being serialized when they don’t need to be.
- Fix compatibility with Vizy.
- Add
Link::linkUri.
- Change element-based links properly checking if their linked-to element is “empty”. For example, linking to a disabled element will now make
isEmptyreturn true.
- Fix an error for multi-site installs where element links were being incorrectly propagated.
- Fix element links not having their
linkSiteIdvalue reset when removing a linked element.
- Add
Link::lowerDisplayName.
- Change
Link::lowerDisplayNametoLink::lowerClassDisplayName. - Change
Link::displayNameSlugtoLink::classDisplayNameSlug.
- Fix an error where min/max links are validated for non-multi link fields.
- Fix an error for not handling invalid link content correctly.
- Fix some JS not initializing for some fields when switching link types.
- Fix an error for Feed Me.
- Update non-English translations.
- Update English translations.
- Update French translations. (thanks @pascalminator).
- Update German translations. (thanks @MoritzLost).
- Improve instructions text contrast for sub-fields.
- Fix link text returning a value when an invalid link.
- Fix an error when determining the link text automatically when the
linkTextfield is excluded from the link type. - Fix link type placeholder not being able to be overwritten.
- Fix Link Type labels not being translated.
- Fix link type translations.
- Fix incompatibility issues with Matrix fields
- Fix multi-link Hyper fields showing the incorrect “more” button for a single tab link type
- Fix link type slide-out button not working correctly
- Add
Link::getLinkType()to return theLinkInterfacefor the link’s type. - Add Formie forms as a link type.
- Now requires PHP
8.2.0+. - Now requires Craft
5.0.0+. - New element-based links on a multi-site now propagate the linked-to element for the same owner site.
- Fix an error where custom text set on a link is retained next time the same link is rendered (without custom text).
- Fix an error with custom fields retaining values after initial creation.
- Fix link type dropdown styling on Safari.
- Fix field changes being triggered when no changes had been made.
- Remove migrations for other plugin (not supported in Craft 5).
- Fix initialization of Hyper fields with Vue, in certain circumstances.
- Update migration-mode check.
- Fix an issue when propagating Hyper field values within Super Table fields on multi-site installs.
- Fix an issue when propagating Hyper field values within Matrix fields on multi-site installs.
- Update English translations.
- Add placeholder to list of sites for Site link types.
- Fix GraphQL link type definitions for custom link types.
- Fix GraphQL
LinkTypeusing the translated link type label. - Backport propagation fix from Hyper 2.
- Add
LinkInterface::customAttributesfor GraphQL queries. - Element links now have a “Show Site Menu” setting for multi-sites.
- Fix an error with Typed Link migration.
- Add support for Solspace Calendar Event links.
- Fix Hyper element links not being propagated correctly when adding new sites.
- Typed Link field migrations now include an “Update Legacy Fields” button as a first-step in the migration process to fix incorrect Typed Link fields
- Typed Link Field Content Migration now prioritize
linkedSiteIdoversiteIdto support cross site relations. (thanks @internetztube).
- Fix link types from initializing too early.
- Add back handling for when Hyper is initialised before Craft is ready, but log exception and stack trace.
- Add a more descriptive warning when Hyper is initialized before Craft is.
- Link types now can specify any required plugins via
getRequiredPlugins().
- Improve handling of link types that are invalid (removed or unavailable).
- Hyper will now throw a fatal error if an element query is made before Craft is initialized (as per Craft best practices).
- Add extra error logging for Matrix and Super Table fields for Typed Link field migration.
- Add “safe” attributes for various link properties to allow
setAttributescorrectly. - Add
linkUrito the GraphQLLinkInterfaceclass.
- Fix a compatibility issue with Craft 4.11.x.
- Add
Link::linkUri. - Add “Create backup” checkbox for migrations.
- Add
create-backupconsole command option for migrations. - Add missing descriptions for console commands.
- Change element-based links properly checking if their linked-to element is “empty”. For example, linking to a disabled element will now make
isEmptyreturn true. - Improve GraphQL Schema generation performance. (thanks @markhuot).
- Handle migration of anchor-only URLs for Typed Link fields.
- Fix Typed Link migration for Site link types.
- Fix parsing emoji's in link URLs. (thanks @sfsmfc).
- Add
Link::lowerDisplayName.
- Change
Link::lowerDisplayNametoLink::lowerClassDisplayName. - Change
Link::displayNameSlugtoLink::classDisplayNameSlug.
- Fix an error where min/max links are validated for non-multi link fields.
- Fix an error for not handling invalid link content correctly.
- Fix some JS not initializing for some fields when switching link types.
- Update non-English translations.
- Update English translations.
- Improve instructions text contrast for sub-fields.
- Fix link text returning a value when an invalid link.
- Fix an error when determining the link text automatically when the
linkTextfield is excluded from the link type. - Fix link type placeholder not being able to be overwritten.
- Fix Link Type labels not being translated.
- Fix link type translations.
- Hyper link’s
textnow uses the placeholder for the field if defined, otherwise falling back to “Read more”.
- Add console migration for Typed Link fields (legacy) for older Typed Link installs.
- Update French translations.
- Changed the default text for links to
Read morewhen text cannot be resolved. This improves URL-based links not relying on text to be defined to render the link at all.
- Fix an error when setting the element cache. (thanks @boboldehampsink).
- Fix an error where custom text set on a link is retained next time the same link is rendered (without custom text).
- Update non-English translations.
- Update English translations.
- Fix an error with custom fields retaining values after initial creation.
- Fix other link plugin migrations where owner fields like Matrix and Super Table were incorrectly referenced.
- Fix
Link::getText()not using a defined fallback text value correctly. - Fix programmatically creating links not working for some link types.
- Add
Link::getLinkType()to return theLinkInterfacefor the link’s type.
- New element-based links on a multi-site now propagate the linked-to element for the same owner site.
- Fix link type dropdown styling on Safari.
- Fix field changes being triggered when no changes had been made.
- Add Formie forms as a link type.
- Fix an error when limiting link types and removing the current link type of a link.
- Fix Shopify Product link type label.
- Fix Typed Link migration not including suffixes for element link types.
- Fix an error where other field content would be cleared when Hyper field content was initialized at the same time.
- Fix Typed Link migration not including suffixes for element link types.
- Fix validation not working correctly for link blocks.
- Fix an error when creating new link blocks, not respecting the default link type.
- Add field migration note for when no fields are found to migrate.
- Add counter to field migration utility to make it easier to troubleshoot any failed fields.
- Link blocks no longer show a border around the block for single links, when the header is hidden.
- Link block headers now hide the header when not required.
- Fix an error if an existing link block is set to a type that’s no longer in its allowed types.
- Fix an error with Embed links with image processing.
- Fix an error when rendering Commerce Variant links.
- Fix UI overflow for field.
- Fix Typed Link migration for multi-site installs.
- Add
backupOnMigrateplugin setting to control whether backup are performed when migrating from another link plugin.
- Add the ability to set the column type for Hyper fields.
- Embed link types now create
<iframe>elements when embed responses don’t contain them.
- Fix custom attributes not saving correctly.
- Fix Selectize fields not working properly when re-ordering link blocks which Hyper was contained in a Matrix/Super Table field.
- Add the ability to make the
linkValuea required field.
- Fix element-based link types not validating correctly when a non-uri element is selected.
- Fix being unable to select User elements for User link type.
- Fix when making changes to a link, switching between link types would not retain any changes.
- Add validation support for Embed fields, when supplied with an invalid URL.
- Add
imageWidthandimageHeightto embed data for Embed fields, whenresolveHiResEmbedImageis enabled.
- Fix an error when fetching an invalid URL for Embed links.
- Add “allowed domains” plugin setting, to control what domains are allowed to be used in Embed link types.
- Add
resolveHiResEmbedImagefor Embed fields to resolve hi-resolution images for embed data. - Add “Embed Preview” field layout UI element.
- Add
linkValueto GraphQL queries for Hyper fields for the raw value of the link (useful for embed link types). - Add extra logging when unable to render a Hyper field block.
- Add error logging to Embed link types.
- Improve Embed link type performance when saving elements.
- Embed link types now fetch the most hi-res image available.
- Embed links now include the
descriptionfor the link’stitleattribute, if “Link Title” field is enabled.
- Fix Embed link type fetching extra times when the link’s URL hasn’t changed.
- Fix support for Embed v3 for Embed links, when other plugins (
spicyweb/craft-embedded-assets) still use it. - Fix an error when deleting link blocks.
- Fix Assets fields rendering the “Upload files” button multiple times when re-rendering.
- Fix styles when dragging link blocks.
- Add blocktype errors for Matrix and Super Table fields when migrating from Typed Link fields.
- Fix an error when invalid
linkValuewas set for element link types. - Fix an error with linkField
autofocusbeing incorrectly set. - Fix an issue with setting custom
linkTextwhen rendering fields.textshould now be used.
- Deprecate setting
linkTextwhen callinggetLink(). Usetextinstead.
- Fix an error when deleting a link block.
- Fix an error for non-multiple links and some fields in the slide-out editor.
- Fix missing templates for Shopify Product link types.
- Fix some visual inconsistencies with link blocks.
- Fix an error for nested Hyper fields.
- Fix save button for plugin settings.
- Fix an error when re-ordering link blocks.
- Fix missing translations.
- Fix link block background clip.
- Fix field handles not showing for link attributes and custom fields.
- Fix an issue when re-ordering multiple links.
- Add support for Shopify Product links.
- Update cache after slug/uri changes. (thanks @nateiler).
- Fix an error for some field setups and failing linktypes.
- Fix fields in the settings slideout not saving correctly in some cases.
- Fix a visual bug when dragging multiple Hyper link blocks in the element slideout.
- Fix multi-link “Add link” buttons not working correctly for nested Hyper fields.
- Fix field not initializing correctly in Super Table or Matrix field settings.
- Fix being unable to pick Variants for Variant link type.
- Add
Link::checkElementUri().
- Fix some fields not having their JS initialized when used in the link type “Content” tab.
- Fix an error with Matrix (and some other fields) caused by incorrect Linktype validation calls when saving a Hyper field.
- Fix incorrect results when trying to eager-load Hyper fields.
- Fix an error when Hyper fields are initialized too early, before Craft and Hyper are ready.
- Fix lightswitch UI on Craft 4.4.16+.
- Fix “fresh” check for blocks, affecting some defaults for some fields (Button Box) saving over content.
- Add support for
relin custom attributes field value, when also enabling “new window”. - Add extra debugging message for Linkit migration when link types cannot be migrated.
- Add support for migrating Product link type for LinkIt.
- The Link type dropdown now shows as disabled if only a single link type.
- Fix nested Hyper fields not working correctly.
- Fix an error where checking if Craft was initialized too early results in empty Hyper fields.
- Add French translations. (thanks @scandella).
- Add custom link type checks to migrations.
- Add cache utility to clear caches for element links.
- Update link field migrations to disable any link types that weren’t present in the respective original link plugin (e.g. Embed).
- Field settings now no longer open the settings for the first link type automatically.
- Fix LinkIt migration for social media URLs (Facebook, Twitter, etc), not migrating correctly.
- Fix translations for some strings.
- Fix an error when Hyper fields are initialized too early, before Craft and Hyper are ready.
- Fix default new window setting for multiple link version not working correctly. (thanks @JeroenOnstuimig).
- Add link types to GraphQL queries.
- Add
Link::isElement().
- Element links now only return an element value when the linked-to element is enabled.
- Fix GraphQL queries containing
isElementandisEmpty. - Fix
LinkInterfacenot being registered properly as a GraphQL interface. - Fix some field layout elements not allowing custom instructions text.
- Fix an error when uninstalling third-party elements that register a link type.
- Fix Feed Me support for older Feed Me versions (pre 5.1.1.1).
- Fix a migration error with Typed Link fields in Vizy fields.
- Fix an issue where Hyper fields weren’t working in Vizy fields.
- Add compatibility with Vizy 2.1.x.
- Allow
textandlinkTextoptions to override link text forgetLink()calls. - Link attributes defined in the field settings can now be overridden in templates.
- Fix an error in some cases with an empty element select modal.
- Fix place link type settings not saving correctly.
- Fix an issue using Smith to clone Matrix fields containing Hyper fields.
- Fix classes define in templates not merging with field settings classes.
LinkCollectionnow implementsArrayAccessto allow index-access for Hyper field values.
- Fix some HTML characters being stripped incorrectly due to LitEmoji processing.
- Fix HTML characters not being encoded/decoded correctly for field values.
- Fix empty link states for Email and Phone links.
- Fix an error when creating the field cache for new fields.
- Increase z-index for tooltips when in live preview or editor slide-out.
- Fix an error with Commerce Product/Variant link types.
- Fix an issue registering link types when Hyper isn’t fully initialized.
- Fix an error with element caches for Asset links.
- Add Commerce Product and Variant link types.
- Add
hyper/migrate/typed-link-fieldconsole command for migration. - Add
hyper/migrate/typed-link-contentconsole command for migration. - Add
hyper/migrate/linkit-fieldconsole command for migration. - Add
hyper/migrate/linkit-contentconsole command for migration. - Add
hyper/migrate/link-fieldconsole command for migration. - Add
hyper/migrate/link-contentconsole command for migration. - Add
embedDetectorsSettingsto pass to embed settings. (thanks @kylecotter). - Add
embedHeadersplugin setting to provide settings for Embed link fetching. - Add
embedClientSettingsplugin setting to provide settings for Embed link fetching.
- Improve third-party link field content migration. You can now run the migration for the field and content separately and safely multiple times, and per-environment.
- Update multi-link fields to not show a link type dropdown when only one link type is available.
- Fix select fields not working for link blocks when re-ordered for Craft 4.4+.
- Fix Redactor not working correctly for link blocks when re-ordering.
- Fix an visual overflow issue for link blocks.
- Fix asset link types not working correctly to select assets.
- Fix multi-link fields not allowing all links to be removed.
- Fix a infinite loop issue when link types contain custom fields.
- Fix an error when Hyper hasn’t been fully initialised yet, setting link type objects.
- Fix an issue where a disabled link type could be chosen as the default for the field.
- Fix settings icon not appearing for multi-link fields.
- Fix a potential error with field layout config when saving fields.
- Fix settings icon not appearing for multi-link fields.
- Add error text when unable to render the link’s HTML for general errors.
- Add error text when unable to render the link’s HTML due to field layout issues.
- Fix an error with invalid field layout data..
- Fix multi-link fields with a single tab for linktype settings throwing an error.
- Fix project config change inconsistencies for link types.
- Fix element cache for element links not working correctly for multi-site installs.
- Fix incorrect
valueType()for field. - Fix an error when deleting a Matrix or Super Table block type throwing an error with Hyper fields.
- Fix link type field layouts not persisting once edited.
- Fix link types not saving a custom order in the field settings.
- Fix an error when running project config rebuild.
- Fix classes not applying with
getLink({ class: ‘…’ }). - Fix a migration issue for Vizy fields containing Super Table/Matrix fields with links.
- Fix an error migrating Typed Link fields for element-based links with cache data.
- Fix an error when migrating Typed Link fields, when multiple ones are in a Matrix field.
- Fix a visual gap for new link button for multi-link fields.
- Fix an error when rendering fields that used to have an element for the link value, not being
null.
- Add
asStringas a param toLink::getLinkAttributes().
- Fix custom link text not overriding for Element or Site link types.
- Add more logging more failed content table migrations.
- Add UID to field migration output for fields.
- Fix an unhandled error when migrating, where a corresponding Hyper link type cannot be found.
- Fix a potential error when migrating fields.
- Fix an error when migrating empty field content.
- Fix an error with field settings not having their enabled link type state set correctly.
- Fix a validation error when saving element drafts.
- Initial release