Upgrade @11ty/is-land from v4 to v5
Author: dougaitkenCreated Feb 21, 2026Updated Aug 23, 2026
Summary
Dependabot opened PR #2120 to bump @11ty/is-land from 4.0.1 to 5.0.1. This is a major version bump with breaking changes, and the CI build is currently failing on that PR. Parking this as a tracked issue rather than merging blindly.
Breaking Changes in v5
autoinitattribute removed —<is-land autoinit>andis-land-autoinit.jsare gone. Must migrate to the newIsland.addInitType()API for framework initialisationIsland.define(tagName)removed — replaced by usingcustomElements.definedirectlyimportattribute behaviour change — when used withtype, theimport()is no longer performed automatically- Manual definition — now uses
?nodefinequery param instead of the previous approach
What's Good
- Broader browser support (Chrome 71+, down from 88+)
- Performance improvements for
on:idle,on:media,on:load - Passive event listeners for
on:interaction(fixes Lighthouse warning) - Minified build available (
dist/is-land.min.js)
Suggested Approach
- Audit current
is-landusage in templates (src/_includes/,src/_layouts/) - Check if
autoinitorIsland.define()are used anywhere - Update usage to match v5 API
- Test lazy-loading behaviour (theme switcher, search, any other islands)
- Verify build passes
References
Source: remoteintech/remote-jobs