npm @11ty/eleventy 2.0.0
Eleventy v2.0.0: Now with twice as many Possums

latest releases: 3.0.0, 3.0.0-beta.2, 3.0.0-alpha.20...
21 months ago

๐Ÿšจ 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

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 โค๏ธ.

Pull Requests From

@AleksandrHovhannisyan ๐Ÿ†•, @amareshsm ร—2 ๐Ÿ†•, @binyamin, @DamianOsipiuk ๐Ÿ†•, @epelc ร—2 ๐Ÿ†•, @j-f1 ๐Ÿ†•, @Jaza ๐Ÿ†•, @kentaroi ๐Ÿ†•, @kev4ev ๐Ÿ†•, @LeoSchae ๐Ÿ†•, @milahu ร—3, @nasivuela ๐Ÿ†•, @NickColley ๐Ÿ†•, @NotWoods, @Obayanju ๐Ÿ†•, @Snapstromegon ร—16 (wow! ๐Ÿคฏ), @TheDocTrier ๐Ÿ†•, @thinkverse ๐Ÿ†•, @TigersWay ๐Ÿ†•, @wes-goulet ๐Ÿ†•, @mrmartineau ๐Ÿ†•, @danburzo ๐Ÿ†•

Read more from the Community

Open Collective Supporters

Don't miss a new eleventy release

NewReleases is sending notifications on new releases.