Skip to content

Rename HookRegistry to HookPipeline and update API#23

Merged
devwdave merged 1 commit intomainfrom
ts-hook-reg-name-change
Mar 2, 2026
Merged

Rename HookRegistry to HookPipeline and update API#23
devwdave merged 1 commit intomainfrom
ts-hook-reg-name-change

Conversation

@rpkruse
Copy link
Copy Markdown
Contributor

@rpkruse rpkruse commented Mar 2, 2026

  • Refactor the hook system: rename HookRegistry to HookPipeline (file rename)
  • Replace register(...) with add(...)
  • Update imports/usages across the SDK, examples, README, and tests.
  • Axon now exposes a hook namespace (axon.hook.before / axon.hook.after) backed by internal before/after HookPipeline instances and uses them in runBefore/runAfter.
  • Also bump ts-sdk package version to 0.1.2.

Refactor the hook system: rename HookRegistry to HookPipeline (file rename), replace register(...) with add(...), and update imports/usages across the SDK, examples, README, and tests. Axon now exposes a hook namespace (axon.hook.before / axon.hook.after) backed by internal before/after HookPipeline instances and uses them in runBefore/runAfter. Also bump ts-sdk package version to 0.1.2.
@rpkruse rpkruse requested a review from devwdave March 2, 2026 16:38
@devwdave devwdave merged commit fa53afd into main Mar 2, 2026
4 checks passed
@rpkruse rpkruse deleted the ts-hook-reg-name-change branch March 2, 2026 16:47
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