v5.0.3

knadh/listmonkv5.0.3Jul 6, 2025by github-actions[bot]

AI Summary

Bug fix release addressing SMTP errors not being captured during test mail sending, opt-in confirmation email errors, and CSV importer line count issues.

Key Highlights

  • Fix SMTP errors not being captured on test mails
  • Fix opt-in send errors silently ignored on signup form
  • Fix incorrect line counts in CSV importer due to empty lines
  • Upgrade smtppool library with error-return bugfix
  • Disallow POST /api/subscription when public subscription is disabled

New Features

  • SMTP error capturing and display
  • Opt-in email error handling
  • CSV importer line count fix

Full Release Notes

[![listmonk-logo](https://user-images.githubusercontent.com/547147/134940003-1de03d83-8c7b-459b-8056-baa8d5f3b448.png)](https://listmonk.app)

v5.0.3 contains fixes for some minor, but annoying bugs, primarily SMTP errors not being captured and displayed while sending test mails.

## How to upgrade
**As always, take a backup of your database before upgrading.**

**Binary**

Download the latest binary. Stop and replace the old binary. Run `./listmonk --upgrade`. Start the app again.

**Docker**
```shell
# cd /directory/with/docker-compose.yml

docker-compose down
docker-compose pull && docker-compose run --rm app ./listmonk --upgrade
docker-compose up -d app db
```


## Changelog
* 48643aa9 Disallow `POST /api/subscription` on disabling public subscription in settings. Closes #2530.
* a424f01f Print full line with error in the importer log. Close #2549.
* 4f6880d3 Fix opt-in send errors silently ignored on signup form. Closes #2535.
* b71d80e5 Upgrade `smtppool` lib with error-return bugfix. Ref: #2503
* 419f88a9 Fix incorrect line counts due to empty lines in CSV importer (#2542)
* aa864fd5 Bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 (#2543)
* d7e4ecf8 Fix typo in configuration.md (#2540)
* a9d3591f Add heading in template functions doc (#2527)
* 78f3db7f Add permanent warning to docs about Sprig functions.
* 20810487 Update release info on homepage.