The dependency @11ty/eleventy was updated from 0.8.3 to 0.9.0.
This version is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Throws an error when a JavaScript template returns invalid data format #626
When using classes, we now re-use the same instance for data and rendering
Add support for JavaScript objects a la exports = { data: {}, render: function() {}
Add support for JavaScript Class Fields (Node 12 feature) a la: exports = class { data = {}; render() {} }
Add support for multiple exports a la exports.data = {}; exports.render = function() {}
Fails gracefully when class/object is missing a render method.
Config file functions do not yet support returning promises, now we throw an error when this happens. #612 Thanks @Munter!
Current behavior auto-ignores node_modules directory if .gitignore does not exist. Eleventy will now also auto-ignore if .gitignore does exist but is empty. #389 Thank you @danielstaleiny!
Eleventy searches for file extensions are now cross-platform case insensitive. #509#517 Thanks @veleek!
Bug fixes
Shows path to template on template rendering errors (No more Unknown path) #547
Fixes page.fileSlug with JavaScript Templates (was returning fileName.11ty, should be fileName) #588
Fixes issue with Liquid shortcode argument parsing (failed on page.* variables) #600
Fixes issue with eleventyExcludeFromCollections templates incorrectly throwing TemplateContentPrematureUseError errors. #522
FAQ and help
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
The dependency @11ty/eleventy was updated from
0.8.3
to0.9.0
.This version is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Publisher: zachleat License: MIT
Release Notes for Eleventy 🕚⚡️ v0.9.0: Oh my
Eleventy is a Simpler Static Site Generator.
v0.9.0 Documentation
Support Eleventy:
Install
npm install @11ty/eleventy
npm update @11ty/eleventy
npm install -g @11ty/eleventy
npm update -g @11ty/eleventy
Thank you to the 10 contributors that helped with this release!
@danielstaleiny @veleek @aarongustafson @edwardhorsford @Ryuno-Ki @paulshryock @jakearchibald @MadeByMike @Munter (and @zachleat I guess)
Changelog
Features
page.filePathStem
variable for permalinks #244*.11ty.js
) #622 #627 Thanks @jakearchibald!exports = { data: {}, render: function() {}
exports = class { data = {}; render() {} }
exports.data = {}; exports.render = function() {}
node_modules
directory if.gitignore
does not exist. Eleventy will now also auto-ignore if.gitignore
does exist but is empty. #389 Thank you @danielstaleiny!Bug fixes
Unknown path
) #547page.fileSlug
with JavaScript Templates (was returningfileName.11ty
, should befileName
) #588page.*
variables) #600eleventyExcludeFromCollections
templates incorrectly throwingTemplateContentPrematureUseError
errors. #522browser-sync
to remove audit report #428TemplateContentPrematureUseError
error when using pagination #551, #634.Docs and other
Dependency Major Release Bumps
Note that
dev-dependencies
are not included here.fast-glob
from v2 to v3: Release noteschokidar
from v2 to v3: requires Node 8+ Release notesdependency-tree
from v6 to v7: upgraded precinct from 5.x to 6.x for some typescript things ¯_(ツ)_/¯ (No release notes for this project: issue filed)fs-extra
from v7 to v8: Release notesmultimatch
from v3 to v4: requires Node 8+ Release notesAdministration
npm audit
found 0 vulnerabilities in 7917 scanned packagesCommits
The new version differs by 119 commits.
3874360
v0.9.0 🎉
592395a
Updating dependencies for 0.9.0
a2ec6f8
0.9.0-beta.3
dc994d7
A few more tests and fixes for #661
56ec610
Oops typo
3476fc8
Fixes #660
eda90a2
Fixes #661
bcc9bc6
v0.9.0-beta.2
e29808f
Keep a test for #633
6990ccf
Fixes #657
07aada6
Attempt to fix #634
7fa78ca
Merge pull request #650 from peterjanes/patch-1
7b34edb
Fix broken error reporting when writing templates
c6fb4d6
Merge branch 'master' of github.com:11ty/eleventy
8aa925d
Fixes #639
There are 119 commits in total.
See the full diff
FAQ and help
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper bot :palm_tree: