You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We did it. It’s happening. After 18 alpha pre-releases and over a year of work, our very first beta release of Eleventy 3.0 is now available. We’re still working on shipping documentation for some of these features but you can try it out now on your project using:
npminstall @11ty/eleventy@beta
If you’re upgrading, use the Upgrade Help plugin for automated project checks and help!
A few numbers on the best version of Eleventy yet:
Eleventy is now written in ESM with full support for ESM in your projects (Modify Eleventy to work with ECMAScript Modules (ESM) by default #836): configuration, data files, 11ty.js templates, etc. For many projects this won’t be a breaking change and we’ll continue to support CommonJS too.
Rather than navigating this list manually, use the Upgrade Help plugin for automated project checks and upgrade help!
Requires Node 18 or newer.
Removes Serverless and Edge plugins.
Use of bundled Eleventy plugins from CommonJS requires changing require("@11ty/eleventy") to await import("@11ty/eleventy") for ESM reasons. We provide helpful error messaging for this.
pug, ejs, haml, mustache, and handlebars plugins moved from core to official plugins
This release would not have been possible without our community and supporters.
To everyone that has built something with Eleventy: thank you!
To everyone that has answered a question about Eleventy: on the Discord, on social media, in GitHub issues or discussion, at your local meetup or coffee shop: thank you!
To everyone that attended the 11ty Conference earlier this year: thank you!
To everyone that brought a well-intentioned complaint about something you didn’t like about Eleventy: thank you!
To everyone that dropped a few nice words of appreciation: thank you!
To everyone that has chipped in with their hard-earned money and made this release possible: thank you!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We did it. It’s happening. After 18 alpha pre-releases and over a year of work, our very first beta release of Eleventy 3.0 is now available. We’re still working on shipping documentation for some of these features but you can try it out now on your project using:
If you’re upgrading, use the Upgrade Help plugin for automated project checks and help!
A few numbers on the best version of Eleventy yet:
v2.0.1
v3.0.0-beta.1
(*fastest time of 3 runs bypassing cache)
🙌🏻🚨 We still need your help! 🚨🙌🏻
11ty is now operating independently, with full time development and maintenance funded by our Open Collective supporters. We need your help to keep going! We have a goal of $6000 USD recurring monthly budget. Read more about this fundraising push and head directly to our Open Collective to start your recurring contribution!
Every recurring contribution helps!
Flagship 3.0 features
slugify
,inputPathToUrl
universal filters (via memoization) Can Eleventy cache filters or template includes? (memoize) #840config
export improves consistency for plugins Add support forconfig
named export From Configuration File #3246 andset*Directory
configuration API methods set*Directory Configuration API methods #1503IdAttribute
plugin addsid
attributes to headings (supports all template-languages) NewIdAttributePlugin
will addid
attributes to your headings #3363eleventy-plugin-bundle
)js
Front Matter Addsjs
front matter type for arbitrary JavaScript front matter. #2819page.rawInput
unlocks access to raw template content Access to raw file content (before any processing) #1206addPreprocessor
configuration API to modify raw content before rendering works for file ignores and draftsaddPreprocessor
Configuration API method to Ignore Files and simplify "Draft" templates #188addDateParsing
configuration API to add your own custom date parsing logic Configuration Hook/callback for customdate
parsing #867eleventyDataSchema
data option to validate data cascade values UseeleventyDataSchema
in Data Cascade to validate data #879addPlugin
configuration API Enable plugins to be async #2675useLayouts
option for Custom Template Languages allows opt-out of Eleventy LayoutsuseLayouts
option for Custom template syntax allows opt-out of Eleventy Layouts for a template type #2830renderTransforms
Universal Filter will run project transforms on an arbitrary block of content (useful for RSS and other feeds)renderTransforms
Filter to run Transforms on arbitrary content (useful for RSS feeds) #3294--incremental=filename.md
on the command line--incremental=filename.md
for incremental build without--watch
or--serve
#3324renderContent
Universal Filter now included with Render PluginrenderContent
Universal Filter in Render Plugin #3370Breaking Changes and Upgrade Path
Rather than navigating this list manually, use the Upgrade Help plugin for automated project checks and upgrade help!
require("@11ty/eleventy")
toawait import("@11ty/eleventy")
for ESM reasons. We provide helpful error messaging for this.pug
,ejs
,haml
,mustache
, andhandlebars
plugins moved from core to official plugins--config=
command line file is missing Throw if--config
is specified but the file is not found #3373htmlOutputSuffix
feature was removed RemovehtmlOutputSuffix
Common Pitfall when input and output directories match. #3327--formats=
and--formats=""
on command line means no formats (previously aliased to*
) Cleanup for--formats
,templateFormats
config, andsetTemplateFormats
addTemplateFormats
configuration API methods #3255compileOptions.permalink
option changed fromtrue
to"raw"
compileOptions.permalink
default changed fromtrue
to"raw"
for Custom Template Syntaxes #2780js-yaml
v3 to v4 Changelog@sindresorhus/slugify
v2 to v3 Changelog: Node 12+, Pure ESMbcp-47-normalize
v1 to v2 Changelog: Pure ESMdependency-graph
v0.x to v1 Changelogiso-639-1
v2 to v3 Changelog: Pure ESMmarkdown-it
v13 to v14 Changelog: Pure ESM, removeddist
folderMinutiae
Full Eleventy v3 Milestone (151 closed): https://github.com/11ty/eleventy/milestone/40?closed=1
Full Changelog: v2.0.1...v3.0.0-beta.1
Thank You Notes
This release would not have been possible without our community and supporters.
Thank you to @bobmonsour, @pdehaan, @Snapstromegon, @cdransf, @5t3ph, @BenDMyers, @siakaramalegos, @shivjm, @dleatherman, @darthmall, @clottman, @nachtfunke, @David-Large, Olivia Nicholson, and @mneumegen for their community contributions!
Thank you for the code contributions from @VividVisions, @mayank99, @Zearin, @chriskirknielsen, @mendhak, @fqueze, @shivjm, @rdela, @w0whitaker, @vrugtehagel, @sachac, @Snapstromegon, @alifeee, @uncenter, @Zwyx, @mayankkamboj47, @aschrab, @jgarber623, @korverdev, @mathertel, @mathieuprog, @epelc, and @Ryuno-Ki.
This discussion was created from the release Eleventy v3.0.0-beta.1: ESM like a Phoenix (the mythical bird, not Arizona).
Beta Was this translation helpful? Give feedback.
All reactions