Skip to content

Eleventy v2.0.0: Now with twice as many Possums

Compare
Choose a tag to compare
@zachleat zachleat released this 08 Feb 20:26

🚨 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