eleventy-starter-ghost
eleventy-starter-ghost copied to clipboard
Update dependency @11ty/eleventy to v1
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @11ty/eleventy (source) | ^0.11.0 -> ^1.0.0 |
Release Notes
11ty/eleventy
v1.0.1
Eleventy v1.0.1 🎈🐀⚡️🕚
This project would not be possible without our lovely community. Thank you to everyone that built something with Eleventy (×524 authors on our web site!), wrote a blog post about Eleventy, contributed code to core or plugins, documentation, asked questions, answered questions, braved The Leaderboards, participated on Discord, filed issues, attended (or organized!) a meetup, said a kind word on Twitter ❤️.
- 🏆 A super special thanks to Peter DeHaan for their tireless contributions on the Eleventy Issue tracker.
- All of our supporters on Open Collective ❤️
- Gold Sponsors: Sanity.io, Nordhealth and Silver Sponsors: Set Creative Studio, Unabridged Software, PQINA, The Coders Guild, Bejamas, Nathan Smith, Flatirons Development, Monarch Air Group
- A full list of Backers can be found below!
- Contribute on Open Collective
- How else can you contribute to Eleventy?
Install or Upgrade
- Install to your local project:
npm install @​11ty/eleventy - Already installed in your local project? Upgrade your version:
npm update @​11ty/eleventy - Read more about local project versus global installation
Features
- Performance improvement to
lodash/isPlainObjectresulted in 28% build time improvement to web.dev (and likely made your project speedier too!) #2214 #2219 - Adds new
date: git Last Modifiedfeature to fix issues with Content Dates in production environments #142 - New default global data:
eleventy.version(holds the current version e.g.1.0.1) andeleventy.generator(for use in<meta name="generator" content="{{ eleventy.generator }}">) #1217 #2293 - Extra argument to the pagination
beforecallback with current template’s data. #1209 - Improved error messaging with Transforms and Plugins #646
- jsdoc Comments for ConsoleLogger class #1914
Milestone
All bug fix issues can be perused at the GitHub milestone: https://github.com/11ty/eleventy/milestone/37?closed=1
Some highlights:
- #2221 Changes default serverless generated file content to fix bug with encoded path variables in Eleventy Serverless.
- #2267 Regression with
addExtensionAPI andreturn;in thecompilefunction to skip/ignore a template. - #2217 Fix for
this.defaultRenderer is not a functionerror when using anasync functionwithaddExtension’scompile - #1313 When your config file throws an error, Eleventy would sometimes still process data files when using
--versionand--help. - #2298 Bug with front matter in layouts
- #2278 Obscure bug with passthrough copy and --incremental mistakenly creating a file instead an output folder
- #2145 Fix to allow setting a layout via
addGlobalDataconfiguration API - #2179 Fix
addGlobalDataconfiguration API to execute once per build
Major Version Dependency Upgrades
There are no major version dependency updates between 1.0.1 and 1.0.0.
THANK YOU NOTES
First-time GitHub contributions from @vseventer
Gold Sponsors: Sanity.io, Nordhealth
Silver Sponsors: Set Creative Studio, Unabridged Software, PQINA, The Coders Guild, Bejamas, Nathan Smith, Flatirons Development, Monarch Air Group
OpenCollective Monthly Backers: Viljami Salminen, Tyler Gaw, Peter deHaan, Melanie Sumner, Alejandro Rodríguez, Mat Marquis, Philip Borenstein, Jérôme Coupé, Max Böck, Bryce Wray, Kristof Michiels, Yuhei Yasuda, Nicolas Hoizey, Mike Aparicio, Ben Myers, Katie Sylor-Miller, Todd Libby, Mark Buskbjerg, mortendk, Aaron Hans, Lauris Consulting, John Meyerhofer, Luke Bonaccorsi, Dimitrios Grammatikogiannis, Keenan Payne, Devin Clark, Eric Bailey, Dave Rupert, Manuel Matuzovic, Phil Hawksworth, Wellness Researched, Tianyu Ge, Kyosuke Nakamura, Hans Gerwitz, Makoto Kawasaki, shawn j sandy, Horacio Gonzalez, Matthew Tole, Ivan Buncic, Ned Zimmerman, Jenn Schiffer, Mark Boulton, Søren Birkemeyer, Richard Hemmer, Nick Nisi, Andrew Harvard, Takuya Fukuju, John SJ Anderson, Ryan Swaney, Alistair Shepherd, Ivo Herrmann, Flaki, Rob Sterlini, Kyle Mitofsky, John Hall, Scott McCracken, James Steinbach, Miriam Suzanne, Bentley Davis, Evan Harrison, Higby, vince falconi, Martin Schneider, Stephanie Eckles, Frontend Weekly Tokyo, Angelique Weger, Ross Kinney, Tim Giles, Matt DeCamp, Chris Burnell, Ximenav Vf., Juan Miguel, Kasper Storgaard, Kevin Healy, Greg Gibson, hiddedevries.nl, Jeremy Caldwell, Michelle Barker, Alesandro Ortiz, David A. Herron, Paul Robert Lloyd, Andrea Vaghi, Bryan Robinson, Ashur Cabrera, Raymond Camden, John Meguerian, Joe Lamyman, Jeffrey A Morgan, Brett Nelson, Paul Welsh, Ingo Steinke, Josh Crain, Melanie Richards, Rich Holman, Lewis Nyman, Dorin Vancea, Marco Zehe, Wes Ruvalcaba, Luc Poupard, Ferpection, Entle Web Solutions, Ken Hawkins, Sami Singh, Fershad Irani, Nikita Dubko, Aaron Gustafson, Chris, Benjamin Geese, Marcus Relacion, Netin nopeustesti, Bobby Ray, Cthos, Sia Karamalegos, Christian Miles, Raphael Höser, Saneef Ansari, Flemming Meyer, Colin Fahrion, Dan Burzo, Gaston Rampersad, Jon Kuperman, Dan Ott, Mobilemall.pk, Cheap VPS, David Darnes, Sam, Jon Roobottom, Dana Byerly, Oisín Quinn, Renkaatsopivasti, Windesol Sähkön Kilpailutus, Luke Mitchell, SignpostMarv, THE PADDING, Bob Monsour, Marc FILLEUL, Patrick Byrne, Ara Abcarians, Daniel Ryan, zapscribbles, Frank Reding, quinnanya, Central Va Insulation, Cory Birdsong, Aram ZS, Michel van der Kroef, Vinicius Depizzol, Andy Stevenson, HelppoHinta.fi, jpoehnelt, Jina Anne, Ingo Sobolewski
v1.0.0
Eleventy v1.0.0 🎈🐀⚡️
This project would not be possible without our lovely community. Thank you to everyone that built something with Eleventy (×476 authors on our web site!), wrote a blog post about Eleventy, contributed code to core or plugins, documentation, asked questions, answered questions, braved The Leaderboards, participated on Discord, filed issues, attended (or organized!) a meetup, said a kind word on Twitter ❤️.
I really wish I had time to list everyone, but I do want to mention a few folks that have made tremendous contributions:
- 🏆 A super special thanks to Peter DeHaan and Binyamin Green for their tireless contributions on the Eleventy Issue tracker.
- All of our supporters on Open Collective ❤️
- Gold Sponsors: Sanity.io, Nordhealth, Screen recorder for Mac
- Silver Sponsors: Piccalilli, ESLint, Unabridged Software, PQINA, The Coders Guild, Bejamas
- A full list of Backers can be found below!
- Contribute on Open Collective
- How else can you contribute to Eleventy?
Install or Upgrade
- Install to your local project:
npm install @​11ty/eleventy - Already installed in your local project? Upgrade your version:
npm update @​11ty/eleventy - Read more about local project versus global installation
Upgrading from 0.x? Try out the eleventy-upgrade-help plugin.
This will log breaking changes that apply to your project. https://github.com/11ty/eleventy-upgrade-help
Breaking Changes
- Changes Node requirement to 12+ (previously: 10+)
- Data Deep Merge is now enabled by default
- Docs: Data Deep Merge and Issue #1753
- The ordering in the Data Cascade changed slightly: Front Matter in Layout files moved to be lower precedence, below Template and Data Directory Files (but higher than Global Data).
- Docs: Data Cascade and Issue #915
liquidjsv9 major version upgrade changes:setLiquidOptions: Eleventy default fordynamicPartialschanged totrue. Issue #240 Unquoted include paths will need to be updated or revert usingdynamicPartials: falsesetLiquidOptions: Liquid optionstrict_filtersrenamed tostrictFilters. Issue #1390setLiquidOptions: Eleventy default forstrict_filters/strictFilterschanged totrue. Issue #222- Relative path includes (e.g.
{% include "./include.liquid" %}) now look relative to the file first, and the includes directory second. Issue #2090
ejsv3 major version upgrade changes: Issue #1392- Removes
<% include /included %>style include, use<%- include('/included') -%>instead. Don’t forget the dash<%-and-%>!
- Removes
.gitignorefiles outside of your project root are no longer supported when calculating ignored paths in Eleventy. Issue #364- ✅ {ROOT}/.gitignore (supported)
- 🚫 {INPUT_DIR}/.gitignore (not supported)
- ✅ {ROOT}/.eleventyignore (supported)
- ✅ {INPUT_DIR}/.eleventyignore (supported)
- If you rely on the
YYYY-MM-DDformat in your file names for content dates, these are now assumed to be UTC instead of local dates. Take care if you useliquid’s built-indateformat withpage.date! browser-sync:- Default to
ui: falseIssue #843 - Default to
ghostMode: falseIssue #841 - Re-enable these features using
eleventyConfig.setBrowserSyncConfig
- Default to
- Removes the
jstltemplate language. Use11ty.jsinstead. Issue #1084 - Change to
dataTemplateEngine: falseby default. Issue #174
Please use eleventy-upgrade-help to log breaking changes that apply to your project.
Features
Major
- Custom File Extension Handlers: applications and plugins can now add their own template types and tie them to a file extension.
- Docs: Custom Template Languages and Issue #117
- Render Plugin, shortcodes to render other template languages.
- Serverless Plugin, allow Eleventy templates to run in a serverless function for server side rendering.
- Use with Netlify Functions and On-demand Builders
- Docs: Serverless Plugin
- Adds support for
--to=jsonand--to=ndjson- Docs: Command Line Usage
- Use Data Filter Selectors to opt-in data from the Data Cascade. Docs: Configuration: Data Filter Selectors
- Adds support for programmatic Eleventy (e.g.
new Eleventy()in your Node.js script) - Configuration:
addGlobalDatamethod.- Docs: Global Data from the Configuration API and Issue #1280
- Note also that JavaScript Global Data Files now receive data. Docs: JavaScript Data Files
Minor
- Passthrough Copy now throws an error if two or more files attempt to copy to the same output location. Issue #1677
- For better URL-safe slugs by default, we now suggest using the new
slugifyglobal filter instead of the previousslug.slugis still included for backwards compatiblity.slugifyDocs.eleventy-upgrade-helpincludes a permalink checker to compareslugandslugifyoutput. Issue #278 - Added support for protocol relative URLs in the
urlglobal filter (though technically accurate, using this method is discouraged). Issue #1276 - New Eleventy supplied data:
eleventyGlobal Data- Environment Variables:
- Docs: Eleventy Supplied Data: Environment Variables
ELEVENTY_ROOTELEVENTY_SOURCEELEVENTY_SERVERLESS
tagsare now de-duped. Issue #1876- JavaScript functions in
eleventyComputednow have access to global filters.- Docs: Computed Data and Issue #1862
- Ignores
node_modulesare now ignored by default. Docs: Ignores and Issue #383- Control ignores programmatically. Docs: Ignores and Issue #894 #1405
- Configuration: Access to
eleventyConfig.dirin plugins. Issue #922 - Configuration: Events are now Async-friendly
- Docs: Events and Issue #1363
- Replace
chalkdependency withkleurIssue #2113 - Adds template language-agnostic compilation caching for speeeeed Issue #1529
- Fixes bug
--input=file.njk --output=.would process 0 files. Issue #1129 - Fixes bug where Eleventy would stop processing templates in watch/serve mode after a compilation error. Issue #1658
- Front matter parsing errors will now report the filename of the offending file in the error message. Issue #1152
- Option to opt-out of the
browser-syncJavaScript snippet - Warning when Transforms that return empty content. Issue #1487
- Transforms now have access to
inputPathIssue #789 - Shows the preprocessed template engine name on the console for
htmlormdfiles Issue #1478
Nunjucks
- Adds
eleventyConfig.setNunjucksEnvironmentOptionsmethod. Issue #895 - Adds
eleventyConfig.addNunjucksGlobalmethod. Issue #1060
Liquid
- Adds support for asynchronous filters. Issue #831
Milestone
All bug fix issues can be perused at the GitHub milestone: https://github.com/11ty/eleventy/milestone/32?closed=1
Some internals highlights:
- Improvements to stability with Nunjucks and shortcodes in
{% for %}loops - Fix for
EMFILE: too many open fileserrors - Use a named
browser-syncinstance. Issue #1125 - Switch from
fs-extratograceful-fs
Major Version Dependency Upgrades
These are convenience links provided. Major things of note are summarized in the Breaking Changes section above.
liquidjsfrom 6 to 9, release notes: v7 v8 v9luxonfrom 1 to 2: (Node 12+ minimum) Upgrade Guidemarkdown-itfrom 10 to 12, release notes: v11 v12ejsfrom 2 to 3. Release notes: v3mustachefrom 2 to 4. Release notes: v3 v4
THANK YOU NOTES
First-time GitHub contributions from @d2s, @Snugug, @slightlyoff, @max, @valtlai, @harttle, @binyamin, @bnb, @NotWoods, @gobeli, @lxg, @GerHobbelt, @hirusi, @stuartpb, @milahu, @oscarotero, @jakemulley, @tannerdolby, @Snapstromegon, @knokmki612, @mariusschulz, @Holben888, @zidingz, @magua-io, @masguit42, @JKC-Codes, @ThewBear, @CodeFoodPixels, @dgrammatiko, @oscard0m, @monochromer
Gold Sponsors: Sanity.io, Nordhealth, Screen recorder for Mac
Silver Sponsors: Piccalilli, ESLint, Unabridged Software, PQINA, The Coders Guild, Bejamas
OpenCollective Monthly Backers: Viljami Salminen, Tyler Gaw, Peter deHaan, Melanie Sumner, Alejandro Rodríguez, Mat Marquis, Philip Borenstein, Jérôme Coupé, Max Böck, Bryce Wray, Kristof Michiels, Yuhei Yasuda, Ed Spencer, Nicolas Hoizey, Mike Aparicio, Todd Libby, Luke Bonaccorsi, Ben Myers, Katie Sylor-Miller, Mark Buskbjerg, mortendk, Aaron Hans, Lauris Consulting, John Meyerhofer, Ben Hyrman, Keenan Payne, Dimitrios Grammatikogiannis, Devin Clark, Eric Bailey, Dave Rupert, Manuel Matuzovic, Phil Hawksworth, Brian Koser, Tianyu Ge, Vadim Makeev, Kyosuke Nakamura, Hans Gerwitz, Makoto Kawasaki, Horacio Gonzalez, Matthew Tole, Wellness Researched, Ned Zimmerman, Mark Boulton, Søren Birkemeyer, Richard Hemmer, Nick Nisi, Andrew Harvard, shawn j sandy, Takuya Fukuju, John SJ Anderson, Ryan Swaney, Alistair Shepherd, Reach Digital, Ivo Herrmann, Flaki, Kyle Mitofsky, Jenn Schiffer, John Hall, Scott McCracken, James Steinbach, Miriam Suzanne, Bentley Davis, Evan Harrison, Rob Sterlini, vince falconi, Martin Schneider, Stephanie Eckles, Frontend Weekly Tokyo, Higby, Matt DeCamp, Chris Burnell, Ximenav Vf., Juan Miguel, Angelique Weger, Kasper Storgaard, Kevin Healy, Greg Gibson, hiddedevries.nl, Jeremy Caldwell, Michelle Barker, Alesandro Ortiz, David A. Herron, Paul Robert Lloyd, Andrea Vaghi, Bryan Robinson, Ashur Cabrera, Raymond Camden, John Meguerian, Joe Lamyman, Stuart Robson, Jeffrey A Morgan, Joshua Ray, Tim Giles, Brett Nelson, Paul Welsh, Ingo Steinke, Melanie Richards, Rich Holman, Ross Kinney, Lewis Nyman, Dorin Vancea, Marco Zehe, Wes Ruvalcaba, Luc Poupard, Johan Bové, Josh Crain, Entle Web Solutions, Ken Hawkins, Sami Singh, Fershad Irani, Nikita Dubko, Aaron Gustafson, Chris, Ferpection, Benjamin Geese, Maël Brunet, Marcus Relacion, Netin nopeustesti, Bobby Ray, Sia Karamalegos, Christian Miles, Raphael Höser, Cthos, Saneef Ansari, Flemming Meyer, Colin Fahrion, Dan Burzo, Gaston Rampersad, Jon Kuperman, Dan Ott, Mobilemall.pk, Cheap VPS, David Darnes, Jon Roobottom, Dana Byerly, Renkaatsopivasti, Windesol Sähkön Kilpailutus, Luke Mitchell, SignpostMarv, THE PADDING, Bob Monsour, Patrick Byrne, Ara Abcarians, Oisín Quinn, Central Va Insulation, Septic Richmond Va
v0.12.1
v0.12.1 Documentation
Install or Upgrade
- Install to your local project:
npm install @​11ty/eleventy - Already installed in your local project? Upgrade your version:
npm update @​11ty/eleventy - Read more about local project versus global installation
How can you support Eleventy?
- ⭐️ Star us on GitHub!
- 🐦 Follow us on Twitter @eleven_ty!
- 🎁 Support us on Open Collective!
Thank you to everyone that contributed code, documentation, answered questions, filed issues, said a kind word on Twitter ❤️
The TL;DR List
Fix for error messaging when attempting to use Node 8
As of Eleventy v0.12.0, Node 10 is now required. Node 8 is end of life (EOL) and no longer supported by Node. There was a small bug in the 0.12.0 release that would not show friendly error messaging when attempting to use Node 8 with Eleventy. That has been fixed.
Administration
v0.12.0
v0.12.0 Documentation
Install or Upgrade
- Install to your local project:
npm install @​11ty/eleventy - Already installed in your local project? Upgrade your version:
npm update @​11ty/eleventy - Read more about local project versus global installation
How can you support Eleventy?
- ⭐️ Star us on GitHub!
- 🐦 Follow us on Twitter @eleven_ty!
- 🎁 Support us on Open Collective!
Thank you to everyone that contributed code, documentation, answered questions, filed issues, said a kind word on Twitter ❤️
The TL;DR List
Node version support bumped from 8 to 10+
Node 8 is end of life (EOL) and no longer supported by Node.
Dependency Major Release Bumps
pug 2.0.4 to 3.0.2
- Required for
npm auditissue, tracking on Eleventy Issue: https://github.com/11ty/eleventy/issues/1674 - 3.x requires Node 10+
pugrelease notes https://github.com/pugjs/pug/releases/tag/pug%403.0.0
chalk 3.0.0 to 4.1.0
- 4.x requires Node 10+
chalkrelease notes https://github.com/chalk/chalk/releases/tag/v4.0.0
fs-extra 8.1.0 to 9.1.0
- 9.x requires Node 10+
- https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#900--2020-03-19
Administration
Configuration
📅 Schedule: Branch creation - "every weekday" (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.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.