Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
PluginsArea: what it touches
Internal ChangesKind: in v2.1.246,
Internal ChangesSection of the release
What
The worker that runs plugin hooks dropped its own bookkeeping for message ports, pending replies and counters in favour of shared helpers, and its messages now carry which side is serving plus a caller chain, so a call into a plugin interface can be attributed to what triggered it.
Details
Unhandled promise rejections in the worker are now picked up by a shared handler.
Callers are passed alongside a call identifier into the interface dispatch.
Unloading still reports through the existing message about the plugin's environment being unloaded.
Evidence
the plugin's environment is unloaded
Strings lifted out of the shipped bundle, so the claim above can be checked against them.