Skip to content

Releases: 11ty/eleventy

Eleventy v0.4.0

20 Jun 14:14
Compare
Choose a tag to compare

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 to fast-glob internally.

Eleventy v0.3.6

09 Jun 19:12
Compare
Choose a tag to compare

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

23 May 01:26
Compare
Choose a tag to compare

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. Use eleventyConfig.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

11 May 05:31
Compare
Choose a tag to compare

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

Eleventy v0.3.3

17 Apr 02:40
Compare
Choose a tag to compare

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.

Changelog

  • Adds --serve mode that runs a little webserver (automatically builds files too, assumes --watch) #105
  • Bunch of EJS fixes and improvements—thanks @chrisdmacrae! #100 #103
  • Additions to permalink documentation shows how to generate a JSON file for searchability—thanks @chrisdmacrae! #107

Milestone

Dependency semver Major Version Upgrades:

  • None

Eleventy v0.3.1

05 Apr 04:49
Compare
Choose a tag to compare

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.

Changelog

  • Update .eleventy.js Configuration during --watch and Eleventy will reload everything for you transparently: #91
  • Gets the test suite passing on Windows 10 👍: #1
  • Fixes a bug with Passthrough Copy files and input directories that were not ".": #90. Thanks @Wilto!
  • Adds an easy way to namespace plugins (a group of filters, tags, helpers, collections, etc) with the Configuration API: #98
  • Fixes a bug with collections and tags when tags were assigned as a string in front matter: tags: mytag #95. Thanks @Wilto!
  • Fixes a bug with templateEngineOverride and permalink adding markdown paragraphs #93.

Milestone

Dependency semver Major Version Upgrades:

  • None

Eleventy v0.3.0

26 Mar 13:54
Compare
Choose a tag to compare

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.

🚨 Eleventy wins Google Open Source Peer Bonus Award

Changelog

  • Adds new documentation pages for each individual template engine:
  • Adds Configuration API setLibrary for all template engines. Configure your own rendering engine options (e.g. add your own markdown options/plugins). #79
  • Adds --dryrun to run Eleventy without writing any files (useful for debugging issues) #77
  • Eleventy throws an error when using unknown options (instead of running) #66 Thanks @kleinfreund!
  • Bug fix: paginate collection data #76
  • Bug fix: directory specific data files were being ignored in some cases #78
  • Eleventy Configuration API: addPassthroughCopy is now chainable. #81 #82 Thanks @kleinfreund!
  • We’ve surpassed 300 automated tests 👍

Milestone

Non-dev Dependency semver Major Version Upgrades:

Eleventy v0.2.15

06 Mar 03:38
Compare
Choose a tag to compare

Eleventy is a simpler Static Site Generator!
https://www.11ty.io/

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.

Install

npm install -g @11ty/eleventy

Changelog

  • Template and Directory Specific Data Files: Read more
    • Not processed through a templating engine, although Global Data files are.
    • Eleventy now looks for Directory Specific Data Files in all parent directories of template (inside of --input)
  • Adds an example of using template date in permalink value. Use inside of a Directory Specific Data file to apply a permalink structure to all templates in a directory. Read more
  • Adds eleventyConfig.setPugOptions() and eleventyConfig.setLiquidOptions() to modify default rendering options for Pug and Liquid template engines, respectively. Read more
  • A bunch more tests! (always)

Milestone

Eleventy v0.2.14

16 Feb 15:02
Compare
Choose a tag to compare

Eleventy is a simpler Static Site Generator!
https://www.11ty.io/

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.

Install

npm install -g @11ty/eleventy

Changelog

  • Plugin support: Plugins are custom code that Eleventy can import into a project from an external repository. Currently, we have plugins for RSS and Syntax Highlighting provided. This is big and there will be more to come. Read more

  • Template and Directory Specific Data Files: This is a super powerful option to configure data files for specific templates (or directories of templates). It was added to configure a default layout for an entire directory of templates, but it can do so much more. Read more.

  • Changing a Template’s Rendering Engine: Prior versions of Eleventy tied the template engine specifically to the file extension. We now allow you to override this option using the templateEngineOverride data key. Read more.

  • Adds setTemplateFormats method to the Configuration API. (In order of precedence: --formats command line, setTemplateFormats() Configuration API, templateFormats Configuration Object key)

  • Adds pathPrefix Configuration Object key, used by the url filter and inserted as a prefix to the beginning of all local href links. For example, my personal blog lives at https://www.zachleat.com/web/, so my "pathPrefix": "/web/". Don’t worry about slashes, we clean them up.

  • Adds getFilteredByGlob to Collection API. For example, in your config file, you can create these types of collections:

// Filter source file names using a glob
eleventyConfig.addCollection("onlyMarkdown", function(collection) {
  return collection.getFilteredByGlob("**/*.md");
});

// Filter source file names using a glob
eleventyConfig.addCollection("posts", function(collection) {
  return collection.getFilteredByGlob("_posts/*.md");
});
  • Manual passthrough copy: Searching the entire directory structure for files to copy based on file extensions is not optimal with large directory structures. If we know what non-template static content we want to appear in our output, we can opt-in to specify files or directories for Eleventy to copy for you. This will probably speed up your build times.
// .eleventy.js
module.exports = function(eleventyConfig) {
  eleventyConfig.addPassthroughCopy("img");

  // use a subdirectory, it’ll copy using the same directory structure.
  eleventyConfig.addPassthroughCopy("css/fonts");
};
  • Support for Asynchronous Nunjucks Filters. Do async work inside your filter!
  • Ignore source files in node_modules if .gitignore file does not exist. See #54
  • Vaguely described performance improvements
  • Bug fixes listed in Milestone
  • If you’re eleventy --watching and save while Eleventy is already running, we’ll let you know and run again for you automatically.

v0.2.10: Eleventy-Aught-Two-Ten

25 Jan 15:24
Compare
Choose a tag to compare

Install

npm install -g @11ty/eleventy

Changelog

  • Configuration API:

    • Add custom helpers, filters, and tags! Read more and here
    • Universal filters: experimental. Add a single filter that cascades to multiple template engine types! Supports Liquid, Nunjucks, and Handlebars: eleventyConfig.addFilter(name, function(value) {});
    • In addition to the filters and tags provided by the templating engines themselves, Eleventy provides url and slug universal filters.
  • Layout Aliasing (useful if you’re migrating a bunch of existing content)

  • Allow content to use the YYYY-MM-DD-filename.suffix format and this date will be used for sorting in collections.

  • Fixed a gnarly bug when mixing template engines between content and layouts (now working as advertised) (#44)

  • Additions to eleventy-base-blog. I was able to dump all 10+ years worth of markdown posts from zachleat.com into an eleventy-base-blog branch for a pretty-easy working Jekyll content migration! Stay tuned for more info on migrating!

  • See full GitHub milestone

  • See Code Coverage Statistics