Skip to content

Releases: 11ty/eleventy

Eleventy v2.0.1: a Bug Fix Release

28 Mar 16:38
Compare
Choose a tag to compare

Eleventy v2.0.1 is now available! You can try it out in your project now:

npm install @11ty/eleventy@latest

New to Eleventy?

Eleventy is a flexible and production-ready site generator known for its zero-client JavaScript footprint, speedy sites, speedy builds, and full control over the output.

Features and Fixes

Housekeeping

Thank You Notes

This project would not be possible without our lovely community. Thank you to everyone that built something with Eleventy (×684 authors on our web site!), wrote a blog post about Eleventy, contributed code, wrote a plugins, helped with documentation, asked questions, answered questions, braved The Leaderboards, participated on Discord, filed issues, attended (or organized!) a meetup, said a kind word on social media ❤️.

Open Collective Supporters

Eleventy v2.0.0: Now with twice as many Possums

08 Feb 20:26
Compare
Choose a tag to compare

🚨 The full release notes are available on The Eleventy Blog: Eleventy v2.0.0 or you can watch me talk about v2.0 on YouTube.

Eleventy v2.0.0 is now available! You can try it out now:

# Local project
npm install @11ty/eleventy@latest

# Global install
npm install @11ty/eleventy@latest -g

New to Eleventy?

Eleventy is a flexible and production-ready site generator known for its zero-client JavaScript footprint, speedy sites, speedy builds, and full control over the output. Watch The State of Eleventy in Two Minutes or read more about Eleventy’s project goals.

The Big Features

Smaller, More Secure

Faster Builds

Plugins

And more…

  • Support for aliasing to an existing template language #2248
    • This unlocks TypeScript or JSX in Eleventy when you use esbuild-register and alias 11ty.ts or 11ty.tsx to 11ty.js.
  • Event arguments unlock new plugin abilities: dir (input/output/includes/data/layouts locations),
    outputMode (where the templates are going: fs, json, ndjson), runMode (build, watch, or serve), or results for the processed Eleventy output.
  • Memory usage improvements to Pagination

Breaking Changes

⚠️ Rather than review this list, it’d be faster to use the eleventy-upgrade-helper plugin, which runs a suite of tests to see whether or not you need to worry about these breaking changes in your project: https://github.com/11ty/eleventy-upgrade-help

The Small Features

Even Smaller Features

Read more

Eleventy v2.0.0-beta.3: One solitary serverless bug fix.

30 Jan 23:40
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0-beta.2...v2.0.0-beta.3

Eleventy v2.0.0-beta.2

26 Jan 23:25
Compare
Choose a tag to compare

The first bug-fix follow up to the long awaited 2.0.0-beta.1.

Features

  • Adds eleventy.env.runMode to global data. #2770

Bug Fixes

  • Fix for Plugin Compatibility Checks on Vite and WebC plugins. #2758
  • Fix a large number of issues requiring dev server restart to see content updates. #2773 #2755
  • Use eleventy-dev-server@1.0.3 (fixes domDiff option): 11ty/eleventy-dev-server#48

Housekeeping

Full Changelog: v2.0.0-beta.1...v2.0.0-beta.2

Eleventy v2.0.0-beta.1, the very first beta release of Eleventy 2.0

18 Jan 17:38
Compare
Choose a tag to compare

🚨 The full release notes are available on The Eleventy Blog: The Very First Beta Release of Eleventy v2.0 or you can watch me talk about this release on YouTube.

The very first Eleventy 2.0 Beta release is now available on the @beta channel and we’re looking for Beta testers! You can try it out now:

# Local project
npm install @11ty/eleventy@beta

# Global install
npm install @11ty/eleventy@beta -g

Read more about local versus global installation.

New to Eleventy? Eleventy is a flexible and production-ready site generator known for its zero-client JavaScript footprint, speedy sites, speedy builds, and full control over the output. Watch The State of Eleventy in Two Minutes or read more about Eleventy’s project goals.

The Big Features

Smaller, More Secure

Faster Builds

Plugins

And more…

  • Support for aliasing to an existing template language #2248
    • This unlocks TypeScript or JSX in Eleventy when you use esbuild-register and alias 11ty.ts or 11ty.tsx to 11ty.js.
  • Event arguments unlock new plugin abilities: dir (input/output/includes/data/layouts locations),
    outputMode (where the templates are going: fs, json, ndjson), runMode (build, watch, or serve), or results for the processed Eleventy output.
  • Memory usage improvements to Pagination

Breaking Changes

⚠️ Rather than review this list, it’d be faster to use the eleventy-upgrade-helper plugin, which runs a suite of tests to see whether or not you need to worry about these breaking changes in your project: https://github.com/11ty/eleventy-upgrade-help

The Small Features

Even Smaller Features

Read more

Eleventy v1.0.2: One bug fix for Liquid Shortcode Argument Parsing

16 Aug 14:25
Compare
Choose a tag to compare

Eleventy v1.0.2 🎈🐀⚡️🕚

This project would not be possible without our lovely community. Thank you to everyone that built something with Eleventy (×595 authors on our web site!), wrote a blog post about Eleventy, contributed code to core or plugins, documentation, asked questions, answered questions, braved The Leaderboards, participated on Discord, filed issues, attended (or organized!) a meetup, said a kind word on Twitter ❤️.

Install or Upgrade

  • Install to your local project: npm install @11ty/eleventy
  • Already installed in your local project? Upgrade your version: npm update @11ty/eleventy
  • Read more about local project versus global installation

Features

Milestone

All bug fix issues can be perused at the GitHub milestone:
https://github.com/11ty/eleventy/milestone/39?closed=1

Major Version Dependency Upgrades

There are no major version dependency updates between 1.0.2 and 1.0.1.

THANK YOU NOTES

Gold Sponsors: Sanity.io, Nordhealth, CloudCannon

Silver Sponsors: Set Creative Studio, Unabridged Software, PQINA, The Coders Guild, Bejamas, Nathan Smith, Flatirons Development, Monarch Air Group, Ben Nash, getform.io, OCEG, Mercury Jets

OpenCollective Monthly Backers: Viljami Salminen, Tyler Gaw, Peter deHaan, Melanie Sumner, Alejandro Rodríguez, Mat Marquis, Philip Borenstein, Jérôme Coupé, Max Böck, Bryce Wray, Kristof Michiels, Nicolas Hoizey, Mike Aparicio, Ben Myers, Katie Sylor-Miller, Mark Buskbjerg, mortendk, Aaron Hans, Lauris Consulting, John Meyerhofer, Todd Libby, Luke Bonaccorsi, Dimitrios Grammatikogiannis, Wellness Researched, Devin Clark, Eric Bailey, Dave Rupert, Manuel Matuzovic, Phil Hawksworth, shawn j sandy, Jenn Schiffer, Tianyu Ge, Kyosuke Nakamura, Hans Gerwitz, Makoto Kawasaki, Horacio Gonzalez, Matthew Tole, Ivan Buncic, Rob Sterlini, Mark Boulton, Søren Birkemeyer, Richard Hemmer, Nick Nisi, Andrew Harvard, John SJ Anderson, Ryan Swaney, Tim Giles, Alistair Shepherd, Ivo Herrmann, Flaki, John Hall, Scott McCracken, James Steinbach, Miriam Suzanne, Bentley Davis, Angelique Weger, vince falconi, Martin Schneider, Stephanie Eckles, Frontend Weekly Tokyo, Ferpection, Josh Crain, Chris Burnell, Ximenav Vf., Juan Miguel, Rich Holman, Kasper Storgaard, Kevin Healy, Greg Gibson, Hidde, Michelle Barker, Alesandro Ortiz, David A. Herron, Paul Robert Lloyd, Andrea Vaghi, Bryan Robinson, Ashur Cabrera, Raymond Camden, John Meguerian, Joe Lamyman, Jeffrey A Morgan, Brett Nelson, Paul Welsh, Ingo Steinke, Melanie Richards, Dorin Vancea, Marco Zehe, Wes Ruvalcaba, Luc Poupard, Entle Web Solutions, Ken Hawkins, Ara Abcarians, Fershad Irani, Nikita Dubko, Aaron Gustafson, Chris, Sam, Benjamin Geese, Marcus Relacion, Netin nopeustesti, Bobby Ray, Christian Miles, Cthos, Sia Karamalegos, Daniel Ryan, Raphael Höser, Noel Forte, Saneef Ansari, Flemming Meyer, Colin Fahrion, Dan Burzo, Jon Kuperman, Dan Ott, Mobilemall.pk, Cheap VPS, David Darnes, Jon Roobottom, Dana Byerly, Oisín Quinn, Renkaatsopivasti, Windesol Sähkön Kilpailutus, Luke Mitchell, SignpostMarv, THE PADDING, Bob Monsour, Patrick Byrne, zapscribbles, Frank Reding, quinnanya, Richmond Insulation, Cory Birdsong, Aram ZS, Michel van der Kroef, Vinicius Depizzol, Andy Stevenson, HelppoHinta.fi, Tanner Dolby, jpoehnelt, Ingo Sobolewski, Andrew Weisbeck, Richmond Concrete, Tom, CelineDesign, Nic Chan, Duc Lam, Alex Zappa, Stephen Bell, Brett DeWoody, alistairtweedie, Meta Tier List, Robert Haselbacher, Lene

Eleventy v1.0.1: It’s Elementary

18 Apr 19:36
Compare
Choose a tag to compare

Eleventy v1.0.1 🎈🐀⚡️🕚

This project would not be possible without our lovely community. Thank you to everyone that built something with Eleventy (×524 authors on our web site!), wrote a blog post about Eleventy, contributed code to core or plugins, documentation, asked questions, answered questions, braved The Leaderboards, participated on Discord, filed issues, attended (or organized!) a meetup, said a kind word on Twitter ❤️.

Install or Upgrade

  • Install to your local project: npm install @11ty/eleventy
  • Already installed in your local project? Upgrade your version: npm update @11ty/eleventy
  • Read more about local project versus global installation

Features

  • Performance improvement to lodash/isPlainObject resulted in 28% build time improvement to web.dev (and likely made your project speedier too!) #2214 #2219
  • Adds new date: git Last Modified feature to fix issues with Content Dates in production environments #142
  • New default global data: eleventy.version (holds the current version e.g. 1.0.1) and eleventy.generator (for use in <meta name="generator" content="{{ eleventy.generator }}">) #1217 #2293
  • Extra argument to the pagination before callback with current template’s data. #1209
  • Improved error messaging with Transforms and Plugins #646
  • jsdoc Comments for ConsoleLogger class #1914

Milestone

All bug fix issues can be perused at the GitHub milestone:
https://github.com/11ty/eleventy/milestone/37?closed=1

Some highlights:

  • #2221 Changes default serverless generated file content to fix bug with encoded path variables in Eleventy Serverless.
  • #2267 Regression with addExtension API and return; in the compile function to skip/ignore a template.
  • #2217 Fix for this.defaultRenderer is not a function error when using an async function with addExtension’s compile
  • #1313 When your config file throws an error, Eleventy would sometimes still process data files when using --version and --help.
  • #2298 Bug with front matter in layouts
  • #2278 Obscure bug with passthrough copy and --incremental mistakenly creating a file instead an output folder
  • #2145 Fix to allow setting a layout via addGlobalData configuration API
  • #2179 Fix addGlobalData configuration API to execute once per build

Major Version Dependency Upgrades

There are no major version dependency updates between 1.0.1 and 1.0.0.

THANK YOU NOTES

First-time GitHub contributions from @vseventer

Gold Sponsors: Sanity.io, Nordhealth

Silver Sponsors: Set Creative Studio, Unabridged Software, PQINA, The Coders Guild, Bejamas, Nathan Smith, Flatirons Development, Monarch Air Group

OpenCollective Monthly Backers: Viljami Salminen, Tyler Gaw, Peter deHaan, Melanie Sumner, Alejandro Rodríguez, Mat Marquis, Philip Borenstein, Jérôme Coupé, Max Böck, Bryce Wray, Kristof Michiels, Yuhei Yasuda, Nicolas Hoizey, Mike Aparicio, Ben Myers, Katie Sylor-Miller, Todd Libby, Mark Buskbjerg, mortendk, Aaron Hans, Lauris Consulting, John Meyerhofer, Luke Bonaccorsi, Dimitrios Grammatikogiannis, Keenan Payne, Devin Clark, Eric Bailey, Dave Rupert, Manuel Matuzovic, Phil Hawksworth, Wellness Researched, Tianyu Ge, Kyosuke Nakamura, Hans Gerwitz, Makoto Kawasaki, shawn j sandy, Horacio Gonzalez, Matthew Tole, Ivan Buncic, Ned Zimmerman, Jenn Schiffer, Mark Boulton, Søren Birkemeyer, Richard Hemmer, Nick Nisi, Andrew Harvard, Takuya Fukuju, John SJ Anderson, Ryan Swaney, Alistair Shepherd, Ivo Herrmann, Flaki, Rob Sterlini, Kyle Mitofsky, John Hall, Scott McCracken, James Steinbach, Miriam Suzanne, Bentley Davis, Evan Harrison, Higby, vince falconi, Martin Schneider, Stephanie Eckles, Frontend Weekly Tokyo, Angelique Weger, Ross Kinney, Tim Giles, Matt DeCamp, Chris Burnell, Ximenav Vf., Juan Miguel, Kasper Storgaard, Kevin Healy, Greg Gibson, hiddedevries.nl, Jeremy Caldwell, Michelle Barker, Alesandro Ortiz, David A. Herron, Paul Robert Lloyd, Andrea Vaghi, Bryan Robinson, Ashur Cabrera, Raymond Camden, John Meguerian, Joe Lamyman, Jeffrey A Morgan, Brett Nelson, Paul Welsh, Ingo Steinke, Josh Crain, Melanie Richards, Rich Holman, Lewis Nyman, Dorin Vancea, Marco Zehe, Wes Ruvalcaba, Luc Poupard, Ferpection, Entle Web Solutions, Ken Hawkins, Sami Singh, Fershad Irani, Nikita Dubko, Aaron Gustafson, Chris, Benjamin Geese, Marcus Relacion, Netin nopeustesti, Bobby Ray, Cthos, Sia Karamalegos, Christian Miles, Raphael Höser, Saneef Ansari, Flemming Meyer, Colin Fahrion, Dan Burzo, Gaston Rampersad, Jon Kuperman, Dan Ott, Mobilemall.pk, Cheap VPS, David Darnes, Sam, Jon Roobottom, Dana Byerly, Oisín Quinn, Renkaatsopivasti, Windesol Sähkön Kilpailutus, Luke Mitchell, SignpostMarv, THE PADDING, Bob Monsour, Marc FILLEUL, Patrick Byrne, Ara Abcarians, Daniel Ryan, zapscribbles, Frank Reding, quinnanya, Central Va Insulation, Cory Birdsong, Aram ZS, Michel van der Kroef, Vinicius Depizzol, Andy Stevenson, HelppoHinta.fi, jpoehnelt, Jina Anne, Ingo Sobolewski

Eleventy v1.0.0: First!

10 Jan 01:51
Compare
Choose a tag to compare

Eleventy v1.0.0 🎈🐀⚡️

This project would not be possible without our lovely community. Thank you to everyone that built something with Eleventy (×476 authors on our web site!), wrote a blog post about Eleventy, contributed code to core or plugins, documentation, asked questions, answered questions, braved The Leaderboards, participated on Discord, filed issues, attended (or organized!) a meetup, said a kind word on Twitter ❤️.

I really wish I had time to list everyone, but I do want to mention a few folks that have made tremendous contributions:

Install or Upgrade

  • Install to your local project: npm install @11ty/eleventy
  • Already installed in your local project? Upgrade your version: npm update @11ty/eleventy
  • Read more about local project versus global installation

Upgrading from 0.x? Try out the eleventy-upgrade-help plugin.

This will log breaking changes that apply to your project. https://github.com/11ty/eleventy-upgrade-help

Breaking Changes

  • Changes Node requirement to 12+ (previously: 10+)
  • Data Deep Merge is now enabled by default
  • The ordering in the Data Cascade changed slightly: Front Matter in Layout files moved to be lower precedence, below Template and Data Directory Files (but higher than Global Data).
  • liquidjs v9 major version upgrade changes:
    • setLiquidOptions: Eleventy default for dynamicPartials changed to true. Issue #240 Unquoted include paths will need to be updated or revert using dynamicPartials: false
    • setLiquidOptions: Liquid option strict_filters renamed to strictFilters. Issue #1390
    • setLiquidOptions: Eleventy default for strict_filters/strictFilters changed to true. Issue #222
    • Relative path includes (e.g. {% include "./include.liquid" %}) now look relative to the file first, and the includes directory second. Issue #2090
  • ejs v3 major version upgrade changes: Issue #1392
    • Removes <% include /included %> style include, use <%- include('/included') -%> instead. Don’t forget the dash <%- and -%>!
  • .gitignore files outside of your project root are no longer supported when calculating ignored paths in Eleventy. Issue #364
    • ✅ {ROOT}/.gitignore (supported)
    • 🚫 {INPUT_DIR}/.gitignore (not supported)
    • ✅ {ROOT}/.eleventyignore (supported)
    • ✅ {INPUT_DIR}/.eleventyignore (supported)
  • If you rely on the YYYY-MM-DD format in your file names for content dates, these are now assumed to be UTC instead of local dates. Take care if you use liquid’s built-in date format with page.date!
  • browser-sync:
  • Removes the jstl template language. Use 11ty.js instead. Issue #1084
  • Change to dataTemplateEngine: false by default. Issue #174

Please use eleventy-upgrade-help to log breaking changes that apply to your project.

Features

Major

Minor

  • Passthrough Copy now throws an error if two or more files attempt to copy to the same output location. Issue #1677
  • For better URL-safe slugs by default, we now suggest using the new slugify global filter instead of the previous slug. slug is still included for backwards compatiblity. slugify Docs. eleventy-upgrade-help includes a permalink checker to compare slug and slugify output. Issue #278
  • Added support for protocol relative URLs in the url global filter (though technically accurate, using this method is discouraged). Issue #1276
  • New Eleventy supplied data:
  • tags are now de-duped. Issue #1876
  • JavaScript functions in eleventyComputed now have access to global filters.
  • Ignores
  • Configuration: Access to eleventyConfig.dir in plugins. Issue #922
  • Configuration: Events are now Async-friendly
  • Replace chalk dependency with kleur Issue #2113
  • Adds template language-agnostic compilation caching for speeeeed Issue #1529
  • Fixes bug --input=file.njk --output=. would process 0 files. Issue #1129
  • Fixes bug where Eleventy would stop processing templates in watch/serve mode after a compilation error. Issue #1658
  • Front matter parsing errors will now report the filename of the offending file in the error message. Issue #1152
  • Option to opt-out of the browser-sync JavaScript snippet
  • Warning when Transforms that return empty content. Issue #1487
  • Transforms now have access to inputPath Issue #789
  • Shows the preprocessed template engine name on the console for html or md files Issue #1478

Nunjucks

  • Adds eleventyConfig.setNunjucksEnvironmentOptions method. Issue #895
  • Adds eleventyConfig.addNunjucksGlobal method. Issue #1060

Liquid

  • Adds support for asynchronous filters. Issue #831

Milestone

All bug fix issues can be perused at the GitHub milestone:
https://github.com/11ty/eleventy/milestone/32?closed=1

Some internals highlights:

  • Improvements to stability with Nunjucks and shortcodes in {% for %} loops
  • Fix for EMFILE: too many open files errors
  • Use a named browser-sync instance. Issue #1125
  • Switch from fs-extra to graceful-fs

Major Version Dependency Upgrades

These are convenience links provided. Major things of note are summarized in the Breaking Changes section above.

  • liquidjs fro...
Read more

Eleventy v0.12.1

19 Mar 21:47
Compare
Choose a tag to compare

v0.12.1 Documentation

Install or Upgrade

  • Install to your local project: npm install @11ty/eleventy
  • Already installed in your local project? Upgrade your version: npm update @11ty/eleventy
  • Read more about local project versus global installation

How can you support Eleventy?

Thank you to everyone that contributed code, documentation, answered questions, filed issues, said a kind word on Twitter ❤️

The TL;DR List

Fix for error messaging when attempting to use Node 8

As of Eleventy v0.12.0, Node 10 is now required. Node 8 is end of life (EOL) and no longer supported by Node. There was a small bug in the 0.12.0 release that would not show friendly error messaging when attempting to use Node 8 with Eleventy. That has been fixed.

Administration

Eleventy v0.12.0

19 Mar 21:44
Compare
Choose a tag to compare

v0.12.0 Documentation

Install or Upgrade

  • Install to your local project: npm install @11ty/eleventy
  • Already installed in your local project? Upgrade your version: npm update @11ty/eleventy
  • Read more about local project versus global installation

How can you support Eleventy?

Thank you to everyone that contributed code, documentation, answered questions, filed issues, said a kind word on Twitter ❤️

The TL;DR List

Node version support bumped from 8 to 10+

Node 8 is end of life (EOL) and no longer supported by Node.

Dependency Major Release Bumps

pug 2.0.4 to 3.0.2

chalk 3.0.0 to 4.1.0

fs-extra 8.1.0 to 9.1.0

Administration