Releases: verbb/hyper
Releases · verbb/hyper
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).
1.1.28
Changed
- Update non-English translations.
- Update English translations.
Fixed
- 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.
2.0.0-beta.8
Added
- Add
Link::getLinkType()
to return theLinkInterface
for the link’s type.
Changed
- New element-based links on a multi-site now propagate the linked-to element for the same owner site.
Fixed
- Fix link type dropdown styling on Safari.
- Fix field changes being triggered when no changes had been made.
- Fix GraphQL queries not working correctly.
1.1.27
Added
- Add
Link::getLinkType()
to return theLinkInterface
for the link’s type.
Changed
- New element-based links on a multi-site now propagate the linked-to element for the same owner site.
Fixed
- Fix link type dropdown styling on Safari.
- Fix field changes being triggered when no changes had been made.