Skip to content

release: v5.1.2 - #448

Merged
jaredwray merged 1 commit into
mainfrom
release/v5.1.2
Oct 26, 2026
Merged

jaredwray merged 1 commit into
mainfrom
release/v5.1.2

Conversation

@jaredwray

Copy link
Copy Markdown
Owner

Please check if the PR fulfills these requirements

  • Followed the Contributing and Code of Conduct guidelines.
  • Tests for the changes have been added (for bug fixes/features) with 100% code coverage.
    • Version bump only. Existing suite passes at 100% coverage (261 tests).

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Release / version bump

Release summary

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

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 (fix: security - patch undici, zod, sharp, brace-expansion, and source-map-js #429)

  • Finish render hooks for cache hits and hook errors (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

Internal

Contributors

Full List of Changes

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

Verification

  • pnpm install --frozen-lockfile succeeds
  • pnpm build succeeds
  • pnpm test:ci passes locally (14 files, 261 tests, 100% coverage)
  • No uncommitted changes outside the version bump

Post-merge

  • Merge then create a GitHub Release at tag v5.1.2 — the release.yaml workflow stages the npm publish (pnpm stage publish) when the release is published.
Open in Web Open in Cursor 

Bump ecto from 5.1.1 to 5.1.2.

Co-authored-by: Jared Wray <me@jaredwray.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-26T21:47:54.153886Z 1d6cc58 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jaredwray
jaredwray merged commit 9438980 into main Oct 26, 2026
11 checks passed
@jaredwray
jaredwray deleted the release/v5.1.2 branch October 26, 2026 21:55
@codecov

codecov Bot commented Oct 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (d46f616) to head (1d6cc58).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #448   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines          438       438           
  Branches       102       102           
=========================================
  Hits           438       438           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants