Skip to content

v3.1.0

Latest

Choose a tag to compare

@jaredwray jaredwray released this 21 Oct 23:38
· 1 commit to main since this release
Immutable release. Only release title and notes can be modified.
d06be44

hookified@3.1.0 — 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

Full List of Changes

Full diff: v3.0.4...v3.1.0