Skip to content

Releases: wavezync/nestjs-pgboss

v6.0.0

06 Mar 12:46
a636684

Choose a tag to compare

[6.0.0] - 2026-03-06

Bug Fixes

  • Avoid accessing prototype getters during handler scanning (d3e03ac)
  • Update node version (a636684)

Features

  • Use pg-boss native WorkOptions instead of internal wrapper (28671a3)

Miscellaneous Tasks

Testing

  • Add comprehensive unit tests for all components (1afe15f)

v5.1.1

31 Jan 04:23
c5164e9

Choose a tag to compare

What's Changed

Full Changelog: v5.1.0...v5.1.1

v5.1.0

18 Jan 20:24
fc0a1cc

Choose a tag to compare

What's Changed

  • feat: add teamSize option for parallel job processing by @andres99x in #29

New Contributors

Full Changelog: v5.0.0...v5.1.0

v5.0.0

05 Jan 07:01
81d73ac

Choose a tag to compare

@wavezync/nestjs-pgboss v5.0.0 Released πŸŽ‰

What's Changed

New Contributors

Fixes

  • Resolved #27 issue

Highlights

  • NestJS v11 Support: Fully compatible with the latest NestJS version.
  • pg-boss v12 Integration: Add newest features and improvements in pg-boss.

System Requirements

This version introduces significant system requirement changes:

  • Node.js: v22.12 or higher (required by pg-boss v12)
  • PostgreSQL: v13 or higher (required by pg-boss v12)
  • NestJS: v11 or higher

Breaking Changes

Full Changelog: v4.0.1...v5.0.0

v4.0.1

29 Nov 06:06

Choose a tag to compare

@wavezync/nestjs-pgboss v4.0.1 Released

Features

  • Full ConstructorOptions Support: compatibility for all optional configuration parameters in PgBoss ConstructorOptions, including schema, application_name and more.
  • Improved Type Safety: Use ConstructorOptions for configuring PgBoss options.

Fixes

  • Resolved issues with missing support for certain PgBoss configuration options.

What's Changed

Full Changelog: v4.0.0...v4.0.1

v4.0.0

25 Nov 10:37

Choose a tag to compare

Release Notes - v4.0.0 πŸš€

Breaking Changes ⚠️

  • Job Arrays in Handlers:

    • @Job and @CronJob handlers now always receive a job array, consistent with PgBoss v10.
  • Support for WorkOptions:

    • The @Job decorator now accepts WorkOptions as its options parameter.
    • This allows configuration, such as specifying batchSize.

Migration Notes πŸ› οΈ

  • Update Handlers:

    // Old
    @Job('MY_JOB')
    async handleJob(job: any) {
      console.log(job.data.id);
    }
    
    // New
    @Job('MY_JOB', { batchSize: 5 }) // Batch size optional; defaults to 1
    async handleJob(jobs: any[]) {
      for (const job of jobs) {
        console.log(job.data.id);
      }
    }

What's Changed

Full Changelog: v3.0.1...v4.0.0

v3.0.1

04 Nov 04:41

Choose a tag to compare

@wavezync/nestjs-pgboss v3.0.1 Released

πŸ”§ Fixes

  • Resolved the issue where PgBoss startup errors were hidden. Errors are now logged with detailed messages for easier troubleshooting.

What's Changed

Full Changelog: v3.0.0...v3.0.1

v3.0.0

10 Sep 07:51
2d25724

Choose a tag to compare

@wavezync/nestjs-pgboss v3.0.0 Released πŸŽ‰

This release brings compatibility with pg-boss v10 along with several improvements and optimizations for better job scheduling and handling in your NestJS applications.

Major Updates

Compatibility with pg-boss v10: Updated peer dependencies to require pg-boss v10 or above

Queue Management: Adjusted queue creation for pg-boss v10, ensuring seamless job scheduling.

To upgrade to @wavezync/nestjs-pgboss v3.0.0, ensure your environment meets the following requirements:

  • Node.js: Version 20 or higher
  • PostgreSQL: Version 13 or higher

Get ready for a more robust, reliable, and efficient job scheduling experience with @wavezync/nestjs-pgboss! πŸš€

## What's Changed
* feat: migrate to pgboss 10 by @samaratungajs in https://github.com/wavezync/nestjs-pgboss/pull/15


**Full Changelog**: https://github.com/wavezync/nestjs-pgboss/compare/v2.2.0...v3.0.0

v2.2.0

08 Sep 18:14

Choose a tag to compare

@wavezync/nestjs-pgboss v2.2.0 Released

Direct Access to PgBoss Instance πŸ“¦

  • You can now directly access the PgBoss instance using pgBossService.boss
  • This allows more flexibility in utilizing all the features of PgBoss directly.

What's Changed

Full Changelog: v2.1.0...v2.2.0

v2.1.0

30 Aug 09:05

Choose a tag to compare

@wavezync/nestjs-pgboss v2.1.0 Released πŸŽ‰

  • Automated inclusion of full job metadata by default πŸ› οΈ
  • Upgrade to v2.1.0 for improved job scheduling and maintainability! πŸš€

What's Changed

Full Changelog: v2.0.1...v2.1.0