Skip to content

Start of Eleventy v4: Extract Core.js, Removes ndjson, Fork gray-matter, Removes slug filter, Adds @11ty/client package and publish workflow#3858

Merged
zachleat merged 124 commits into
mainfrom
extract-core
Jul 17, 2025
Merged

Start of Eleventy v4: Extract Core.js, Removes ndjson, Fork gray-matter, Removes slug filter, Adds @11ty/client package and publish workflow#3858
zachleat merged 124 commits into
mainfrom
extract-core

Conversation

@zachleat

@zachleat zachleat commented Jun 10, 2025

Copy link
Copy Markdown
Member

TODO: Still learning towards removing the client bundles from this package and moving to a separate package (to keep package size small)

Client Bundle Features

Feature @11ty/client/eleventy @11ty/client
YAML Front Matter Yes Yes
Liquid Engine Use @11ty/client/liquid Use @11ty/client/liquid
Nunjucks Engine Use @11ty/client/njk Use @11ty/client/njk
Markdown Engine Use @11ty/client/md Use @11ty/client/md
JavaScript Engine Yes Yes
HTML Engine Yes Yes
Arbitrary JavaScript Front Matter Yes (via import-module-string) Yes-ish (low-fidelity data: requires export)
Legacy js JavaScript object Front Matter Yes Yes
Configuration support Yes Yes
slugify Filter Yes No (error)
url Filter Yes No (error)
get*CollectionItem filters Yes No (error)
inputPathToUrl Filter Yes No (error)
HTML Transformer Yes No (noop)
Bundle Plugin Yes No (error)
Relative Copy Plugin Yes No
IdAttribute Plugin Yes No
HtmlBase Plugin Yes No
InputPathToUrl Plugin Yes No
Render Plugin Yes No
I18nPlugin Use @11ty/client/i18n Use @11ty/client/i18n
Custom Engine Config API Yes Yes
Parse JavaScript Dependencies (for watch) No (error) No (error)
Luxon date parsing fromISOtoDateUTC removed in #3587 N/A N/A
ISO8601 String Date parsing Yes Yes
UserConfig resolvePlugin Yes No (error)
Node.js ESM Cache Buster No (noop) No (noop)
Glob Matching (collections, input globs, passthrough copy) Yes No (error)
Dynamic import() Yes (via import-module-string) No (Possibly later)
Config versionCheck Yes (costs ~38KB) No (always returns true)
Content Date Git First Added or Last Update No (error) No (error)

zachleat added 30 commits April 23, 2025 14:22
@zachleat
zachleat merged commit d265544 into main Jul 17, 2025
17 checks passed
@zachleat
zachleat deleted the extract-core branch July 17, 2025 22:19
@zachleat zachleat added needs-documentation Documentation for this issue/feature is pending! and removed needs-documentation Documentation for this issue/feature is pending! labels Jul 17, 2025
@zachleat zachleat mentioned this pull request Jul 17, 2025
@zachleat zachleat changed the title Extract Core.js v4 Pull Request: Extract Core.js, Removes ndjson, Fork gray-matter, Removes slug filter, Adds @11ty/client package and publish Jul 18, 2025
@zachleat zachleat changed the title v4 Pull Request: Extract Core.js, Removes ndjson, Fork gray-matter, Removes slug filter, Adds @11ty/client package and publish v4 Pull Request: Extract Core.js, Removes ndjson, Fork gray-matter, Removes slug filter, Adds @11ty/client package and publish workflow Jul 18, 2025
@zachleat zachleat changed the title v4 Pull Request: Extract Core.js, Removes ndjson, Fork gray-matter, Removes slug filter, Adds @11ty/client package and publish workflow Start of Eleventy v4: Extract Core.js, Removes ndjson, Fork gray-matter, Removes slug filter, Adds @11ty/client package and publish workflow Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Fork gray-matter to eliminate eval usage (and more) Extract core (no dev server, no chokidar) class from Eleventy.js Remove --to=ndjson feature

1 participant