Download Latest Version Eleventy v3.1.1 (we fixed some things) source code.tar.gz (685.4 kB)
Email in envelope

Get an email when there's a new version of eleventy

Home / v3.1.0
Name Modified Size InfoDownloads / Week
Parent folder
Eleventy v3.1.0_ 11_ faster and 22_ smaller! source code.tar.gz 2025-05-13 680.7 kB
Eleventy v3.1.0_ 11_ faster and 22_ smaller! source code.zip 2025-05-13 966.7 kB
README.md 2025-05-13 7.0 kB
Totals: 3 Items   1.7 MB 0

Try it out in your project

npm install @11ty/eleventy@latest

Read more about getting started with Eleventy or why you should use Eleventy.

What’s new?

Bug fixes

  • Bug fix for returning non-traditional data with eleventyConfig.addCollection API [#3467]
  • Internals: consolidates TemplateMap with Dependency Graph for more accurate build order during incremental builds (fixing unrendered template errors) [#3410] (Fair warning: this was a big change!)
  • Fix duplicate permaink error on Windows after file delete and re-add [#3631]
  • Fix (and better error messaging) for link.slice is not a function errors when using function permalinks [#3472] [#3619]
  • Improvements to bundler-friendiness of imports (using Programmatic API in serverless contexts) [#3656]
  • Fix when using eleventyConfig.setUseTemplateCache(false); and 11ty.js JavaScript templates [#3667]
  • Fix for passthrough copy output locations during incremental builds [#3285]
  • Check Error.cause for TemplateContentPrematureUseError when rendering by @noelforte in https://github.com/11ty/eleventy/pull/3651
  • Fix dateValue.toLowerCase() is not a function error when using addDateParsing API [#3674]
  • Improvements to engine consistency (improved use of Nunjucks cache) [#3736]
  • Fixes eleventy.templateModified listeners warning [#3735]
  • Fixes for bugs with merging Arrays in eleventyComputed. Arrays are now treated as a single entity when merging over non-computed data. Arrays will still be merged in the data cascade from multiple eleventyComputed entries. [#3728]
  • Fix bug with collection definition on subsequent builds [#3711]
  • HtmlBasePlugin: Fix confusing error message by @noelleleigh in https://github.com/11ty/eleventy/pull/3709
  • Fix import-related error with CommonJS modules in Node 23 by @vrugtehagel in https://github.com/11ty/eleventy/pull/3519 [#3518]
  • Fix for InputPathToUrl plugin to support unencoded paths with spaces [#3559] [#3583]

Dependency Watch

Version Production Dep Count Production Size
v3.1.0 ×142 21.4 MB
v3.0.0 ×187 27.4 MB
v2.0.1 ×215 36.4 MB
v1.0.2 ×356 73.3 MB

Major Upgrades

eleventy-benchmark Build Performance

---------------------------------------------------------
Eleventy Benchmark (Node v22.13.1, 2500 templates each)
---------------------------------------------------------
Eleventy 3.0.0                                        
---------------------------------------------------------
.liquid: ... 3 runs:          
* Median: 1.43 seconds
* Median per template: 572 µs

.njk: ... 3 runs:             
* Median: 2.03 seconds
* Median per template: 812 µs

.md: ... 3 runs:              
* Median: 1.79 seconds
* Median per template: 716 µs

---------------------------------------------------------
Eleventy 3.1.0-beta.1                                        
---------------------------------------------------------
.liquid: ... 3 runs:          
* Median: 1.3 seconds (-10%)
* Median per template: 520 µs (-10%)

.njk: ... 3 runs:             
* Median: 1.81 seconds (-11%)
* Median per template: 724 µs (-11%)

.md: ... 3 runs:              
* Median: 1.61 seconds (-11%)
* Median per template: 644 µs (-11%)

We’re showing the benchmark from the latest beta here — there were no core code changes between v3.1.0-beta.1 and v3.1.0.

Source: README.md, updated 2025-05-13