Releases: wavezync/nestjs-pgboss
v6.0.0
v5.1.1
v5.1.0
What's Changed
- feat: add teamSize option for parallel job processing by @andres99x in #29
New Contributors
- @andres99x made their first contribution in #29
Full Changelog: v5.0.0...v5.1.0
v5.0.0
@wavezync/nestjs-pgboss v5.0.0 Released π
What's Changed
- chore: update dependencies to NestJS 11 and pg-boss 12 by @MasterBrian99 in #28
New Contributors
- @MasterBrian99 made their first contribution in #28
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
- Please see pg-boss v12.0.0 for breaking changes in pg-boss.
Full Changelog: v4.0.1...v5.0.0
v4.0.1
@wavezync/nestjs-pgboss v4.0.1 Released
Features
- Full ConstructorOptions Support: compatibility for all optional configuration parameters in PgBoss
ConstructorOptions, includingschema,application_nameand more. - Improved Type Safety: Use
ConstructorOptionsfor configuring PgBoss options.
Fixes
- Resolved issues with missing support for certain PgBoss configuration options.
What's Changed
- chore: update README example with typed job data by @samaratungajs in #22
- feat: full support for PgBoss ConstructorOptions by @samaratungajs in #23
Full Changelog: v4.0.0...v4.0.1
v4.0.0
Release Notes - v4.0.0 π
Breaking Changes β οΈ
-
Job Arrays in Handlers:
@Joband@CronJobhandlers now always receive a job array, consistent with PgBoss v10.
-
Support for
WorkOptions:- The
@Jobdecorator now acceptsWorkOptionsas its options parameter. - This allows configuration, such as specifying
batchSize.
- The
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
- feat: allow job & cron job handlers to process job arrays by @samaratungajs in #20
Full Changelog: v3.0.1...v4.0.0
v3.0.1
@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
- fix: pg-boss startup errors hidden issue by @samaratungajs in #18
Full Changelog: v3.0.0...v3.0.1
v3.0.0
@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
@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
- feat: direct access to pgboss instance by @samaratungajs in #12
Full Changelog: v2.1.0...v2.2.0
v2.1.0
@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
- fix: handle job metadata by @samaratungajs in #9
Full Changelog: v2.0.1...v2.1.0