Skip to content

🚧🚧 Eleventy 🕚⚡️ v0.10.0 Beta 1 🚧🚧

Pre-release
Pre-release
Compare
Choose a tag to compare
@zachleat zachleat released this 09 Dec 02:26

Eleventy is a Simpler Static Site Generator.

A special note of remembrance

Before we get going here I just want to take a brief moment to remember the very special @jameswillweb who passed away earlier this month. James was diagnosed with ALS in 2013 and was known for his widespread teaching contributions to the web community. Probably the least of which, but one that I will always remember, was his creation of the floating possum mascot for our little Eleventy project. This mascot (nay, mastcot, because it lives in the masthead ok fine but James would have liked that one) lives at the top of the Eleventy docs and links to the Twitter thread he started in 2018. Though we never met in real life, James was clearly a one-of-a-kind. We will miss you ❤️

Donations may be made in James’ name to The ALS Therapy Development Institute or to Quest Youth Ministries at St. John's United Methodist Church.

Permalink: https://www.11ty.dev/news/james-williamson/

Installation

Install this 🚧🚧 prerelease 🚧🚧 to help test the upcoming Eleventy 0.10.0 release:

npm install @11ty/eleventy@beta --save-dev

Thank you to the code contributors that helped with this release!

@gloryofrobots @edbrannin @MadeByMike @Ryuno-Ki @cschuller @micahmills @fredrikekelund @ahl @Munter (and @zachleat, I guess)

Features

Official Plugins

Configuration API

  • Support for arbitrary data file formats in the Data Cascade. e.g. eleventyConfig.addDataExtension("yaml", contents => yaml.safeLoad(contents)); Thank you @gloryofrobots! #736 #798 #635 #630 #624 #265
    • ⚠️ Documentation pending
  • Adds setQuietMode method to Configuration API so that we don’t have to type --quiet all the time. #808
  • Adds addWatchTarget method to Configuration API for programmatic watching of arbitrary files. Thanks @MadeByMike! #803 #641
  • Show pathPrefix being used in standard console output (if non-default). #807

Pagination

Performance

Shortcodes

Miscellanous

Documentation Web Site

Bug fixes

  • Improved error reporting in shortcode code. #681
  • Issue with Cannot read property 'trim' of undefined error on unhandledRejection events. #689
  • Fix for require node cache busting on Windows (some JavaScript files may not have picked up changes when watching) #341 #596 #683 Thanks @cschuller!
  • Fix bug with negated entries (!) in .gitignore or .eleventyignore files. The bug caused Eleventy to not process any files. Support was not added for negated entries—they are ignored for now. Thanks @micahmills! #677 #709
  • Fix to Sortable implementation, improved tests—thanks @edbrannin! #747
  • Fix small variable scoping issue in TemplateWriter—thanks @fredrikekelund! #724 #722
  • Fix data bleed issue in the Data Cascade with front matter and setDataDeepMerge. Thanks @ahl! #676 #735
  • Improved test coverage for EleventyErrorUtil—thank you @edbrannin! #753

Administration

Dependency Major Release Bumps