Eleventy v3.0.0-beta.1: ESM like a Phoenix (the mythical bird, not Arizona) #3395
zachleat
started this conversation in
Uncategorized
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.1v3.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,inputPathToUrluniversal filters (via memoization) Can Eleventy cache filters or template includes? (memoize) #840configexport improves consistency for plugins Add support forconfignamed export From Configuration File #3246 andset*Directoryconfiguration API methods set*Directory Configuration API methods #1503IdAttributeplugin addsidattributes to headings (supports all template-languages) NewIdAttributePluginwill addidattributes to your headings #3363eleventy-plugin-bundle)jsFront Matter Addsjsfront matter type for arbitrary JavaScript front matter. #2819page.rawInputunlocks access to raw template content Access to raw file content (before any processing) #1206addPreprocessorconfiguration API to modify raw content before rendering works for file ignores and draftsaddPreprocessorConfiguration API method to Ignore Files and simplify "Draft" templates #188addDateParsingconfiguration API to add your own custom date parsing logic Configuration Hook/callback for customdateparsing #867eleventyDataSchemadata option to validate data cascade values UseeleventyDataSchemain Data Cascade to validate data #879addPluginconfiguration API Enable plugins to be async #2675useLayoutsoption for Custom Template Languages allows opt-out of Eleventy LayoutsuseLayoutsoption for Custom template syntax allows opt-out of Eleventy Layouts for a template type #2830renderTransformsUniversal Filter will run project transforms on an arbitrary block of content (useful for RSS and other feeds)renderTransformsFilter to run Transforms on arbitrary content (useful for RSS feeds) #3294--incremental=filename.mdon the command line--incremental=filename.mdfor incremental build without--watchor--serve#3324renderContentUniversal Filter now included with Render PluginrenderContentUniversal 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, andhandlebarsplugins moved from core to official plugins--config=command line file is missing Throw if--configis specified but the file is not found #3373htmlOutputSuffixfeature was removed RemovehtmlOutputSuffixCommon Pitfall when input and output directories match. #3327--formats=and--formats=""on command line means no formats (previously aliased to*) Cleanup for--formats,templateFormatsconfig, andsetTemplateFormatsaddTemplateFormatsconfiguration API methods #3255compileOptions.permalinkoption changed fromtrueto"raw"compileOptions.permalinkdefault changed fromtrueto"raw"for Custom Template Syntaxes #2780js-yamlv3 to v4 Changelog@sindresorhus/slugifyv2 to v3 Changelog: Node 12+, Pure ESMbcp-47-normalizev1 to v2 Changelog: Pure ESMdependency-graphv0.x to v1 Changelogiso-639-1v2 to v3 Changelog: Pure ESMmarkdown-itv13 to v14 Changelog: Pure ESM, removeddistfolderMinutiae
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