When we launched Hyper in 2023, the first question we answered was "another link field?", because Craft already had a few to pick from. Since then Craft has added its own Link field (opens new window), so it's a fair question to ask again. Why reach for Hyper at all?
Hyper is still the one to reach for when you want several links in one field, your own custom fields inside each link, or embeds, and Hyper 3 adds a few more reasons. It's out of beta today for Craft 5.9 and later. If you've already got Craft Link fields and want to switch, Hyper can now migrate them, along with wrav/oEmbed fields. The fields are converted in place, so take a backup first.
Already on Hyper 2? This is a major release, so read the upgrade guide before updating, particularly if you use custom GraphQL queries, HTML in link labels, or environment variables in link destinations.
No More Slide-Out
In Hyper 2, any field layout tabs past the first one were in a slide-out, opened from a small ellipsis menu. We'd always read that menu as "more", but clients' comfort with the control panel varies a lot, and to some authors a tiny ellipsis looks more like something they shouldn't touch.
So Hyper 3 puts the tabs right in each link's header, the way Matrix and Neo do. The destination stays in view, and the extra fields are one click away in plain sight.
Empty single-link fields now start with an Add link button, like multi-link fields do, so nobody's faced with a blank link block they didn't ask for.
Longer Lists of Links
Hyper 3 makes longer lists of links much nicer to work with. A new View Mode setting keeps the stacked Blocks you know, or switches to Cards, a compact grid that suits navigation and resource lists.
Filling those lists is quicker too. If you've ever built a reading list by adding a link, opening the picker, choosing one entry and starting all over again, you'll like this one. Turn on Bulk Add for a multi-link field, pick an element link type and select a whole batch of entries in one go. For URL, Email and Phone links, paste one value per line. Hyper creates a link for each, ready for labels or custom fields.
You can also copy, cut and paste links between compatible Hyper fields, including fields on other entries or inside Matrix. The destination needs the same link type enabled, and custom fields are matched by handle. It's handy for reusing a contact link, or moving a resource to another page without typing it all out again.
Link Type Configs
If you use Hyper in a page builder, you might have a Hyper field in a dozen different block types, each one set up with the same link types and the same custom fields. Link Type Configs let you set that up once.
Create a named Link Type Config in Hyper's settings, then select it on every field that should use it. Change the config later, and every field using it picks up the change. Each field can still be set to hold one link or several. If a field needs something different, choose Custom, and Hyper copies the config as a starting point for that field alone.
The Link Type Configs guide walks through creating and updating them.
Narrowing What Editors Can Pick
Entry, Asset and User links now support Craft's selection conditions, so editors only see the content that makes sense for that field, in the picker and in Bulk Add. Fields inside a link can react to what's been chosen too, so a link to an event can ask for different details than a link to a news article.
Goodbye, Element Cache
When Hyper launched, it cached each linked element's title and URL to save a few queries. It did the job, but a cache is one more thing that can fall out of step with your content, and Craft's own eager-loading has come a long way since. So Hyper 3 drops the cache tables altogether and batches linked elements on each request instead.
When you need more from each destination, such as a thumbnail, Craft-style with() eager-loading paths load those fields together, including through Matrix and Neo. The eager-loading guide covers the setup and its limits, including Hyper fields inside Vizy.
Reverse lookups through craft.hyper.getRelatedElements() now use a relation index built from saved link content, so a resource page can list every article that recommends it. And there's nothing to clear or warm up. If you'd like to see the difference on your own templates, the performance guide shows how to compare queries in Craft's debug toolbar.
Headings, Defaults and Limits
The new Passive link type is a label (plus any custom fields) without a destination, which is perfect for a heading in the middle of a menu or resource list. Your template renders it as text and everything else as links.
URL links can have a default value, or a fixed value that editors can't change while they fill in the rest. Page fragments such as #contact work, and you can allow extra URI schemes with allowedUriSchemes. Link Text can have a default and a character limit too, which is useful for buttons that need a consistent starting label and shouldn't run too long. See the link types guide for what each type can do.
Extras
- Multi-link fields set to Translate for each site keep their additions, removals and order in sync across sites, while keeping each site's translated labels.
- Embed link types can be limited to certain domains, YouTube thumbnails are sharper, and GraphQL has more Embed fields.
- Asset links can set a default upload volume and subpath.
- A New Window field layout element, for when that setting belongs alongside a link type's other fields.
- A GraphQL
fieldsproperty for custom field values inside links. - You can upgrade straight from Hyper 1 on Craft 4, without installing Hyper 2 first.
The full changelog (opens new window) has everything else.
Wrapping Up
A big thanks to everyone who tested the betas and told us how Hyper 3 felt in their own projects. If something still trips up your editors, let us know on GitHub (opens new window).
Hyper 3 (opens new window) is available today for Craft 5.9 and later.