Minor Changes
-
#3333
26f2076Thanks @swissky! - Adds optionalccandreplyTofields to plugin email messages, including from sandboxed plugins:await ctx.email.send({ to, cc: ["team@example.com"], replyTo: visitorEmail, subject, text });
ctx.email.send()throws whenccis not an array of strings orreplyTois not a string.email:beforeSend,email:deliver, andemail:afterSendhooks receive both fields onevent.message, and the development console provider prints them. The Cloudflare email provider delivers both, and a message'sreplyTooverrides the provider's configuredreplyTo. Customemail:deliverproviders should passccandreplyToto their email service.
Patch Changes
-
#3346
1796cd5Thanks @ascorbic! - Updates sandboxed plugin content writes to respect the site transfer write fence. While a site import is writing, or after a failed or cancelled import until it is abandoned,ctx.contentcreate, update, and delete calls fail with503 TRANSFER_IMPORT_IN_PROGRESS. When the fence cannot be checked, they now fail withTRANSFER_FENCE_CHECK_FAILEDinstead ofMEDIA_USAGE_ACTIVATION_CHECK_FAILED. -
#3051
ff0ef63Thanks @logelog! - Fixes Workerd plugins retaining access after they are disabled or unloaded, and keeps capabilities, allowed hosts, and storage declarations scoped to the loaded plugin version. Re-enabling a plugin issues fresh credentials. -
Updated dependencies [
f58b8f6,5a9d822,c99bcd3,b8fae35,678b848,1b1d443,043960e,f3f7cc3,5eaf095,2e8e063,840a9d3,9a5d5b9,08e93b8,6f1b046,ed51c68,7df822b,21ee693,c78a6cb,ecef5a9,bf6b0a9,ad1465d,f832fe9,4a5241a,2db6c98,e9b70ec,14e9fdd,931b40d,19488ec,26f2076,6ebd4ef,b2f6c06,e4b0d81,baf3010,b804977,4028ee4,90ed23f,66f50dd,6f83886,1796cd5,3be2921,4a69cc6,20858ed,d9f0d85,86a33ee,b5ad2fe,ff0ef63]:- emdash@0.40.0