The all new Anaphora 0.19.0 will be released next week
The best report job is the one you can forget. Anaphora 0.19 brings you closer to that. A run now tells you when it comes close to a failure. A report can say what changed since the last one. A delivery can stay silent when there is nothing to say. And slow dashboards get the time they need.
See the problem before the report fails
Until now, a run was green or red. But most failures give a sign first: a dashboard that loads slower each week, or a panel that is not drawn in time. Anaphora 0.19 keeps these signs. A run gets a warning when a wait takes more than 80% of its limit, when a page does not finish loading, or when Grafana panels are not drawn.
You find the warnings where you already look: a Warnings column and a “With warnings” filter on the Runs page, and a mark on the Jobs list. But you do not have to look. The health monitoring mails you once for each new kind of warning on a job. You fix the slow dashboard on Tuesday, and the Monday report still arrives.
Reports that say what changed
A number alone says little. “1,240 errors”: is that good or bad? Your templates can now give the answer. prev. is the value in the last report that reached a recipient, and delta. is the change since then. Write “1,240 errors, 310 more than the last report”, and the reader knows at once.
Send only when it matters
Each delivery can now have a condition: “Send through this delivery only if…”. Send the daily summary to the team by email each day, and alert the on-call channel only when the error count is above your threshold. One job, one capture, the right people. When no delivery has something to send, the run shows Skipped, not a false success.
Slow dashboards get the time they need
Some dashboards are slow, and that is not your fault. The time limits of a capture step, a navigation, a full run and an SMTP delivery were fixed. Now you set them, with four environment variables. The defaults are the old values, so nothing changes until you change it. A run that fails at a limit names the limit, so you know which one to raise.
Captures also wait better. A Metabase capture waits for the queries of its cards: no more loading spinners in your PDF. A Grafana capture waits for slow panels. And a page whose network never goes quiet no longer fails the run. You get a warning, and the report goes out.
A mail server or a webhook that does not answer can no longer hold a worker. Anaphora stops the delivery at its limit, and the error names the network cause.
Backups of any size, in three steps
Settings > Data is new. It shows one topic at a time, and the import is three steps: choose a file, check it, replace the database. Before you start, the page shows the disk space that the import needs against the free space.
Export and import have no size limit now. Anaphora makes the export while it keeps running. It checks an import file before it changes anything, and it never deletes the last good copy of your database.
An AI step editor that reads top to bottom
The AI step is now one card of numbered sections: Instructions, Variables, Rows it can see, Tools and Try it. A mark on each number shows what is complete and what needs your attention. The labels use plain words (“Limits”, not “Guardrails”), and the editor fits a narrow screen. Your stored steps do not change.
Fast at a million runs
Runs, Home and Reports open fast on a large history. The Runs page opens in about 3 ms at 1,000,000 runs.
More in this release:
- Prometheus metrics. Your monitoring can read the last run of each job from /guest/api/metrics with an observer key.
- An Upgrade notes page. It lists what the new version changes in your stored jobs, and what to do.
- One run at a time for each job. A save or an import during a run no longer starts a second run.
- Two tabs can no longer overwrite each other. The second save of the same job is refused.
- S3 reports no longer replace each other. Each run has its own object key.
- Two new run statuses, Throttled and Skipped, tell you why a report was not sent.
Safer by default
Captures and deliveries now refuse addresses that a server should not call, such as cloud metadata addresses and the ports of Anaphora itself. Your internal dashboards stay open by default. For more control, OUTBOUND_POLICY=strict also refuses private networks, and OUTBOUND_ALLOWED_HOSTS lists the hosts that you trust.
Also: a webhook never sends forwarding headers such as X-Forwarded-For. A stored AI key goes only to the endpoint it was saved with. Each space has its own background images. Snooze and unsubscribe links are signed with a secret of your installation.
Before you upgrade
This release changes the database, and 0.18 does not start on it. Run bash anaphora-upgrade.sh check first and read its NOTE lines: it tells you what applies to your installation. The points that can stop a job or a delivery:
- Make your rollback export with 0.18, before the upgrade. The .ana export is now the database file itself, and no earlier version can import it.
- Port 3001 is closed to other hosts. Point a proxy, a monitor or a health check at port 3000 or at the HTTPS address of Anaphora.
- A custom AI provider needs an endpoint. Set it, or change the provider to OpenAI.
- A webhook that answers with a redirect fails. Press Test on each webhook interface and enter the final URL.
- Jobs of a removed space stop running. Nothing is deleted.
- A text replacement with a lookahead, a lookbehind or a backreference is skipped. Rewrite it.
- A tool that reads reports from S3 by path must use the new object key.
- Each observer key now also reads the Prometheus metrics. Revoke a key whose monitor must not see captured values.
- With a large history under an orchestrator that restarts unhealthy containers, set a long start period. The first start builds a table for the Runs page.
The full list of changes is in the changelog: Changelog: Anaphora release notes | Anaphora Documentation