- Fix display of long element titles
- Update Norwegian translations
- Add Dutch translations
- Fix error triggered when no owner element is passed when rendering fields
- Fix typo of attribute "aria-label"
Yesterdays release unfortunately contains a change to the url validator that causes trouble, we therefore issue a hotfix.
- Fix url validation not accepting long urls (see sebastian-lenz#62)
- Remove element source restriction on element link fields
{note} Big update ahead! We are working on version 2 and we would be pleased to receive your feedback, please see sebastian-lenz#61
- Fix an issue when loading empty field values (see sebastian-lenz#55, sebastian-lenz#56)
- Fix an issue causing the page preview to not work probably (sebastian-lenz#53)
- Allow domains with non-ASCII characters (see sebastian-lenz#57)
- Fix: Rewriting element sources from Craft 3.0 fails (see sebastian-lenz#50)
- Hotfix: Try to maintain field settings in Craft 3.1 (see sebastian-lenz#49)
- Fix non-json strings issue (see sebastian-lenz#46)
- Fix Link::getCustomText() returning the wrong value (see sebastian-lenz#45)
- Allow custom queries on element links
- Add option to automatically add
rel="noopener noreferrer"
to links opening in a new window
- Fix issues when loading models with unexpected model attributes.
- Add method
getLinkAttributes
to model, return rendered link attributes.
- Fix exception when trying to revert to revisions saved with 1.0.12 or before.
- Model methods
getElement
andhasElement
accept new parameterignoreStatus
.
- New link type "Site"
- Support for aliases on all input link types
- New
aria-label
andtitle
fields. Can be turned on in field settings. Will render as attributes ingetLink()
and can be queried usinggetAriaLabel()
andgetTitle()
. - New more compact field display
- GraphQL: Add support for categories
- GraphQL: New fields
link
andtext
- GraphQL: Deprecation: The fields
allowCustomText
andallowTarget
are deprecated as there seems to be no use case for them.
- New default link type
custom
without any validation, e.g. for relative links - New getCustomText() method on link model
- Fix an issue when creating new fields, see sebastian-lenz#22
- Add new administration interface.
- Add experimental GraphQL query support.
- Add Craft Commerce product and Solspace Calendar event support.
- Remove global set element type.
- Add event
registerLinkTypes
. Use this event to register custom link types. - Add global set element type.
- Fix: Field owner site not respected when resolving urls.
- Fix: Change in Craft API, rename field method
isEmpty
toisValueEmpty
. - Add plugin icon.
- Update field styling, add a border to group link fields.
- Add option to pass additional options to
Link::getLink
.
- Fix: Site id not set correctly when showing element select ui.
- Fix: Change field schema to
TEXT
. - Add option to set default link type.
- Add option to disable validation on url, mail and phone field types.
- Fix: add missing
Link::getElement
method.
- Fix: Link field does not render correctly if only one link type is enabled.
- Fix: Link type change does not update the select ui.
- Change plugin handle, old handle was already in use.
- Initial release.