Changelog
All notable changes to laramail are documented here.
v1.2.0
Package renamed to laramail
- Renamed package from
@impruthvi/nodemailtolaramail - CLI command changed from
npx nodemailtonpx laramail - Config file pattern changed from
nodemail.config.*tolaramail.config.* - Queue prefix default changed from
nodemailtolaramail - Updated all internal branding, imports, and documentation
- README restructured (1076 → 368 lines)
v1.1.6
Postinstall thank-you message
- Added a postinstall script that displays a thank-you message after installation
- Automatically skips in CI environments
- Set
LARAMAIL_NO_POSTINSTALL=1environment variable to disable the message
v1.1.4
Initial postinstall script
- Initial release of the postinstall thank-you script (superseded by v1.1.6)
v1.1.3
CLI fix
- Fixed
queue:clearCLI command to use--status/-soption instead of positional argument - CLI now matches documented usage:
npx laramail queue:clear --status failed
v1.1.2
Queue compatibility fix
- queue: Replace colon with underscore in queue names for BullMQ compatibility
- BullMQ does not allow colons (
:) in queue names - Queue names now formatted as
laramail_mailinstead oflaramail:mail
- BullMQ does not allow colons (
v1.1.1
Bug fixes and test improvements
- Type handling and error management in preview and queue commands
- Improved async/sync handling in image embedding and priority tests
- Added comprehensive test coverage for MailFacade, MailManager, Mailable, and QueueManager
v1.1.0
CLI Commands — powerful command-line tools for managing your email workflow.
- CLI Commands — New CLI tool with queue management, email preview, code generation, and configuration validation.
queue:work— Start processing queued emailsqueue:status— Show queue job counts and statusqueue:clear— Clear jobs from the queue by statusqueue:retry— Retry failed jobs in the queuepreview— Preview an email in your browser without sendingsend:test— Send a test email to verify configurationmake:mailable— Generate a new Mailable classconfig:check— Validate your mail configuration
v1.0.1
5 new features expanding the library's email capabilities.
- Email Events — Listen to
sending,sent, andfailedlifecycle events with typed listeners. - Email Preview — Render emails in the browser during development without actually sending them.
- Email Priority — Set priority headers (
high,normal,low) on outgoing messages. - Embedded Images — Attach inline images via CID references for rich HTML emails.
- Rate Limiting — Throttle outgoing email with per-provider rate limits and configurable strategies.
v1.0.0
Provider Failover — automatic failover chains with retries, delays, and callbacks.
FailoverManagerclass for managing provider chainsfailoverconfig option (global and per-mailer)onFailovercallback for monitoring provider switchesMailResponsenow includesprovider,failoverUsed,failoverAttempts- Testing utilities:
MailFake.simulateFailures()/resetFailures() AssertableMessagefailover methods:wasFailoverUsed(),getProvider(),getFailoverAttempts(),getResponse()
See the Provider Failover docs and Migration Guide for adoption details.
Earlier Releases
| Version | Key Feature |
|---|---|
| v0.7.0 | Markdown Mail — renderer, components, themes |
| v0.6.0 | Queue support — Bull, BullMQ, sync driver |
| v0.5.0 | Testing utilities — Mail.fake(), assertions, AssertableMessage |
| v0.4.0 | Template engines — Handlebars, EJS, Pug + Mailable classes |