From 61cb2f9972fc5528fd630af6b19e752ff95299f3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 24 Oct 2024 23:21:57 +0000 Subject: [PATCH] [ci] release --- .changeset/dirty-spies-cry.md | 5 ---- .changeset/khaki-masks-wonder.md | 27 -------------------- .changeset/pre.json | 11 --------- .changeset/slimy-rivers-drive.md | 5 ---- .changeset/soft-plants-melt.md | 7 ------ .changeset/tall-tips-wash.md | 8 ------ CHANGELOG.md | 42 ++++++++++++++++++++++++++++++++ package.json | 2 +- 8 files changed, 43 insertions(+), 64 deletions(-) delete mode 100644 .changeset/dirty-spies-cry.md delete mode 100644 .changeset/khaki-masks-wonder.md delete mode 100644 .changeset/pre.json delete mode 100644 .changeset/slimy-rivers-drive.md delete mode 100644 .changeset/soft-plants-melt.md delete mode 100644 .changeset/tall-tips-wash.md diff --git a/.changeset/dirty-spies-cry.md b/.changeset/dirty-spies-cry.md deleted file mode 100644 index 1c3b904..0000000 --- a/.changeset/dirty-spies-cry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'eleventy-plugin-vento': minor ---- - -Separate `shortcodes` and `pairedShortcodes` into seperate object namespaces. Prior to this version, Eleventy shortcodes and paired shortcodes were merged into a single object keyed as `_11ty.functions` which allowed for naming collisions between shortcodes and their paired counterparts. diff --git a/.changeset/khaki-masks-wonder.md b/.changeset/khaki-masks-wonder.md deleted file mode 100644 index d86c6b9..0000000 --- a/.changeset/khaki-masks-wonder.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -'eleventy-plugin-vento': minor ---- - -Adds new dependency on `debug` package, to help out with testing and getting more verbose logs. The following `DEBUG` namespaces are implemented: - -- `Eleventy:Vento:Setup` - Logs initial setup of the plugin, loading features, pre-page compile setup steps (like changing `page` and `eleventy` objects) -- `Eleventy:Vento:Cache` - Logs updates to Vento's own internal cache, which is used in tandem with Eleventy's cache. -- `Eleventy:Vento:Template` - Logs rendered templates and other template related actions - -Because it is a child of the `Eleventy:` namespace, the following command will include output from this plugin as well: - -```sh -$ DEBUG='Eleventy:*' npx @11ty/eleventy -``` - -Alternatively, use a finer grained namespace to see only the output generated by `eleventy-plugin-vento`. - -```sh -$ DEBUG='Eleventy:Vento:*' npx @11ty/eleventy -``` - -```sh -$ DEBUG='Eleventy:Vento:Template' npx @11ty/eleventy -``` - -See [the docs on 11ty.dev](https://www.11ty.dev/docs/debugging/) as well as the [debug package README](https://github.com/debug-js/debug/blob/master/README.md) for more information. diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 7c6df51..0000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "mode": "exit", - "tag": "next", - "initialVersions": { - "eleventy-plugin-vento": "3.0.2" - }, - "changesets": [ - "honest-shrimps-drive", - "hungry-swans-float" - ] -} diff --git a/.changeset/slimy-rivers-drive.md b/.changeset/slimy-rivers-drive.md deleted file mode 100644 index 2cff44a..0000000 --- a/.changeset/slimy-rivers-drive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'eleventy-plugin-vento': patch ---- - -Entries for changed files are now deleted from Vento's cache when running the Eleventy Dev server. (fixes #38) diff --git a/.changeset/soft-plants-melt.md b/.changeset/soft-plants-melt.md deleted file mode 100644 index 3c1503a..0000000 --- a/.changeset/soft-plants-melt.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'eleventy-plugin-vento': minor ---- - -Further caching improvements to e8111234 and e46ce6ea. Eleventy now defers all template caching to Vento. - -Templates are now compiled directly instead of using Vento's `.runString` method which reduces overhead and enables this plugin to manage the Vento cache in a more direct manner. diff --git a/.changeset/tall-tips-wash.md b/.changeset/tall-tips-wash.md deleted file mode 100644 index d92a35c..0000000 --- a/.changeset/tall-tips-wash.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'eleventy-plugin-vento': minor ---- - -Permalink compilation optimizations: - -- Permalinks now short-circuit to raw strings if they don't contain Vento template syntax, avoiding compilation entirely. -- Permalinks are now assigned (fake) pathnames in Vento's cache. If you change template content but don't change a dynamic permalink in development, Vento will reuse the compiled permalink template. Note that **any** modifications to a template file will **always** cause it to be recompiled (see 19c352fa) — this improvement just optimizes recompiling dynamic permalinks that haven't changed. diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c87a56..dd9ceb8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,47 @@ # eleventy-plugin-vento +## 3.1.0 + +### Minor Changes + +- 7e6ba68: Separate `shortcodes` and `pairedShortcodes` into seperate object namespaces. Prior to this version, Eleventy shortcodes and paired shortcodes were merged into a single object keyed as `_11ty.functions` which allowed for naming collisions between shortcodes and their paired counterparts. +- b8f0a03: Adds new dependency on `debug` package, to help out with testing and getting more verbose logs. The following `DEBUG` namespaces are implemented: + + - `Eleventy:Vento:Setup` - Logs initial setup of the plugin, loading features, pre-page compile setup steps (like changing `page` and `eleventy` objects) + - `Eleventy:Vento:Cache` - Logs updates to Vento's own internal cache, which is used in tandem with Eleventy's cache. + - `Eleventy:Vento:Template` - Logs rendered templates and other template related actions + + Because it is a child of the `Eleventy:` namespace, the following command will include output from this plugin as well: + + ```sh + $ DEBUG='Eleventy:*' npx @11ty/eleventy + ``` + + Alternatively, use a finer grained namespace to see only the output generated by `eleventy-plugin-vento`. + + ```sh + $ DEBUG='Eleventy:Vento:*' npx @11ty/eleventy + ``` + + ```sh + $ DEBUG='Eleventy:Vento:Template' npx @11ty/eleventy + ``` + + See [the docs on 11ty.dev](https://www.11ty.dev/docs/debugging/) as well as the [debug package README](https://github.com/debug-js/debug/blob/master/README.md) for more information. + +- ec02a76: Further caching improvements to e8111234 and e46ce6ea. Eleventy now defers all template caching to Vento. + + Templates are now compiled directly instead of using Vento's `.runString` method which reduces overhead and enables this plugin to manage the Vento cache in a more direct manner. + +- 494b184: Permalink compilation optimizations: + + - Permalinks now short-circuit to raw strings if they don't contain Vento template syntax, avoiding compilation entirely. + - Permalinks are now assigned (fake) pathnames in Vento's cache. If you change template content but don't change a dynamic permalink in development, Vento will reuse the compiled permalink template. Note that **any** modifications to a template file will **always** cause it to be recompiled (see 19c352fa) — this improvement just optimizes recompiling dynamic permalinks that haven't changed. + +### Patch Changes + +- 4b4b387: Entries for changed files are now deleted from Vento's cache when running the Eleventy Dev server. (fixes #38) + ## 3.0.3-next.0 ### Patch Changes diff --git a/package.json b/package.json index 50534f5..69c498d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eleventy-plugin-vento", - "version": "3.0.3-next.0", + "version": "3.1.0", "description": "Adds support for the Vento templating language to Eleventy.", "type": "module", "engines": {