You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.246,
ImprovementsSection of the release
What
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.
Details
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.
Evidence
is past the
Strings lifted out of the shipped bundle, so the claim above can be checked against them.