Ecto
← Back to Changelog

v5.1.3

Release

[email protected] — 2026-11-25

This release confines template file access and updates dependencies.

Bug Fixes

  • list LICENSE in the package files (#449)

  • security - markdown-it 15.0.3 (CVE-2026-111758) (#450)

  • security - vite 8.3.8 (GHSA-p4f5-76q4-ffq7) (#452)

  • security - block unsafe helpers and isolate Liquid roots (#455)

    Ecto does not register file, path, markdown, or prototype helpers until you set unsafeHelpers. An empty Liquid root does not use the current directory.

    import { Ecto } from "ecto";
    
    const ecto = new Ecto({
      engineOptions: {
        handlebars: { unsafeHelpers: ["read"] }
      }
    });
    
  • confine includes, partials, cache keys, and engine choice (#458)

    An include and a partial stay inside the template root. The default cache keeps 1000 results for 5 minutes. Ecto does not select EJS when the file or the default engine is not EJS.

    import { Ecto } from "ecto";
    
    const ecto = new Ecto({ cache: true });
    await ecto.render(source, data, undefined, "./templates");
    

Internal

  • remove stale minimumReleaseAgeExclude entries (#451)
  • upgrade the Aikido Safe Chain shim for pnpm 12 (#453)
  • sync defense-in-depth files from agentic (#454)
  • update the undici override from 8.12.2 to 8.12.4 (#456)
  • upgrade Biome to 2.6.8 and Vitest to 5.1.1 (#457)
  • upgrade rimraf to 6.1.4 and tsdown to 0.23.7 (#459)
  • upgrade pnpm from 12.14.0 to 12.22.0 (#460)
  • upgrade CodeQL, zizmor, and Socket Firewall (#461)
  • upgrade the Dev Container image to 5.2.6-24-trixie (#462)
  • upgrade liquidjs from 10.30.0 to 10.30.1 (#463)
  • upgrade hookified from 3.0.4 to 3.1.0 (#464)
  • upgrade writr from 6.1.6 to 6.2.0 (#465)
  • upgrade wrangler from 4.151.2 to 4.165.0 (#466)

Contributors

  • @jaredwray (17)

Full List of Changes

  • ecto - fix: list LICENSE in package files by @jaredwray in #449
  • fix: security - markdown-it 15.0.3 (CVE-2026-111758) by @jaredwray in #450
  • chore: remove stale minimumReleaseAgeExclude entries by @jaredwray in #451
  • chore: upgrade the Aikido Safe Chain shim for pnpm 12 by @jaredwray in #453
  • fix: security - vite 8.3.8 (GHSA-p4f5-76q4-ffq7) by @jaredwray in #452
  • fix: security - block unsafe helpers and isolate Liquid roots by @jaredwray in #455
  • root - chore: sync defense-in-depth files from agentic by @jaredwray in #454
  • root - chore: update undici override by @jaredwray in #456
  • ecto - chore: upgrade code quality dependencies by @jaredwray in #457
  • Confine includes, partials, cache keys, and engine choice by @jaredwray in #458
  • ecto - chore: upgrade TypeScript and build tooling by @jaredwray in #459
  • ecto - chore: upgrade pnpm to 12.22.0 by @jaredwray in #460
  • root - chore: upgrade GitHub Actions by @jaredwray in #461
  • root - chore: upgrade Dev Container images by @jaredwray in #462
  • root - chore: upgrade liquidjs by @jaredwray in #463
  • root - chore: upgrade hookified by @jaredwray in #464
  • root - chore: upgrade writr by @jaredwray in #465
  • root - chore: upgrade wrangler by @jaredwray in #466

Full diff: https://github.com/jaredwray/ecto/compare/v5.1.2...v5.1.3