Releases: verbb/hyper
Releases · verbb/hyper
1.2.1
Fixed
- Fix a compatibility issue with Craft 4.11.x.
2.0.3
Added
- Add
Link::linkUri
.
Changed
- Change element-based links properly checking if their linked-to element is “empty”. For example, linking to a disabled element will now make
isEmpty
return true.
Fixed
- Fix an error for multi-site installs where element links were being incorrectly propagated.
- Fix element links not having their
linkSiteId
value reset when removing a linked element.
1.2.0
Added
- Add
Link::linkUri
. - Add “Create backup” checkbox for migrations.
- Add
create-backup
console command option for migrations. - Add missing descriptions for console commands.
Changed
- Change element-based links properly checking if their linked-to element is “empty”. For example, linking to a disabled element will now make
isEmpty
return true. - Improve GraphQL Schema generation performance. (thanks @markhuot).
- Handle migration of anchor-only URLs for Typed Link fields.
Fixed
- Fix Typed Link migration for Site link types.
- Fix parsing emoji's in link URLs. (thanks @sfsmfc).
2.0.2
Added
- Add
Link::lowerDisplayName
.
Changed
- Change
Link::lowerDisplayName
toLink::lowerClassDisplayName
. - Change
Link::displayNameSlug
toLink::classDisplayNameSlug
.
Fixed
- 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.
1.1.32
Added
- Add
Link::lowerDisplayName
.
Changed
- Change
Link::lowerDisplayName
toLink::lowerClassDisplayName
. - Change
Link::displayNameSlug
toLink::classDisplayNameSlug
.
Fixed
- 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.
2.0.1
Changed
- Update non-English translations.
- Update English translations.
- Update French translations. (thanks @pascalminator).
- Update German translations. (thanks @MoritzLost).
- Improve instructions text contrast for sub-fields.
Fixed
- Fix link text returning a value when an invalid link.
- Fix an error when determining the link text automatically when the
linkText
field 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
1.1.31
Changed
- Update non-English translations.
- Update English translations.
- Improve instructions text contrast for sub-fields.
Fixed
- Fix link text returning a value when an invalid link.
- Fix an error when determining the link text automatically when the
linkText
field 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.
2.0.0
Added
- Add
Link::getLinkType()
to return theLinkInterface
for the link’s type. - Add Formie forms as a link type.
Changed
- 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.
Fixed
- 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.
Removed
- Remove migrations for other plugin (not supported in Craft 5).
1.1.30
Changed
- Hyper link’s
text
now uses the placeholder for the field if defined, otherwise falling back to “Read more”.
1.1.29
Added
- Add console migration for Typed Link fields (legacy) for older Typed Link installs.
Changed
- Update French translations.
- Changed the default text for links to
Read more
when text cannot be resolved. This improves URL-based links not relying on text to be defined to render the link at all.
Fixed
- 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).