Releases: quirrel-dev/quirrel
Releases · quirrel-dev/quirrel
v1.4.1
v1.4.0
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
v1.3.3
Fix bug where some cron expressions were wrongly forbidden #208
Meta:
- docs: add @matthieuh as a contributor
- docs: add @aditsachde as a contributor
v1.3.2
v1.3.1
v1.3.0
v1.2.0
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:
- Added @aalaap, @batteredgherkin as contributors