Skip to content

Releases: quirrel-dev/quirrel

v1.4.1

25 Mar 12:07
Compare
Choose a tag to compare
  • Updated Owl to 0.10.2 (#221)
  • Ship CJS and MJS files (v1.4.0 was broken)

v1.4.0

24 Mar 10:25
Compare
Choose a tag to compare

This release brings support for Svelte Kit! (#219)

Here's how you can use it:

import { Queue } from "quirrel/sveltekit";

const queue = Queue(
  "greetingsQueue", // 👈 the route it's reachable on
  async (job, meta) => {
    // do something
  }
);

export const post = queue

export default queue

Also:

  • In non-production mode, prefixed proto should be http

v1.3.4

22 Mar 20:54
Compare
Choose a tag to compare
  • Fix: Detect CronJobs with single-quote imports (#212)

Meta

  • docs: add viperfx as a contributor

v1.3.3

22 Mar 10:29
Compare
Choose a tag to compare

Fix bug where some cron expressions were wrongly forbidden #208

Meta:

v1.3.2

18 Mar 23:05
Compare
Choose a tag to compare
  • Fix TimeoutOverflowWarning (#191)
  • Fix Docker Build (#182)
  • Don't use alert to display modal (#180)

v1.3.1

10 Mar 19:56
Compare
Choose a tag to compare
  • Update to owl 0.10 (#176)
  • Include README in package

For some reason, v1.3.0 didn't include all neccessary files. This release should be better :)

v1.3.0

09 Mar 06:57
Compare
Choose a tag to compare

v1.3.0 integrates SuperJSON for serialising payloads.
It allows you to use almost any JavaScript as a payload, including Date. (#163)

  • Update a bunch of dependencies
  • Remove a legacy @quirrel in the docs (thanks @scisteffan!)

v1.2.0

22 Feb 21:17
Compare
Choose a tag to compare

The job handler is now given some metadata about the executed job (#141):

export default Queue(
  "api/some-queue",
  async (job, { id, exclusive, retry, ... } /* 👈 */) => {
    // ...
  }
)

In addition to .enqueue, we now have .enqueueMany (#129):

queue.enqueueMany([
  {
    payload: "1"
    options: {
      delay: "1min"
    }
  },
  {
    payload: "2",
    options: {
      delay: "2min"
    }
  },
  ...
])

Also, there's the new .enqueueMany

Bugs:

  • Fixed a bug where CronJob declarations with comments weren't recognised
  • Fixed a vulnerability where jobs with ":" in their ID could break redis keys

Meta:

v1.1.1

15 Feb 08:23
Compare
Choose a tag to compare
  • Fix bug where Zod wasn't installed and Build failed

v1.1.0

13 Feb 20:29
Compare
Choose a tag to compare
  • Add new retry feature (#76)

This allows you to specify a schedule along which a job should be retried, before considering it an incident.

  • Fix a bug in quirrel ci where it crashed on Vercel (#95)