Bad input to a plugin hook now produces an error naming the hooks involved.
What's wrong with this entry?
Hooks that plugins attach to interface calls now run through a shared chain runner that checks the event argument is an object first. When it is not, the error names the hooks involved instead of failing opaquely.
its input is no object, which the hooks on it
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