Try it out in your project
npm install @11ty/eleventy@canary --save-exact
Read more about getting started with Eleventy or why you should use Eleventy.
What's Changed
- Support for Import Attributes #3580 e.g.
import data from './data.json' with { type: 'json' };
, see 11ty/eleventy-dependency-tree-esm#2 - Adds
html-relative
Passthrough Copy mode for relative asset references in HTML. Learn more at #3573 (from issue #3552) - Build performance improvements to v3.0.0 in #3493
- Upgrades to
@11ty/eleventy-utils@2.0.0
#3595 (thank you @Zearin!) - Render templates in parallel. by @fqueze in #3277
- Adds
eleventyConfig.setConcurrency(Number)
API to control concurrency (defaults toos.availableParallelism()
) #3585
- Adds
- Bumps
liquidjs
dependency to10.19.0
(from10.17.0
) - Replace UserConfig typedef with a subpath export (#3460) by @noelforte in #3562
- Bump cross-spawn from 7.0.3 to 7.0.6 in the npm_and_yarn group by @dependabot in #3579
- Fix import-related error with CommonJS modules in Node 23 by @vrugtehagel in #3519 #3518
- Removes unreliable character encoding detection in debug output #3584
- Fix for InputPathToUrl plugin to support unencoded paths with spaces #3559 #3583
- IdAttribute plugin has
checkDuplicates
option (always enabled by default, now allows you to disable) #3560 Docs: https://www.11ty.dev/docs/plugins/id-attribute/#with-options - Bug fix for returning non-traditional data with
eleventyConfig.addCollection
API #3467 - Error messaging improvements:
- Improved error messaging when attempting to link to a
permalink: false
template (in the HTML<base>
plugin) #3503 - Better errors with Custom template types with non-string permalink values: #3472
- Improved error messaging with syntax errors in
.11ty.js
files #3571 - Improved require(esm) error messaging to reflect proper support in Node v22.12 #3568
- Error stack improvements by @noelforte in #3572
- Improved error messaging when attempting to link to a
New Contributors
- @noelforte made their first contribution in #3562
Full Changelog: v3.0.0...v3.0.1-alpha.1