Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency eleventy-plugin-vento to ^4.1.1 #234

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 25, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eleventy-plugin-vento ^4.0.1 -> ^4.1.1 age adoption passing confidence

Release Notes

noelforte/eleventy-plugin-vento (eleventy-plugin-vento)

v4.1.1

Compare Source

Patch Changes
  • 335f21e: Select type updates (shouldn't affect compilation, however should improve DX)

    Changes are:

    • split types into separate files
    • namespace ventojs type imports
    • make PluginOptions optional by default
    • make Eleventy types more readable
    • declare a special (EleventyVentoEnvironment) for this plugin to replace Vento's own Environment
  • 070109a: Refactored files and functions internally that shouldn't have any impact on usage or performance:

    • Split debug functions into separate exports, renamed runCompatiblityCheck -> compatibilityCheck (dd4c379)
    • Utilities are now split into separate files (e06a83a)
    • Main file renamed from index.ts to plugin.ts (1b122d2)
  • c382be0: Wrap all filters as regular synchronous functions to avoid ambiguity with sync and async handling. (fixes #​96)

    This change enforces explicit use of the await keyword to unwrap returned values from filters before chaining more or printing the result.

    <!-- Single filters -->
    - {{ "Hello, async!" |> someAsyncFilter }}
    + {{ "Hello, async!" |> await someAsyncFilter }}
    
    <!-- Filter chains -->
    - {{ "Hello, async!" |> someAsyncFilter |> someSyncFilter }}
    + {{ "Hello, async!" |> await someAsyncFilter |> someSyncFilter }}

    See the Vento docs on async chains for more information.

  • 9eaa059: Update debug to v4.4.0

  • 0b0f96a: Update ventojs to v1.12.14

v4.1.0

Compare Source

Minor Changes
  • eb33d79: Expose Vento's FilterThis on Eleventy-declared filters. (fixes #​72)

    [!IMPORTANT]
    Using this feature incurs the same performance regression that eleventyComputed template strings do. Caching can assist with this, see README for more information.

    Vento binds its own this object when executing filter functions. The this object contains 2 keys, this.env and this.data, for getting access to both the Vento environment and the template data respectively.

    In addition to Vento's object, this.page and this.eleventy are also cloned to the top level from this.data to maintain feature-parity with Eleventy.

    With this change, you can now create filters that leverage the Vento environment. See README for more info.

  • eb33d79: Update vento to 1.12.12


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

cloudflare-workers-and-pages bot commented Nov 25, 2024

Deploying site with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9fd33ae
Status:🚫  Build failed.

View logs

@renovate renovate bot force-pushed the renovate/eleventy-plugin-vento-4.x branch from 294557f to 7947b71 Compare January 2, 2025 12:47
@renovate renovate bot changed the title chore(deps): update dependency eleventy-plugin-vento to ^4.1.0 chore(deps): update dependency eleventy-plugin-vento to ^4.1.0 - autoclosed Jan 2, 2025
@renovate renovate bot closed this Jan 2, 2025
@renovate renovate bot deleted the renovate/eleventy-plugin-vento-4.x branch January 2, 2025 12:53
@renovate renovate bot changed the title chore(deps): update dependency eleventy-plugin-vento to ^4.1.0 - autoclosed chore(deps): update dependency eleventy-plugin-vento to ^4.1.0 Jan 2, 2025
@renovate renovate bot reopened this Jan 2, 2025
@renovate renovate bot force-pushed the renovate/eleventy-plugin-vento-4.x branch from fbfc5bd to 7947b71 Compare January 2, 2025 15:54
@renovate renovate bot changed the title chore(deps): update dependency eleventy-plugin-vento to ^4.1.0 chore(deps): update dependency eleventy-plugin-vento to ^4.1.1 Jan 7, 2025
@renovate renovate bot force-pushed the renovate/eleventy-plugin-vento-4.x branch from 7947b71 to 9fd33ae Compare January 7, 2025 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants