Skip to content

0.7.0

Choose a tag to compare

@zaiev zaiev released this 17 Nov 11:07
· 2 commits to main since this release
Immutable release. Only release title and notes can be modified.
f1eae6e

Queue limits across runners, recurring jobs in a named time zone, workflows, and spool-dashboard: a live dashboard served by your own Spindle app.

Upgrading

  • Run spool's new migrations before a runner of 0.7.0 starts: rowtype-migrate up --source spool. A runner refuses a database without them.
  • Spool.state has a new case, Blocked: a match on it gains an arm.
  • Spool.delete takes ~now.

New

  • Spool.Queue.pause, resume and set_limits: a queue's pause and its limits, how many run at once and how many begin in a period, across every runner, per partition with a kind's ~partition.
  • Spool.Schedule.make: a job each tick of a cron expression read in a named time zone, one job a tick however many runners hold it; Schedule.list and run_now.
  • Spool.enqueue_after ~waits_for: a job that runs once every job it waits for completed, cancelled once one ends otherwise; Spool.workflow.
  • ~unique_for on Spool.enqueue, and Spool.enqueue_many.
  • Spool.jobs, Spool.run_again, Spool.delete, Spool.Runner.list, Spool.Stats.since, Spool.Id.of_string, and ~sensitive kinds.
  • spool-dashboard: Spool_dashboard.routes ~operator ~may, routes of your Spindle app, who may do what decided by your own users through Spindle.Access.
  • A guide, In a Spindle application.