Skip to content

build(deps): bump pg-boss from 10.4.2 to 12.25.1 in /packages/server - #140

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/packages/server/pg-boss-12.25.1
Closed

build(deps): bump pg-boss from 10.4.2 to 12.25.1 in /packages/server#140
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/packages/server/pg-boss-12.25.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 12, 2026

Copy link
Copy Markdown
Contributor

Bumps pg-boss from 10.4.2 to 12.25.1.

Release notes

Sourced from pg-boss's releases.

12.25.1

What's Changed

Full Changelog: timgit/pg-boss@12.25.0...12.25.1

12.25.0

What's Changed

New: update()

Update the payload and/or options of one or more not-yet-active jobs (state created or retry). Terminal or active jobs can't be touched.

  • Target with exactly one of options.id (single job) or options.singletonKey (jobs sharing a key).
  • Partial updates — only the fields you supply change; omitted options keep their current values. Pass just data to replace the payload without disturbing startAfter, priority, retry settings, etc. Pass undefined for data to edit options only; null clears it.
  • singletonKey and the throttle slot (singletonOn) are always preserved.
  • When several pre-active jobs share a key, options.match picks which are updated by createdOn: newest (default), oldest, or all.
  • If an updated job becomes runnable on a LISTEN/NOTIFY-enabled queue, a wake-up notification fires so idle workers pick it up promptly.
  • Returns { jobs, updated }.
// by id
await boss.update('email', { to: 'a@b.co' }, { id: jobId })
// by singletonKey — overwrite the queued job with the latest body
await boss.update('article', { articleId: 42, body: '…latest…' }, { singletonKey: 'article-42' })
// object overload; data optional
await boss.update({ name: 'article', options: { singletonKey: 'article-42', priority: 5 } })

Updatable fields: data, priority, startAfter, retryLimit, retryDelay, retryBackoff, retryDelayMax, expireInSeconds, retentionSeconds, deleteAfterSeconds, deadLetter, heartbeatSeconds, group.

New: upsert()

Update-or-insert in one call: it runs update() first, and if nothing matched, falls back to insert(). Same targeting and match semantics as update(). When matching by id, the inserted job is created with that id.

  • Returns { jobs, updated, inserted } — on a hit, updated reflects the change and inserted is 0; on a miss, inserted is 1 and jobs holds the new id.
  • Object overload supported, mirroring update().
// ensure exactly one queued job carries the latest article body
await boss.upsert('article', { articleId: 42, body: '…latest…' }, { singletonKey: 'article-42' })

Type fixes

  • Fix public type for spies
  • Dropped obsolete keepUntil insertion-time type

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for pg-boss since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pg-boss](https://github.com/timgit/pg-boss) from 10.4.2 to 12.25.1.
- [Release notes](https://github.com/timgit/pg-boss/releases)
- [Commits](https://github.com/timgit/pg-boss/commits/12.25.1)

---
updated-dependencies:
- dependency-name: pg-boss
  dependency-version: 12.25.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 12, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #149.

@dependabot dependabot Bot closed this Jul 19, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/packages/server/pg-boss-12.25.1 branch July 19, 2026 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants