Skip to content

v5.1.3

Latest

Choose a tag to compare

@jaredwray jaredwray released this 26 Nov 00:39
Immutable release. Only release title and notes can be modified.
289f0d1

ecto@5.1.3 — 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

Full List of Changes

Full diff: v5.1.2...v5.1.3