Update dependency @11ty/is-land to v5 - autoclosed #2

Closed
renovate-bot wants to merge 1 commit from renovate/11ty-is-land-5.x into main
Collaborator

This PR contains the following updates:

Package Change Age Confidence
@11ty/is-land ^4.0.1^5.0.0 age confidence

Release Notes

11ty/is-land (@​11ty/is-land)

v5.0.1: is-land v5.0.1

Compare Source

No component code changes, this release is strictly npm publish hardening using OIDC/Trusted Publishers.

Full Changelog: https://github.com/11ty/is-land/compare/v5.0.0...v5.0.1

v5.0.0: is-land v5.0.0

Compare Source

  • Breaking Change affects <is-land autoinit>: Removes autoinit attribute and the is-land-autoinit.js file. Switch to use framework initialization types (via Island.addInitType()) instead (see sample code below).
  • Broadens browser support (thank you @​vanarok in #​21) and adds (cut the mustard-style) feature test:
    • v5.0.0 supports Chrome 71, Firefox 65, Safari 12.1
    • v4.0.0 supports Chrome 88, Firefox 78, Safari 14
  • Brotli compressed file size stats: v4.0.0 at 1.61 kB to v5.0.0 at 1.83 kB
  • Very large performance gains when using on:idle, on:media, or on:load conditions.
  • Fixes bug with node restoration order when renaming (should be inner -> outer for renames, outer -> inner for original names) causing multiple connectedCallbacks fired on custom elements. Complex Nested is-lands demo
  • Use passive event listeners with on:interaction to improve scrolling performance (fixes Lighthouse warning) #​20
  • Adds import attribute support to core plugin (was previously in is-land-autoinit.js)
  • Register your own framework initialization types using Island.addInitType() and islands must match the appropriate name in the <is-land type> attribute — examples provided for alpine, petite-vue (see below), vue, vue-ssr, preact, preact-ssr, svelte, or svelte-ssr (Web Components and lit are supported out of the box).
    • Notably when using type and import (e.g. <is-land type import>) import attribute targets are not loaded automatically for you:
      • <is-land import="">: import() is performed for you
      • <is-land import="" type="">: you’re responsible for import() in your initialization function.
  • Adds Island.addFallback API to improve control of fallback content. Example provided for Alpine.js islands (Demo) (without separate <template> markup) for easier-to-control progressively-enhanced fallback content.
  • Support renaming on: attribute prefix #​16
  • Fixes #​1 allowing folks to rename the custom element tag name. Demo
  • Changes manual definition use case to use ?nodefine query param per https://www.zachleat.com/web/nodefine/
  • Adds dist/is-land.min.js minimized JS to published code.
  • Clarify framework support instructions by @​dave-kennedy in #​28
  • Adding SolidJS web component examples #​3 by @​jake-danton in #​24
  • Swaps to use Import Maps on Lit, Svelte, and Solid demos to skip bundling on libraries that use bare specifiers on imports.
  • Adds GitHub to npm release provenance
  • Fix README link to Markdown demo by @​funwhilelost in #​33
  • Better patterns for static Island.define() and customElements.define for using a different tag name (rather than <is-land>). Island.define(tagName) API is removed. #​32

New Island.addInitType API

Sample Island.addInitType usage for petite-vue:

// This code only needs to be added once globally
Island.addInitType("petite-vue", async (node) => {
	// Load the library, mount the target node
	const { createApp } = await import("https://unpkg.com/petite-vue@0.4.1/dist/petite-vue.es.js");
	createApp().mount(node);
});

More examples available.

New Contributors:

Milestone: https://github.com/11ty/is-land/milestone/2?closed=1
Full Changelog: https://github.com/11ty/is-land/compare/v4.0.1...v5.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@11ty/is-land](https://github.com/11ty/is-land) | [`^4.0.1` → `^5.0.0`](https://renovatebot.com/diffs/npm/@11ty%2fis-land/4.0.1/5.0.1) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@11ty%2fis-land/5.0.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@11ty%2fis-land/4.0.1/5.0.1?slim=true) | --- ### Release Notes <details> <summary>11ty/is-land (@&#8203;11ty/is-land)</summary> ### [`v5.0.1`](https://github.com/11ty/is-land/releases/tag/v5.0.1): is-land v5.0.1 [Compare Source](https://github.com/11ty/is-land/compare/v5.0.0...v5.0.1) No component code changes, this release is strictly npm publish hardening using OIDC/Trusted Publishers. **Full Changelog**: <https://github.com/11ty/is-land/compare/v5.0.0...v5.0.1> ### [`v5.0.0`](https://github.com/11ty/is-land/releases/tag/v5.0.0): is-land v5.0.0 [Compare Source](https://github.com/11ty/is-land/compare/v4.0.1...v5.0.0) - **Breaking Change affects `<is-land autoinit>`:** Removes `autoinit` attribute and the `is-land-autoinit.js` file. Switch to use framework initialization types (via `Island.addInitType()`) instead (see sample code below). - Broadens browser support (thank you [@&#8203;vanarok](https://github.com/vanarok) in [#&#8203;21](https://github.com/11ty/is-land/issues/21)) and adds (cut the mustard-style) feature test: - v5.0.0 supports Chrome 71, Firefox 65, Safari 12.1 - v4.0.0 supports Chrome 88, Firefox 78, Safari 14 - Brotli compressed file size stats: v4.0.0 at `1.61 kB` to v5.0.0 at `1.83 kB` - Very large performance gains when using `on:idle`, `on:media`, or `on:load` conditions. - Fixes bug with node restoration order when renaming (should be inner -> outer for renames, outer -> inner for original names) causing multiple connectedCallbacks fired on custom elements. [Complex Nested is-lands demo](https://is-land.11ty.dev/demo-stress-test-nest) - Use passive event listeners with `on:interaction` to improve scrolling performance (fixes Lighthouse warning) [#&#8203;20](https://github.com/11ty/is-land/issues/20) - Adds `import` attribute support to core plugin (was previously in `is-land-autoinit.js`) - Register your own framework initialization types using `Island.addInitType()` and islands must match the appropriate name in the `<is-land type>` attribute — [examples provided](https://github.com/11ty/is-land/blob/v5.0.0/lib/demo-inittype.js) for `alpine`, `petite-vue` (see below), `vue`, `vue-ssr`, `preact`, `preact-ssr`, `svelte`, or `svelte-ssr` (Web Components and `lit` are supported out of the box). - Notably when using `type` and `import` (e.g. `<is-land type import>`) `import` attribute targets are not loaded automatically for you: - `<is-land import="">`: `import()` is performed for you - `<is-land import="" type="">`: you’re responsible for `import()` in your initialization function. - Adds `Island.addFallback` API to improve control of fallback content. Example provided for [Alpine.js islands](https://github.com/11ty/is-land/blob/v5.0.0/lib/demo-inittype.js#L54-L68) ([Demo](https://is-land.11ty.dev/demo-alpine)) (without separate `<template>` markup) for easier-to-control progressively-enhanced fallback content. - Support renaming [`on:` attribute prefix](https://is-land.11ty.dev/demo-attribute-prefix) [#&#8203;16](https://github.com/11ty/is-land/issues/16) - Fixes [#&#8203;1](https://github.com/11ty/is-land/issues/1) allowing folks to rename the custom element tag name. [Demo](https://github.com/11ty/is-land/blob/v5.0.0/demo/demo-rename.html) - Changes manual definition use case to use `?nodefine` query param per <https://www.zachleat.com/web/nodefine/> - Adds `dist/is-land.min.js` minimized JS to published code. - Clarify framework support instructions by [@&#8203;dave-kennedy](https://github.com/dave-kennedy) in [#&#8203;28](https://github.com/11ty/is-land/issues/28) - Adding [SolidJS](https://www.solidjs.com/) web component examples [#&#8203;3](https://github.com/11ty/is-land/issues/3) by [@&#8203;jake-danton](https://github.com/jake-danton) in [#&#8203;24](https://github.com/11ty/is-land/issues/24) - Swaps to use Import Maps on Lit, Svelte, and Solid demos to skip bundling on libraries that use [bare specifiers on imports](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import). - Adds GitHub to npm release provenance - Fix README link to Markdown demo by [@&#8203;funwhilelost](https://github.com/funwhilelost) in [#&#8203;33](https://github.com/11ty/is-land/pull/33) - Better patterns for static `Island.define()` and `customElements.define` for using a different tag name (rather than `<is-land>`). `Island.define(tagName)` API is removed. [#&#8203;32](https://github.com/11ty/is-land/issues/32) #### New `Island.addInitType` API Sample `Island.addInitType` usage for `petite-vue`: ```js // This code only needs to be added once globally Island.addInitType("petite-vue", async (node) => { // Load the library, mount the target node const { createApp } = await import("https://unpkg.com/petite-vue@0.4.1/dist/petite-vue.es.js"); createApp().mount(node); }); ``` More [examples available](https://github.com/11ty/is-land/blob/v5.0.0/lib/demo-inittype.js). #### New Contributors: - [@&#8203;dave-kennedy](https://github.com/dave-kennedy) - [@&#8203;jake-danton](https://github.com/jake-danton) - [@&#8203;vanarok](https://github.com/vanarok) - [@&#8203;funwhilelost](https://github.com/funwhilelost) **Milestone**: <https://github.com/11ty/is-land/milestone/2?closed=1> **Full Changelog**: <https://github.com/11ty/is-land/compare/v4.0.1...v5.0.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43OS4yIiwidXBkYXRlZEluVmVyIjoiNDIuNzkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Update dependency @11ty/is-land to v5
All checks were successful
Renovate / forgejo (push) Successful in 21s
370ed18f90
renovate-bot changed title from Update dependency @11ty/is-land to v5 to Update dependency @11ty/is-land to v5 - autoclosed 2026-01-29 22:30:37 +01:00
renovate-bot closed this pull request 2026-01-29 22:30:37 +01:00
All checks were successful
Renovate / forgejo (push) Successful in 21s

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
finn/11ty-mesh-fl.de!2
No description provided.