Skip to content
This repository was archived by the owner on Jan 5, 2021. It is now read-only.

Releases: quirrel-dev/quirrel-next

v0.10.0

16 Nov 14:51
Compare
Choose a tag to compare

Quirrel v0.10 comes with two new options for jobs:

exclusive Jobs

A job that's marked as exclusive is guaranteed to be executed
on its own, with no other jobs from the same queue running
at the same time.

This can be useful when need to execute jobs one by one, for example when implementing an order queue.

override: true

Until now, when creating a job with an ID that already existed, the new job was discarded.

With override, you can now mark the job to override potentially existing old ones.

v0.8.1

03 Nov 14:27
Compare
Choose a tag to compare

Adds support for Next v10.

v0.8.0

03 Nov 14:27
Compare
Choose a tag to compare

Compatibility with Quirrel v0.8.0.

This saves you from having to run a local Redis instance.
Read more about it here: https://github.com/quirrel-dev/quirrel/releases/tag/v0.8.0

v0.7.0

16 Oct 16:25
Compare
Choose a tag to compare

This is a big release!

CRON Jobs

You can now specify your jobs to run on a CRON schedule.

queue.enqueue(
  ...,
  {
    id: "myCronJob",
    repeat: {
      cron: "* * * * 1 *",
    }
  }
)

repeat.times is now optional, so jobs can repeat indefinitely.

repeat.every and repeat.cron are mutually exclusive.

Human-friendly duration syntax

Because millisecond durations are quite hard to understand mentally, the Quirrel client now also supports specifying durations as human-readable strings:

queue.enqueue(
  ...,
  {
-   delay: 60 * 60 * 1000,
+   delay: "1h"
  }
)

This works both for delay and repeat.every.

v0.6.1

14 Oct 18:29
Compare
Choose a tag to compare
  • Update to @quirrel/client v0.6.2