pipework 0.85.0 → 0.86.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.86.0
4
+
5
+ - **New: `emailLinks.request(db, { …, data })`** sends the app's template data with the link: an object, or a function `(db, { userId, address })` called only for a known address within its limits, in the request's transaction. `url` stays reserved for the link; a `url` key in `data` throws (#529).
6
+ - **Changed: `request` says when it was limited.** It answers `{ ok: true, limited: false }`, or `{ ok: true, limited: true, retryAfterSeconds }` once over a limit (the longer wait of those exceeded). The answer is the same whether or not the address exists, so a route can answer 429 with `Retry-After` without revealing it.
7
+
3
8
  ## 0.85.0
4
9
 
5
10
  - **New: `steps.define(config)`, a graph of steps over a jobs queue, with each step's result recorded under its inputs (#507, #508).**