Hook registration is re-verified right before each send, so nothing goes out stale.
What's wrong with this entry?
The hooks module now tracks turn activity through worker-start, turn-in-flight and turn-ended callbacks, and re-verifies registration immediately before each send, so a request cannot go out against stale registration.
- A registration attempt that throws is captured rather than propagating out.
- Consent subscription now reports the decision instead of unconditionally re-requesting registration.
beforeSend: () => n.ensureRegistered()
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
SessionEnd hooks lose the
bypass_permissions_disabledreasonBoth mention hook
-
v2.1.236
Hooks and Ctrl-C go quiet once shutdown has started
Both mention hook
-
v2.1.236
Shutdown seals transcript writes and gives SessionEnd hooks more time
Both mention hook