github 11ty/buildawesome v4.0.0-alpha.12
Build Awesome (11ty) v4.0.0-alpha.12

pre-releaseone hour ago

Doing a fast follow release after 4.0.0-alpha.11 to fix some clarity issues with warnings around computed data reads and collapsed folder matching errors.

Full v4 Milestone: https://github.com/11ty/buildawesome/milestone/46?closed=1 (97% complete!)
v4.0.0-alpha.12 Changelog: v4.0.0-alpha.11...v4.0.0-alpha.12


# To install, choose one of these:
npm install @awesome.me/buildawesome@alpha --save-exact
npm install @11ty/eleventy@canary --save-exact

Breaking

  • Breaking permalink or passthrough copy target outside of the output directory now throws an error. The permalinkBypassOutputDir option still allows it!

Features

  • Global data is now frozen and shared using less memory on large sites. Opt out with $config.setFreezeGlobalData(false). #4446
  • Passthrough copy source that didn’t pick up a file because of case sensitivity only now throws an error. Control this with the $config.configureErrorReporting({ passthroughCaseMismatch }) with the passthroughCaseMismatch option to "warn" (skip and warn) or "allow" (skip silently). Related to #4440
  • i18n Plugin: locale_url now errors on a URL that matches no page (except when errorMode: "never"). #4442 and - locale_links has a new includeCurrent option. #4438
  • getData() method available in filter and shortcode callbacks. #2844
  • (Experimental) Support for negated patterns in .gitignore and .eleventyignore. This is not on by default: opt in with $config.addExperimentalBehavior("NEGATED_IGNORES"). #4439

Fixes

  • Fix for rejected async Nunjucks filters now throwing an error instead of hanging.
  • Data cascade fix for the override: data prefix now works in directory data files. #2868
  • The Id Attribute plugin no longer creates duplicate ids when a generated suffix (foo-2) clashes with a later heading or id attribute. #4445
  • Fix race condition with passthrough copy targeting directories created in configuration. #4440
  • Fix for directory containment checks #4437
  • Fix for false positives on collapsed-matching-folder warnings #3919
  • Fix for early computed data read warnings, they no longer log when a computed key reads its own previous value. #2448
  • Fix this.page to works in Liquid filters with strictVariables. #2844

Internals

  • Switched from posthtml to @11ty/posthtml to fix #4154
  • Bumped @11ty/eleventy-utils to 3.1.0
  • RenderManager internal methods left over from the Edge plugin now throw an error.

Size Watch

3.1.8 4.0.0-alpha.11 4.0.0-alpha.12
Total installed packages 128 71 68
3rd-party packages 105 52 48
node_modules size 21.4 MB 14.6 MB 15.4 MB

Size grew in this one from the previous alpha as our htmlparser2 dependency increased in size.

Don't miss a new buildawesome release

NewReleases is sending notifications on new releases.