Releases: 11ty/eleventy
Eleventy v0.6.0
Eleventy is a simpler Static Site Generator!
⭐️ Support Eleventy by starring us on GitHub! This will increase our project’s visibility on staticgen.com, a big giant list of static site generators.
🐦 Follow us on Twitter @eleven_ty!
Changelog
- Adds support for deep data merging in the data cascade [#147]
- Adds support for glob patterns with the
input
command line option, e.g.--input=*.md
[#173, #276] - Adds
firstPageLink
andlastPageLink
to pagination object [#312] - Adds “cool” URL support in pagination object (no index.html files in these) [#285]
- Documentation
nextPageHref
previousPageHref
firstPageHref
lastPageHref
hrefs
- Eleventy errors now correctly exit with an error code. Netlify builds will now fail (and not deploy) if Eleventy errors. [#264]
- Eleventy now reports the template language in rendering errors (better transparency on markdown files that by default render as Liquid templates) [#291]
Bug fixes
- Fixes major regression with JSTL templates [#263]
- Upstream issue with Liquid templates and date objects outputting as strings [#258]
- Browsersync infinite redirect with empty string pathPrefix:
pathPrefix: ""
[#302] - Fixes bug with returning custom object in
eleventyConfig.addCollection
[#277]
Milestone
Dependency Major Release Bumps
liquidjs ^5.1.0
-> ^6.0.0
debug ^3.1.0
-> ^4.0.0
- Node changes, adds support for v10
- https://github.com/visionmedia/debug/releases/tag/4.0.0
fs-extra ^6.0.1
-> ^7.0.0
- Changes to copy* methods for symlinks
- https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#700--2018-07-16
Eleventy v0.5.4
Eleventy is a simpler Static Site Generator!
⭐️ Support Eleventy by starring us on GitHub! This will increase our project’s visibility on staticgen.com, a big giant list of static site generators.
🐦 Follow us on Twitter @eleven_ty!
Changelog
- Adds
permalink: false
option to bypass writing a template to the output directory. Set this in front matter, template or directory data files, or even a JS data file if you want to do conditional output of templates based on Environment variables. (#61) - Improved error messaging, specifically with:
- Errors in configuration files (#182)
- Missing Filters in Liquid templates (#183), note the opt-in to a
strict_filters
Liquid option: https://www.11ty.io/docs/languages/liquid/#optional%3A-use-your-own-options - Improved messaging about DEBUG mode when in DEBUG mode (#224)
- Adds Linters feature to inspect output content. (#225)
- Behind the scenes additions to
addPlugin
to facilitate more configuration options foreleventy-plugin-syntaxhighlight
v2.0 https://github.com/11ty/eleventy-plugin-syntaxhighlight/releases/tag/v2.0.0
Documentation
- The
.eleventyignore
docs page got lost when we moved from GitHub, it now exists here: https://www.11ty.io/docs/ignores/ (#228) - @kleinfreund added a lovely Environment variables example to the documentation (using JS Data Files)
Bug fixes
- Fixes major issue with
--passthroughall
flag (#205) - Tags in template objects will always be normalized to array form, if even using a single tag string in front matter data (#246)
- Fixed an issue when crossover existed between multiple passthrough copy targets (#208) (e.g.
./css/fonts
and./css/fonts/myFont.woff2
, for example)
Milestone
Dependency Semver Major Updates
- None
Eleventy v0.5.3
Eleventy is a simpler Static Site Generator!
⭐️ Support Eleventy by starring us on GitHub! This will increase our project’s visibility on staticgen.com, a big giant list of static site generators.
🐦 Follow us on Twitter @eleven_ty!
Changelog
- 🚨🚨🚨 Giant new feature: Use arbitrary JavaScript files as Eleventy data sources. This means you can now fetch and use data at build time! Works with await/async/promises. GraphQL example included 😎 and more at JavaScript Data Files.
- New feature: return arbitrary object types from eleventyConfig.addCollection. Read more at Collections.
- New features: adds
--passthroughall
command line flag to copy and/or process all files in the input directory. Read more at Passthrough Copy - Fixed: template/directory specific data files were not monitored for changes when using
--watch
or--serve
. #170 - Fixed bug with
fileSlug
not being included on collection item data (was previously only available aspage.fileSlug
) #197 - Fixed bug with transforms not running on pagination template output. #199
Milestone
Dependency Semver Major Updates
liquidjs
upgraded from^4.0.0
to^5.1.0
Eleventy v0.5.2
Eleventy is a simpler Static Site Generator!
⭐️ Support Eleventy by starring us on GitHub! This will increase our project’s visibility on staticgen.com, a big giant list of static site generators.
🐦 Follow us on Twitter @eleven_ty!
Changelog
- Fix issue with Warnings on slow configuration additions that would aggregate benchmark times during
--watch
re-runs. Needs to reset with each watch run.
Eleventy v0.5.1
Eleventy is a simpler Static Site Generator!
⭐️ Support Eleventy by starring us on GitHub! This will increase our project’s visibility on staticgen.com, a big giant list of static site generators.
🐦 Follow us on Twitter @eleven_ty!
Changelog
- New feature: Warnings on slow configuration additions (all custom tags, filters, both single and paired shortcodes). Callback must exceed 10% of total runtime. Example:
- Quits with an exit code of 1 on error for better CI behavior.
- Improved performance with async/await in loops
- Found performance regression with node version check npm package. Switched to use different package:
please-upgrade-node
for performance bump. - Fixes issue when using
.js
files with passthrough copy. #181 - Fixes regression when using
templateContent
in paginated collections. #179 - Adds Code of Conduct to the repo
- Fixes regression with single file input. #172
- Fixes regression with paginating collections created with
eleventy.addCollection
configuration API. #171
Milestone
Dependency Semver Major Updates
- None
Eleventy v0.5.0
Eleventy is a simpler Static Site Generator!
⭐️ Support Eleventy by starring us on GitHub! This will increase our project’s visibility on staticgen.com, a big giant list of static site generators.
🐦 Follow us on Twitter @eleven_ty!
Changelog
- New feature: SHORTCODES
- New feature: Nunjucks Custom Tags (lower level API, use shortcodes instead!)
- Fix bug with Handlebars/Mustache partials in subdirectories #146
- Fix bug with
url
missing from Configuration API specified collections #160
Milestone
Dependency Semver Major Updates
- None
Eleventy v0.4.0
Eleventy is a simpler Static Site Generator!
⭐️ Support Eleventy by starring us on GitHub! This will increase our project’s visibility on staticgen.com, a big giant list of static site generators.
🐦 Follow us on Twitter @eleven_ty!
Changelog
- New feature: Option to paginate over objects (instead of just arrays)
- New feature: Option to filter items from pagination results
- Better updates when re-running using
--watch
and--serve
(including improvements to applied changes in configuration files) #128 - Updates dependencies (see major semver updates below) #87
- Minor regression in using templates with permalinks and layouts specified in template/directory data files #121
Milestone
Dependency Semver Major Updates
normalize-path
2.1.1 to 3.0.0 (documented as having no breaking changes by their release notes)gray-matter
3.1.1 to 4.0.1 (updated to require Node 4 and above 😎—we require Node 8)fs-extra
5.0.0 to 6.0.1 (now requires Node 8, among other things: Changelog)- Switches from
globby
tofast-glob
internally.
Eleventy v0.3.6
Eleventy is a simpler Static Site Generator!
⭐️ Support Eleventy by starring us on GitHub! This will increase our project’s visibility on staticgen.com, a big giant list of static site generators.
🐦 Follow us on Twitter @eleven_ty!
Changelog
- Fix issue with cascade of template and directory data files (template values should override directory values, the reverse was happening) #138
- url filter now accepts falsy values (improvement over vague indexOf errors before)
- Fix for issue with pagination with aliasing and permalink slug filter #135
- Better top level error handling (get rid of
UnhandledPromiseRejectionWarning
’s, especially with passthrough copy errors) #110
Milestone
Eleventy v0.3.5
Eleventy is a simpler Static Site Generator!
⭐️ Support Eleventy by starring us on GitHub! This will increase our project’s visibility on staticgen.com, a big giant list of static site generators.
🐦 Follow us on Twitter @eleven_ty!
Changelog
- Option to opt-out of automatic
.gitignore
ignores in Eleventy. UseeleventyConfig.setUseGitIgnore(false);
: #125 - Major semver update: Upgrades liquidjs to 4.0.0: #122 #73
- Fixes issue with using
permalink
in layout front matter. #121 - Fixes issue with using collections and pagination together #115 #127 #129
Milestone
Eleventy v0.3.4
Eleventy is a simpler Static Site Generator!
⭐️ Support Eleventy by starring us on GitHub! This will increase our project’s visibility on staticgen.com, a big giant list of static site generators.
🐧 Follow us on Twitter @eleven_ty!
Changelog
- Switches
--serve
mode to use browser-sync. Smarter reloads (and CSS) #119 #120--serve
automatically does a--watch
(you don’t need both). --watch
now works with passthrough copy files (#83) AND data files (#99).- Adds new
page.fileSlug
variable for easier clean permalinks (#75):
More inputPath => fileSlug examples:
2018-01-01-file.md => file
dir/file.md => file
Returns parent directory if an `index` template
index.md => "" (empty)
dir/index.md => dir
dir/2018-01-01-index.md => dir
- Huge performance boost (switched an unnecessary deep clone to shallow)
Milestone
Dependency semver Major Version Upgrades:
- None