v0.10.0
Two seams for whoever runs Campsend as a product.
Wide events can go somewhere that survives a deploy
config.x.wide_event_sink takes a callable and receives a copy of every event, after the log line is written. Nil here, so a self-hosted install still just logs.
The reason: wide events go to stdout, the container keeps them, and a deploy throws them away. A user signed up, signed in, uploaded nothing and left. Their events would have shown where they stopped, and by the time anyone looked a deploy had happened and the oldest surviving line was 50 minutes after they had gone.
If you write one: it receives the payload with symbol keys, not the JSON the log line carries, and it is called inline on the request thread. Hand off to a queue or a thread rather than making a network call in it.
The policy can write the storage sentence
storage_usage_for may return a :note, which replaces "Sent files stay in My Files." after the figures in the composer. The default is unchanged and is accurate here, where nothing removes a file you kept. A distribution whose files expire can say so where somebody is deciding what to upload.
Full changelog: v0.9.0...v0.10.0