chore(deps): update dependency @11ty/eleventy to v2 #370
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:
^1.0.0
->^2.0.0
Release Notes
11ty/eleventy (@11ty/eleventy)
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.eleventy
in JavaScript template functions #2790lodash
security audits #287711ty.js
templates 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_modules
file weight decreased by 77.8%: 34.3 MB (155 MB in v1.0.2)npm install
timeFaster Builds
--incremental
for incremental builds #108pagination
data oreleventyImport
#975--ignore-initial
command 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-register
and alias11ty.ts
or11ty.tsx
to11ty.js
.dir
(input/output/includes/data/layouts locations),outputMode
(where the templates are going:fs
,json
,ndjson
),runMode
(build
,watch
, orserve
), orresults
for the processed Eleventy output.Breaking Changes
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.git
and nestednode_modules
folders are ignored by default (previously we ignorednode_modules/**
, now**/node_modules/**
) #2436page.fileSlug
when the file name isindex.*
. e.g.YYYY-MM-DD-myslug/index.md
has apage.fileSlug
ofmyslug
when previously it wasYYYY-MM-DD-myslug
#1947 #2111renderData
feature (use Computed Data instead) #2356--passthroughall
command line flag #2682liquidjs
from v9 to v10 Release notes #2678luxon
from v2 to v3 Release notesmarkdown-it
from v12 to v13 Release notesThe Small Features
eleventy.config.js
andeleventy.config.cjs
in addition to.eleventy.js
#1029addShortcode
is now async-friendly #2726addFilter
is now async-friendly #2536 (also adds anaddAsyncFilter
API method)watch
option 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-copy
options in passthrough file copy #1686log
filter supports chaining #2467git Created
date option #2468read
andencoding
to custom data formatsEven Smaller Features
eleventy.env.runMode
to global data. #2770setDataFileSuffixes
API method to customize Template and Directory data file suffixes (or opt-out of the Template and Directory Data Files feature) #2681singleTemplateScope: false
simplifies using collections in serverless mode. #2736--serve
issues that required server restarts.this.page
andthis.eleventy
are now available on Shortcodes, 🆕 Filters, 🆕 Linters, and 🆕 Transformspage
andcontent
on Collection entriesgetCollectionItemIndex
universal filter #2676eleventyConfig.pathPrefix
#2526generatePageOnEmptyData
to 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 - 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 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 has been generated by Mend Renovate. View repository job log here.