Hooks modules now load up front and refuse if they link too many files or grow too large.
What's wrong with this entry?
A hooks module's imports are now resolved and read up front rather than during evaluation, and two limits apply to every load: a module may link at most a fixed number of files, and the combined size of all its sources has a byte ceiling. Exceeding either refuses the load with its own message. No flag turns this off.
- Imports are pre-read into a map keyed by the importing file plus the exact import text, so the same spelling from different files resolves independently.
- Refusing an import, spotting a module importing itself, and resolving an import path all moved into shared helpers new in this build.
is past the
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