Releases: wavezync/nestjs-pgboss
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_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
- 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:
@Job
and@CronJob
handlers now always receive a job array, consistent with PgBoss v10.
-
Support for
WorkOptions
:- The
@Job
decorator now acceptsWorkOptions
as 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
v2.0.1
@wavezync/nestjs-pgboss v2.0.1 Released π
- Enhanced global error handling and logging across PgBoss operations π‘οΈ
- Improved Error logging for better error visibility π
Upgrade to v2.0.1 and enjoy improved stability and maintainability in your job scheduling system! π
What's Changed
- fix: refactor error handling by @samaratungajs in #7
Full Changelog: v2.0.0...v2.0.1
v2.0.0 Released
@wavezync/nestjs-pgboss v2.0.0 Released π
- Robust job handler scanning and registration mechanism π
- Refined connection setup with error handling for PgBoss π‘
- Enhanced logging for better visibility into job scheduling and execution π
- Ensured seamless and flexible scheduling for cron jobs β²οΈ
Get ready for a more reliable and efficient job scheduling experience with @wavezync/nestjs-pgboss
! π
What's Changed
- fix: use registerJobHandler by @samaratungajs in #4
New Contributors
- @samaratungajs made their first contribution in #4
Full Changelog: v1.0.0...v2.0.0
v1.0.0 Released
@wavezync/nestjs-pgboss v1.0.0 Released π
- Seamless integration with pg-boss for NestJS π₯
- Easily schedule jobs with built-in decorators and methods π οΈ
- Support for cron jobs with flexible scheduling β°
- Enhanced job handling with TypeScript π