Skip to content

v5.1.2

Latest

Choose a tag to compare

@jaredwray jaredwray released this 26 Oct 21:55
· 2 commits to main since this release
Immutable release. Only release title and notes can be modified.
9438980

ecto@5.1.2 — 2026-10-26

Fixes render-hook cache behavior and ships dependency and security updates.

Bug Fixes

  • patch undici, zod, sharp, brace-expansion, and source-map-js (#429)

  • Finish render hooks for cache hits and hook errors (#447)

    The async and sync caches store engine output taken after the before-hook and before the after-hook. afterRender / afterRenderSync run on every call, including a cache hit. throwOnHookError: true rejects render and throws from renderSync.

    import { Ecto, EctoEvents } from "ecto";
    
    const ecto = new Ecto({ cache: true, throwOnHookError: true });
    ecto.onHook(EctoEvents.afterRender, (renderResult) => {
      renderResult.result = renderResult.result.trim();
    });

Documentation

  • add Drydock review badge (#427)

Internal

  • pin handlebars and undici to patched releases (#428)
  • remove handlebars override (#430)
  • update undici@7 override to 8.12.2 (#431)
  • remove undici@8 override (#432)
  • sync defense-in-depth files from agentic (#433)
  • upgrade code quality dependencies (#434)
  • upgrade TypeScript and build tooling (#435)
  • upgrade pnpm to 12.14.0 (#436)
  • upgrade GitHub Actions (#437)
  • upgrade Dev Container image to 5.2.3-24-trixie (#438)
  • upgrade docula to 3.0.1 (#439)
  • upgrade wrangler to 4.151.2 (#440)
  • remove sharp override (#441)
  • upgrade @jaredwray/fumanchu to 4.7.4 (#442)
  • upgrade hookified to 3.0.4 (#443)
  • upgrade liquidjs to 10.30.0 (#444)
  • upgrade ejs to 7.0.2 (#445)
  • upgrade docula to 3.0.2 (#446)

Contributors

Full List of Changes

Full diff: v5.1.1...v5.1.2