Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 00:50
· 2 commits to main since this release
8482bba

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