Hookified
← Back to Changelog

v3.1.0

Release

[email protected] — 2026-10-21

Add hook tag lookup, fix throwOnEmitError when listeners exist, and patch security dependencies.

Features

  • look up hooks by tag (#231)

    const hooks = new Hookified();
    hooks.onHook({
      id: 'validate',
      event: 'before:save',
      tags: ['audit'],
      handler: async (data) => { data.validated = true; },
    });
    
    hooks.getHooksByTag('audit'); // hooks tagged "audit", across events
    hooks.getTaggedHooks().get('audit');
    

Bug Fixes

  • make throwOnEmitError throw even when error listeners exist (#214)
  • security - upgrade brace-expansion, nanoid, vite (#215)
  • security - upgrade handlebars, undici, sharp, source-map-js (#216)

Internal

  • remove unused brace-expansion 1.x override (#217)
  • remove unused brace-expansion 5.x override (#218)
  • update undici override to 8.12.2 (#219)
  • sync defense-in-depth files from agentic (#220)
  • upgrade code quality dependencies (#221)
  • upgrade TypeScript and build tooling (#222)
  • upgrade pnpm to 12.13.0 (#223)
  • upgrade GitHub Actions (#224)
  • upgrade Dev Container image to 5.2.3-24-trixie (#225)
  • upgrade hookable to 6.1.2 (#226)
  • upgrade tinybench to 6.2.2 (#227)
  • upgrade emittery to 2.1.0 (#228)
  • upgrade pino to 10.4.0 (#229)
  • upgrade wrangler to 4.151.0 (#230)

Contributors

  • @jaredwray (17)
  • Claude (1)

Full List of Changes

  • fix: make throwOnEmitError throw even when error listeners exist by @jaredwray in #214
  • fix: security - upgrade brace-expansion, nanoid, vite by @jaredwray in #215
  • fix: security - upgrade handlebars, undici, sharp, source-map-js by @jaredwray in #216
  • hookified - chore: remove brace-expansion override by @jaredwray in #217
  • hookified - chore: remove brace-expansion 5 override by @jaredwray in #218
  • hookified - chore: update undici override by @jaredwray in #219
  • hookified - chore: sync defense-in-depth files from agentic by @jaredwray in #220
  • hookified - chore: upgrade code quality dependencies by @jaredwray in #221
  • hookified - chore: upgrade TypeScript and build tooling by @jaredwray in #222
  • hookified - chore: upgrade pnpm by @jaredwray in #223
  • hookified - chore: upgrade GitHub Actions by @jaredwray in #224
  • hookified - chore: upgrade Dev Container images by @jaredwray in #225
  • hookified - chore: upgrade hookable by @jaredwray in #226
  • hookified - chore: upgrade tinybench by @jaredwray in #227
  • hookified - chore: upgrade emittery by @jaredwray in #228
  • hookified - chore: upgrade pino by @jaredwray in #229
  • hookified - chore: upgrade wrangler by @jaredwray in #230
  • feat: look up hooks by tag by @jaredwray in #231

Full diff: https://github.com/jaredwray/hookified/compare/v3.0.4...v3.1.0