functions.netlify.com
functions.netlify.com copied to clipboard
Bump ejs and @11ty/eleventy
Bumps ejs to 3.1.8 and updates ancestor dependency @11ty/eleventy. These dependencies need to be updated together.
Updates ejs
from 2.7.4 to 3.1.8
Release notes
Sourced from ejs's releases.
v3.1.8
Version 3.1.8
v3.1.7
Version 3.1.7
v3.1.6
Version 3.1.6
v3.1.5
Version 3.1.5
v3.0.2
No release notes provided.
Commits
5126ff5
Version 3.1.87d5a1c6
Merge branch 'main' of github.com:mde/ejs into main551949d
Minor mitigation66f7471
Merge pull request #664 from netcode/patch-1820855a
Version 3.1.7076dcb6
Don't use template literalfaf8b84
Skip test -- error message vary depending on JS runtimec028c34
Update packages839ad20
Update SECURITY.mdc040180
Update README.md- Additional commits viewable in compare view
Updates @11ty/eleventy
from 0.12.1 to 2.0.0
Release notes
Sourced from @11ty/eleventy
's releases.
Eleventy v2.0.0: Now with twice as many Possums
🚨 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:
# Local project npm install @11ty/eleventy@latest
Global install
npm install
@11ty/eleventy
@latest
-g
- Read more about local versus global installation.
- Watch a short video about 2.0 on YouTube.
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
- ✅ Dependencies decreased by 32.1%: 211 modules (311 in v1.0.2)
- ✅
node_modules
file weight decreased by 77.8%: 34.3 MB (155 MB in v1.0.2)- ✅ 30.5% faster
npm install
timeFaster Builds
- Improved build performance (tested on a sample 500 page site against v1.0.2) using:
- Liquid: ✅ 18.18% faster
- Nunjucks: ✅ 17.74% faster
- Markdown (with Liquid): ✅ 17.95% faster
- JavaScript (11ty.js): ✅ 8.33% faster
--incremental
for incremental builds #108
- Smarter incremental builds with support for layout dependencies, registered dependencies on custom templates, dependencies in
pagination
data oreleventyImport
#975--ignore-initial
command line option to skip the first build (best paired with--incremental
)- Use emulated passthrough copy to serve passthrough files directly without triggering a build (will still work with live reload) #2456
Plugins
- Support for WebC, the new single file format for web components
- Eleventy Edge will render Eleventy templates in an Edge Function for dynamic content (bundled with Eleventy)
- Eleventy Dev Server replaces Browsersync, adds support for DOM-diffing live reloads. #1305 (bundled with Eleventy)
- Render Plugin will render any template syntax inside other files (bundled with Eleventy)
- Internationalization (i18n) Plugin makes it easy to create localized sites (bundled with Eleventy)
- HTML
<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)- Support for the Vite plugin
... (truncated)
Changelog
Sourced from @11ty/eleventy
's changelog.
Dependency notes
@iarna/toml
has a 3.0 that we have never been on but it was released the same day as the last 2.x https://github.com/BinaryMuse/toml-node/commits/master (needs more investigation)List of dependencies that went ESM
@sindresorhus/slugify
ESM at 2.xmultimatch
is ESM at 6bcp-47-normalize
at 1.xRelease Procedure
- (Optional) Update minor dependencies in package.json
npx npm-check-updates
- or
npm outdated
+npm update --save
- If the minimum Node version changed, make sure you update
package.json
engines property.
- Make sure the error message works correctly for Node versions less than 10.
- 0.12.x+ requires Node 10+
- 1.x+ requires Node 12+
- 2.x+ requires Node 14+
rm -rf node_modules && rm -f package-lock.json && npm install
npm audit
- Make sure
npx ava
runs okay- Update version in
package.json
- (Canary) Use
-canary.1
suffix- (Beta) Use
-beta.1
suffix- Run
npm run coverage
- Check it all in and commit
- Tag new version
- Wait for GitHub Actions to complete to know that the build did not fail.
- Release
- (Canary)
npm publish --access=public --tag=canary
- NOTE: that in 3.0 we need to switch this to
alpha
to avoid 11ty/eleventy#2758- (Beta)
npm publish --access=public --tag=beta
- NOTE: When releasing a
beta
, make sure to also release acanary
to mitigate 11ty/eleventy#2758.- (Main)
npm publish --access=public
- (Optional) Build and commit a new the
eleventy-edge-cdn
project to generate a new Eleventy Edge lib.Unfortunate note about npm
canary
tag: if you push a 1.0.0-canary.x tocanary
after a2.0.0-canary.x
, it will use the last pushed tag when you npm install fromcanary
(not the highest version number)Docs/Website (Main releases only)
- Maybe search for
2.0.0-canary.
or2.0.0-beta.
in the docs copy to update to the stable release, if applicable.- Check in a new
11ty-website
site with updatedpackage.json
version.- Add version to
11ty-website
versions.json
- Commit it
- Create a new branch for branched version
- (Main) Check out the previous version git branch and add
outdated: true
to_data/config.json
and commit/push.- Go to https://app.netlify.com/sites/11ty/settings/domain and set up a subdomain for it.
... (truncated)
Commits
05c6263
v2.0.05c2a5bf
Update dev-dependencies7ed1fef
Merge pull request #2781 from danburzo/mdlib-set97243b6
v2.0.0-beta.355e0a62
v2.0.0-canary.3523b80d9
Merge pull request #2783 from mrmartineau/fix/serverless-var9f13b8e
Fixes serverlessFilePath is not defined (2.0.0-beta.2) #2782b466258
Make markdown library .set() method optionalbde84b4
v2.0.0-beta.26f877de
v2.0.0-canary.34- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.
Deploy Preview for functions failed.
Name | Link |
---|---|
Latest commit | ad5dbba90dd4b94f15484c573308c24670d0c59c |
Latest deploy log | https://app.netlifystg.com/sites/functions/deploys/6407b903c3379d0008855122 |
Deploy Preview for spectacular-shortbread-e74f42 failed.
Name | Link |
---|---|
Latest commit | ad5dbba90dd4b94f15484c573308c24670d0c59c |
Latest deploy log | https://app.netlifystg.com/sites/spectacular-shortbread-e74f42/deploys/6407b90319e50700081ef060 |