v0.1.0
Breaking Changes
pg-boss v11 now allows multiple schedules for the same queue. As a result the .schedule() function on createQueue is changing:
Before
.schedule('0 0 * * *', {
tz: 'America/Los_Angeles',
})After
.schedule({
cron: '0 0 * * *',
key: 'default',
options: {
tz: 'America/Los_Angeles',
},
})The function now takes a single argument. You must provide cron and key (unique). The second parameter of schedule is now moved to the options key in the object.
Minor Changes
- f219ef2: support pg-boss v11