Migrating to v1
On 4th of January, Quirrel 1.0 was released.
What's new?
- new, heavily improved
CronJob
- there are new clients for:
- ui.quirrel.dev can be used for monitoring production
The full release notes can be found here.
To enable the new client libraries, there are two breaking changes:
@quirrel/next
is deprecated in favor ofquirrel/next
(notice the missing@
)- Next.js users need to include
api/
in their Queue's route string.
To migrate your project to v1, follow these steps:
npm uninstall @quirrel/next
npm install --save-prod quirrel@latest
- Apply these changes to all of your Queues:-import { Queue }Â from "@quirrel/next"+import { Queue }Â from "quirrel/next"// ...export default Queue(- "someQueue",+ "api/someQueue",async () => {// ...})
- Optional: Transition your self-made cron jobs to Quirrel's new
CronJob()