Update dependency @11ty/eleventy to v3 #91
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.11.0->^3.0.0Release Notes
11ty/eleventy (@11ty/eleventy)
v3.1.2: Eleventy v3.1.2 (we fixed 15 more things)Compare Source
Try it out in your project
Release notes
tinyglobbywhen using../for input directory (and/or passthrough copy) #3854 #3862collectionsmissing theallcollection #3860cacheablevalue for advanced control of internal cache (related docs). Fixes issues with JavaScript import cache busting in Windows #3824 #3832templateRender has not yet initializederror after Configuration reset #3870npmaudit withbrace-expansiondependency #3866entitiesfrom 6.0.0 to 6.0.1 in #3855v3.1.1: Eleventy v3.1.1 (we fixed some things)Compare Source
Try it out in your project
Read more about getting started with Eleventy or why you should use Eleventy.
Release notes
eleventyConfig.amendLibraryandeleventyConfig.setLibrarytogether on the same syntax type, amendLibrary would run multiple times #3816includesdirectory is set to an empty string""#3797eleventyComputed.permalinkvalues when used with non-computedpermalink#3818"../") #3809datevalues in Data Cascade #3833v3.1.0: Eleventy v3.1.0: 11% faster and 22% smaller!Compare Source
Try it out in your project
Read more about getting started with Eleventy or why you should use Eleventy.
What’s new?
import data from './data.json' with { type: 'json' };, see 11ty/eleventy-dependency-tree-esm#2 and 11ty/eleventy-dependency-tree-esm#4html-relativePassthrough Copy mode for relative asset references in HTML. Learn more at #3573 (from issue #3552)checkDuplicatesoption (always enabled by default, now allows you to disable) #3560 Docs: https://www.11ty.dev/docs/plugins/id-attribute/#with-optionspermalink: falsetemplate (in the HTML<base>plugin) #3503.11ty.jsfiles #3571Bug fixes
eleventyConfig.addCollectionAPI #3467link.slice is not a functionerrors when using function permalinks #3472 #3619eleventyConfig.setUseTemplateCache(false);and11ty.jsJavaScript templates #3667Error.causeforTemplateContentPrematureUseErrorwhen rendering by @noelforte in #3651dateValue.toLowerCase() is not a functionerror when using addDateParsing API #3674eleventy.templateModifiedlisteners warning #3735eleventyComputed. Arrays are now treated as a single entity when merging over non-computed data. Arrays will still be merged in the data cascade from multipleeleventyComputedentries. #3728Dependency Watch
v3.1.0×14221.4 MBv3.0.0×18727.4 MBv2.0.1×21536.4 MBv1.0.2×35673.3 MBliquidjsdependency to10.21.0(from10.17.0)rifrafdependency by @jeffalo #3622 #3673fast-glob+is-glob->tinyglobby,micromatch->picomatchby @pralkarz in #3680Major Upgrades
@11ty/dependency-treefrom v3 to v4 (bumps to Node 18+) https://github.com/11ty/eleventy-dependency-tree/releases/tag/v4.0.0@11ty/dependency-tree-esmfrom v1 to v2 (bumps to Node 18+) https://github.com/11ty/eleventy-dependency-tree-esm/releases/tag/v2.0.0@11ty/eleventy-utilsfrom v1 to v2 (bumps to Node 18+) https://github.com/11ty/eleventy-utils/releases/tag/v2.0.0@11ty/recursive-copyfrom v3 to v4 (bumps to Node 18+, dependency cleanup) https://github.com/11ty/recursive-copy/releases/tag/v4.0.0entitiesfrom v5 to v6 (upstream change related to deep import paths https://github.com/fb55/entities/releases/tag/v6.0.0)eleventy-benchmarkBuild PerformanceWe’re showing the benchmark from the latest beta here — there were no core code changes between v3.1.0-beta.1 and v3.1.0.
v3.0.0: Eleventy v3.0.0: Possums ❤️ ESMCompare Source
We did it. After 22 pre-releases and over a year of work, Eleventy 3.0.0 is now available. You can try it out now on your project using:
If you’re upgrading from a previous version of Eleventy, use the Upgrade Help plugin for automated checks and help with your upgrade!
Why should you use 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.
A few numbers on the best version of Eleventy yet:
v2.0.1v3.0.0*fastest time of 3 runs (bypassing local cache)
Flagship 3.0 features
slugify,inputPathToUrluniversal filters (via memoization) #840 Docs: https://v3.11ty.dev/docs/memoize/configexport improves consistency for plugins #3246 andset*Directoryconfiguration API methods #1503 Docs: https://v3.11ty.dev/docs/config-shapes/#optional-export-config-object and https://v3.11ty.dev/docs/config/#configuration-optionsidattributes to headings for on-page anchor links (supports all template-languages) #3363 Docs: https://v3.11ty.dev/docs/plugins/id-attribute/jsFront Matter #2819 Docs: https://v3.11ty.dev/docs/data-frontmatter/#javascript-front-matterpage.rawInputunlocks access to raw template content #1206 https://v3.11ty.dev/docs/data-eleventy-supplied/#page-variableaddPreprocessorconfiguration API to modify raw content before rendering works for file ignores and drafts #188 Docs: https://v3.11ty.dev/docs/config-preprocessors/addDateParsingconfiguration API to add your own custom date parsing logic #867 Docs: https://v3.11ty.dev/docs/dates/#configuration-api-for-custom-date-parsingeleventyDataSchemadata option to validate data cascade values #879 Docs: https://v3.11ty.dev/docs/data-validate/addPluginconfiguration API #2675 Docs: https://v3.11ty.dev/docs/plugins/#plugins-are-configurationuseLayoutsoption for Custom Template Languages allows opt-out of Eleventy Layouts #2830 Docs: https://v3.11ty.dev/docs/languages/custom/#uselayoutsrenderTransformsUniversal Filter will run project transforms on an arbitrary block of content (useful for RSS and other feeds) #3294--incremental=filename.mdon the command line #3324 Docs: https://v3.11ty.dev/docs/usage/#incremental-for-partial-incremental-buildsrenderContentUniversal Filter now included with Render Plugin #3370 Docs: https://v3.11ty.dev/docs/plugins/render/#rendercontent-filteronRequestAPI for handling requests dynamically during development (used with the new Image Transform plugin)Breaking 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, andhandlebarstemplate languages moved from core to official plugins:handlebars: https://v3.11ty.dev/docs/languages/handlebars/mustache: https://v3.11ty.dev/docs/languages/mustache/ejs: https://v3.11ty.dev/docs/languages/ejs/haml: https://v3.11ty.dev/docs/languages/haml/pug: https://v3.11ty.dev/docs/languages/pug/--config=command line file is missing #3373htmlOutputSuffixfeature was removed #3327--formats=and--formats=""on command line means no formats (previously aliased to*) #3255compileOptions.permalinkoption changed fromtrueto"raw"#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 (177 closed): https://github.com/11ty/eleventy/milestone/40?closed=1
Full Changelog: 11ty/eleventy@v2.0.1...v3.0.0
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, @Ryuno-Ki, @lexoyo, @satgo1546, @KiwiKilian
v2.0.1: Eleventy v2.0.1: a Bug Fix ReleaseCompare Source
Eleventy v2.0.1 is now available! You can try it out in your project now:
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
this.eleventyin JavaScript template functions #2790lodashsecurity audits #287711ty.jstemplates were too aggressively cached on watch/serve #2839 #2838Housekeeping
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
v2.0.0: Eleventy v2.0.0: Now with twice as many PossumsCompare Source
🚨 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:
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
node_modulesfile weight decreased by 77.8%: 34.3 MB (155 MB in v1.0.2)npm installtimeFaster Builds
--incrementalfor incremental builds #108paginationdata oreleventyImport#975--ignore-initialcommand line option to skip the first build (best paired with--incremental)Plugins
<base>Plugin makes it easy to deploy your site to any folder path without changing any content (works great with the path prefix feature) (bundled with Eleventy)And more…
esbuild-registerand alias11ty.tsor11ty.tsxto11ty.js.dir(input/output/includes/data/layouts locations),outputMode(where the templates are going:fs,json,ndjson),runMode(build,watch, orserve), orresultsfor the processed Eleventy output.Breaking Changes
eleventy-upgrade-helperplugin, 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.gitand nestednode_modulesfolders are ignored by default (previously we ignorednode_modules/**, now**/node_modules/**) #2436page.fileSlugwhen the file name isindex.*. e.g.YYYY-MM-DD-myslug/index.mdhas apage.fileSlugofmyslugwhen previously it wasYYYY-MM-DD-myslug#1947 #2111renderDatafeature (use Computed Data instead) #2356--passthroughallcommand line flag #2682liquidjsfrom v9 to v10 Release notes #2678luxonfrom v2 to v3 Release notesmarkdown-itfrom v12 to v13 Release notesThe Small Features
eleventy.config.jsandeleventy.config.cjsin addition to.eleventy.js#1029addShortcodeis now async-friendly #2726addFilteris now async-friendly #2536 (also adds anaddAsyncFilterAPI method)watchoption to trigger live reloads on file changes outside of your Eleventy build. Works great when you’re using a bundler in parallel!eleventyConfig.ignores) and file watching (eleventyConfig.watchIgnores) #893recursive-copyoptions in passthrough file copy #1686logfilter supports chaining #2467git Createddate option #2468readandencodingto custom data formatsEven Smaller Features
eleventy.env.runModeto global data. #2770setDataFileSuffixesAPI method to customize Template and Directory data file suffixes (or opt-out of the Template and Directory Data Files feature) #2681singleTemplateScope: falsesimplifies using collections in serverless mode. #2736--serveissues that required server restarts.this.pageandthis.eleventyare now available on Shortcodes, 🆕 Filters, 🆕 Linters, and 🆕 Transformspageandcontenton Collection entriesgetCollectionItemIndexuniversal filter #2676eleventyConfig.pathPrefix#2526generatePageOnEmptyDatato generate an empty results page with an empty paginated data set #1698 #756 #731 #2208Housekeeping
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
Configuration
📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.