github atom36942/atom v30.0.0
Atom 30.0.0

24 minutes ago

Upgrade (projects must change): queue_job.channel is now queue_job.task. Every project's master database has queue_job, so before deploying this version, run once on it (in this order: rename, then deploy):

ALTER TABLE queue_job RENAME COLUMN channel TO task;
ALTER INDEX IF EXISTS idx_queue_job_channel_status_run_at_id_btree RENAME TO idx_queue_job_task_status_run_at_id_btree;

Without it, startup adds an empty task column next to the old channel (required, no default), and every job insert fails. Also: job names have no channel_ prefix any more: the webhook job is webhook_deliver, and ?queue= on the object routes sends object_create / object_update (a project's consumer started with the old names, or its SQL on queue_job, uses the new ones).

  • Job names are plain, <feature>_<verb>: webhook_deliver, object_create, order_sap_send. The parameter of func_producer and func_run_broker stays channel (a Redis list, RabbitMQ queue or Kafka topic); on the Postgres queue it is stored in queue_job.task.
  • OTP by Resend and Fast2SMS reuse the app's HTTP client (client_http) instead of opening a new connection per code.

Don't miss a new atom release

NewReleases is sending notifications on new releases.