v0.7.0
This is a big release!
CRON Jobs
You can now specify your jobs to run on a CRON schedule.
quirrel.enqueue({
endpoint: ...,
body: ...,
id: "myCronJob",
repeat: {
cron: "* * * * 1 *",
}
})repeat.times is now optional, so jobs can repeat indefinitely.
repeat.everyandrepeat.cronare 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:
quirrel.enqueue({
endpoint: ...,
body: ...,
- delay: 60 * 60 * 1000,
+ delay: "1h"
})This works both for delay and repeat.every.
Telemetry
Telemetry allows us to accurately gauge Quirrels feature usage and pain points across all users. This data will let us better tailor Quirrel to users, ensuring its best-in-class developer experience.
Quirrel now collects completely anonymous telemetry data about general usage, it also sends error reports to Sentry. Participation in this anonymous program is optional, and you may opt-out if you'd not like to share any information. To opt-out, set the DISABLE_TELEMETRY environment variable to 1.
Other Changes:
- Setup Github CodeQL for security analytics