Releases: 11ty/eleventy
Pre-release: Eleventy v4.0.0-alpha.5
- Breaking: removes data deep merge opt-out.
eleventyConfig.setDataDeepMerge(false)now throws an error #3937 - Breaking: change
jsTruthy: truein defaultliquidjsoptions #3507 - Breaking: change Liquid default parameter parsing to
builtininstead oflegacy#2679 Escape hatch to disable here: https://www.11ty.dev/docs/languages/liquid/#shortcode-parameter-parsing - Using npm Trusted Publishers
- Minor build performance improvement in TemplateMap #3939
- Fixes issue with Markdown triple-backtick code blocks in a markdown template used in a Markdown layout #3954
- Setting
markdownTemplateEngine: "md"shows a debug warning (and is aliased tofalse) #3925 - Fix paired shortcodes in Nunjucks macros #2261
- Improved error messaging for
dynamicPermalink: falseand non-stringpermalinkvalues #838 - Fixes: files ignored via the preprocessor API were still populating collections keys (though the collection would be empty) #3933
- Fixes bug with Configuration API for ignores were not respected when using absolute paths for input directory #3896
- Fixes bug with single character directory names when using filePathStem #3932
- Fixes canary-only bug with Computed Data callbacks that assign variables #3917
- Feature: memoize
date: git Last Modifiedanddate: git Createdoptions, adds JavaScript exports for these utilities to use them in your own JavaScript #3959 - Fix bug with ESM dependencies hot reloading #3899
- Move away from
git://protocol in package.json repository->url #4151 page,eleventy, andcollectionsare now accessible inside of Liquid{% render %}tags #1541
Dependencies
- Major dependency bump
@sindresorhus/slugifyfrom v2 to v3 (not breaking, already at Node 20+ minimum) #3942 - Major dependency bump
chokidarfrom v4 to v5 (Breaking: Node 20.19+ minimum) #4185 - Bump
liquidjsto 10.24 #3957 #3961 - Bump
tinyglobbyto 0.2.15 #3934 - Progress on reducing
entitiesduplication #4154
Milestone: https://github.com/11ty/eleventy/milestone/46?closed=1
Full Changelog: v4.0.0-alpha.4...v4.0.0-alpha.5
Pre-release: Eleventy v4.0.0-alpha.4
- Fixes
--watchand--servechokidar issue with root (e.g. ".") input directories #3914
Milestone: https://github.com/11ty/eleventy/milestone/46?closed=1
Full Changelog: v4.0.0-alpha.3...v4.0.0-alpha.4
Pre-release: Eleventy v4.0.0-alpha.3
- Fixes chokidar globbing issue with globs that aren’t using
*or**#3910
Milestone: https://github.com/11ty/eleventy/milestone/46?closed=1
Full Changelog: v4.0.0-alpha.2...v4.0.0-alpha.3
Pre-release: Eleventy v4.0.0-alpha.2
- Fix publishing issue with missing
Packagesadapters - Adds README for
@11ty/client
Milestone: https://github.com/11ty/eleventy/milestone/46?closed=1
Full Changelog: v4.0.0-alpha.1...v4.0.0-alpha.2
Pre-release: Eleventy v4.0.0-alpha.1
⛔️ This version had a publishing issue — please use v4.0.0-alpha.2 ⛔️
- Breaking: bumps Node minimum to v20 (from 18) #3886
- Breaking: removes
slugfilter (deprecated in v1, recommended to useslugifyinstead) #3893 #3858 (previous docs: https://www.11ty.dev/docs/filters/slug/) - Breaking: removes
--to=ndjsonCLI feature #3382 #3858 - Breaking: Nunjucks shortcode default argument value is now
undefined(previously: an empty string) in #3788 #3822 - Fork
gray-matterdependency #3892 #3858 - Adds
@11ty/clientpackage #3858 #3836 - Upgrade chokidar from v3 to v4 #3442
- Swap luxon for @11ty/parse-date-strings in #3587 #3901
- Throw error when virtual template format is invalid by @dave-kennedy in #3509
- Add support for "*" selector to get all data in
eleventyConfig.dataFilterSelectorsby @KonnorRogers in #3904 #3903 - Migrate to flat ESLint flat config and remove cross-env by @outslept in #3758
- Add indicator for configuration-less runs by @vrugtehagel in #3799 #3654
- Fix #2798: deleting a file trigger a build in watch mode. by @aurmartin in #3482 #2798
- Update README.md with new Mastodon profile by @mijndert in #3907
- Cleaner programmatic API constructor arguments #3880
- Use error.cause for cleaner error messaging #3582
Thank you @dave-kennedy @KonnorRogers @outslept @aurmartin @vrugtehagel and @mijndert!
Milestone: https://github.com/11ty/eleventy/milestone/46?closed=1
Full Changelog: v3.1.2...v4.0.0-alpha.1
Eleventy v3.1.2 (we fixed 15 more things)
Try it out in your project
npm install @11ty/eleventy@latest
- Read more about getting started with Eleventy or why you should use Eleventy.
- Milestone: https://github.com/11ty/eleventy/milestone/50?closed=1
- Commit log (from previous stable release): v3.1.1...v3.1.2
Release notes
- Bug fix: issue with Computed Data with Array -> Object -> Template Strings #3850
- Bug fix:Workaround dependency bug in
tinyglobbywhen using../for input directory (and/or passthrough copy) #3854 #3862 - Bug fix: issue with absolute path for input directory resulting in incorrect output directory #3853
- Bug fix: issue with pagination over
collectionsmissing theallcollection #3860 - Bug fix: Custom template engines should inherit aliased the parent
cacheablevalue for advanced control of internal cache (related docs). Fixes issues with JavaScript import cache busting in Windows #3824 #3832 - Bug fix: Server cache issue with newly created directory data file not picked up during --watch or --serve (on subsequent builds) #3569
- Bug fix: Saving your Configuration file may keep the process open after ⌘+C or CTRL+C #3873
- Bug fix: Incremental builds may result in
templateRender has not yet initializederror after Configuration reset #3870 - Bug fix: #3874 Config reset for dev server restart
- Bug fix: #3875 #1525 numeric tags for collection names
- Audit fix:
npmaudit withbrace-expansiondependency #3866 - Dependency update: bump
entitiesfrom 6.0.0 to 6.0.1 in #3855
Eleventy v3.1.2-beta.4
Installation: npm install @11ty/eleventy@beta --save-exact
Issue Milestone: https://github.com/11ty/eleventy/milestone/50?closed=1
Commit log (from last stable): v3.1.1...v3.1.2-beta.4
Eleventy v3.1.2-beta.3
Installation: npm install @11ty/eleventy@beta --save-exact
Issue Milestone: https://github.com/11ty/eleventy/milestone/50?closed=1
Commit log (from last stable): v3.1.1...v3.1.2-beta.3
- Bug Fix: Server cache issue with newly created directory data file not picked up during --watch or --serve (on subsequent builds) #3569
- Bug Fix: Saving your Configuration file may keep the process open after ⌘+C or CTRL+C #3873
- Bug Fix: Incremental builds may result in
templateRender has not yet initializederror after Configuration reset #3870
Eleventy v3.1.2-beta.2
Installation: npm install @11ty/eleventy@beta --save-exact
Issue Milestone: https://github.com/11ty/eleventy/milestone/50?closed=1
Commit log: v3.1.1...v3.1.2-beta.2
- Custom template engines should inherit aliased the parent
cacheablevalue for advanced control of internal cache (related docs). Fixes issues with JavaScript import cache busting in Windows #3824 #3832
Eleventy v3.1.2-beta.1
Installation: npm install @11ty/eleventy@beta --save-exact
Issue Milestone: https://github.com/11ty/eleventy/milestone/50?closed=1
Commit log: v3.1.1...v3.1.2-beta.1
- Fix issue with Computed Data with Array -> Object -> Template Strings #3850
- Workaround dependency bug in
tinyglobbywhen using../for input directory (and/or passthrough copy) #3854 #3862 - Fix issue with absolute path for input directory resulting in incorrect output directory #3853
- Fix issue with pagination over
collectionsmissing theallcollection #3860 - Fix
npmaudit withbrace-expansiondependency #3866 - Bump entities from 6.0.0 to 6.0.1 by @dependabot in #3855