Update dependency @11ty/eleventy to v3 #258
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: samuel-p/sp-codes.de#258
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "renovate/11ty-eleventy-3.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^2.0.1
->^3.1.0
Release Notes
11ty/eleventy (@11ty/eleventy)
v3.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 https://github.com/11ty/eleventy-dependency-tree-esm/issues/2 and https://github.com/11ty/eleventy-dependency-tree-esm/issues/4html-relative
Passthrough Copy mode for relative asset references in HTML. Learn more at https://github.com/11ty/eleventy/pull/3573 (from issue #3552)checkDuplicates
option (always enabled by default, now allows you to disable) #3560 Docs: https://www.11ty.dev/docs/plugins/id-attribute/#with-optionspermalink: false
template (in the HTML<base>
plugin) #3503.11ty.js
files #3571Bug fixes
eleventyConfig.addCollection
API #3467link.slice is not a function
errors when using function permalinks #3472 #3619eleventyConfig.setUseTemplateCache(false);
and11ty.js
JavaScript templates #3667Error.cause
forTemplateContentPrematureUseError
when rendering by @noelforte in https://github.com/11ty/eleventy/pull/3651dateValue.toLowerCase() is not a function
error when using addDateParsing API #3674eleventy.templateModified
listeners 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 multipleeleventyComputed
entries. #3728Dependency Watch
v3.1.0
×142
21.4 MB
v3.0.0
×187
27.4 MB
v2.0.1
×215
36.4 MB
v1.0.2
×356
73.3 MB
liquidjs
dependency to10.21.0
(from10.17.0
)rifraf
dependency by @jeffalo #3622 #3673fast-glob
+is-glob
->tinyglobby
,micromatch
->picomatch
by @pralkarz in https://github.com/11ty/eleventy/pull/3680Major Upgrades
@11ty/dependency-tree
from v3 to v4 (bumps to Node 18+) https://github.com/11ty/eleventy-dependency-tree/releases/tag/v4.0.0@11ty/dependency-tree-esm
from v1 to v2 (bumps to Node 18+) https://github.com/11ty/eleventy-dependency-tree-esm/releases/tag/v2.0.0@11ty/eleventy-utils
from v1 to v2 (bumps to Node 18+) https://github.com/11ty/eleventy-utils/releases/tag/v2.0.0@11ty/recursive-copy
from v3 to v4 (bumps to Node 18+, dependency cleanup) https://github.com/11ty/recursive-copy/releases/tag/v4.0.0entities
from v5 to v6 (upstream change related to deep import paths https://github.com/fb55/entities/releases/tag/v6.0.0)eleventy-benchmark
Build 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.1
v3.0.0
*fastest time of 3 runs (bypassing local cache)
Flagship 3.0 features
slugify
,inputPathToUrl
universal filters (via memoization) #840 Docs: https://v3.11ty.dev/docs/memoize/config
export improves consistency for plugins #3246 andset*Directory
configuration API methods #1503 Docs: https://v3.11ty.dev/docs/config-shapes/#optional-export-config-object and https://v3.11ty.dev/docs/config/#configuration-optionsid
attributes to headings for on-page anchor links (supports all template-languages) #3363 Docs: https://v3.11ty.dev/docs/plugins/id-attribute/js
Front Matter #2819 Docs: https://v3.11ty.dev/docs/data-frontmatter/#javascript-front-matterpage.rawInput
unlocks access to raw template content #1206 https://v3.11ty.dev/docs/data-eleventy-supplied/#page-variableaddPreprocessor
configuration API to modify raw content before rendering works for file ignores and drafts #188 Docs: https://v3.11ty.dev/docs/config-preprocessors/addDateParsing
configuration API to add your own custom date parsing logic #867 Docs: https://v3.11ty.dev/docs/dates/#configuration-api-for-custom-date-parsingeleventyDataSchema
data option to validate data cascade values #879 Docs: https://v3.11ty.dev/docs/data-validate/addPlugin
configuration API #2675 Docs: https://v3.11ty.dev/docs/plugins/#plugins-are-configurationuseLayouts
option for Custom Template Languages allows opt-out of Eleventy Layouts #2830 Docs: https://v3.11ty.dev/docs/languages/custom/#uselayoutsrenderTransforms
Universal Filter will run project transforms on an arbitrary block of content (useful for RSS and other feeds) #3294--incremental=filename.md
on the command line #3324 Docs: https://v3.11ty.dev/docs/usage/#incremental-for-partial-incremental-buildsrenderContent
Universal Filter now included with Render Plugin #3370 Docs: https://v3.11ty.dev/docs/plugins/render/#rendercontent-filteronRequest
API 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
, andhandlebars
template 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 #3373htmlOutputSuffix
feature was removed #3327--formats=
and--formats=""
on command line means no formats (previously aliased to*
) #3255compileOptions.permalink
option changed fromtrue
to"raw"
#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 (177 closed): https://github.com/11ty/eleventy/milestone/40?closed=1
Full Changelog: https://github.com/11ty/eleventy/compare/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
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
5614d82200
tof6c8b327aa
f6c8b327aa
to618d648546
618d648546
to6029134e3d
6029134e3d
toeb2caa2957
eb2caa2957
tof2a592bdf0
f2a592bdf0
to3ac9022db5
3ac9022db5
to67e3215012
67e3215012
todbb0a5a435
dbb0a5a435
to7c434d43ff
7c434d43ff
to84989cbeee
84989cbeee
toe8a5596d61
e8a5596d61
to0d50ed3785
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.