Hook output is now labelled with the hook's name on every line.
What's wrong with this entry?
Output from a hook is now shown as a notice with the hook's name and says: in front of every line, with line endings normalised and control characters stripped from both the name and the text.
- Emitted as an informational system message at notice level.
- Stripping applies to the hook name too, so a hook cannot smuggle escape sequences into the label.
says:
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