mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #839] go-smtp breaking API changes, again .. #591
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#591
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @binwiederhier on GitHub (Aug 17, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/839
go-smtp v0.18.0 breaks the API again. For now it's pinned to v0.17.0
@thekhalifa commented on GitHub (Dec 15, 2024):
Hi, when packaging ntfy for debian, the version of go-smtp was too low, so I experimented with raising it to v0.21.2 and found these to be the main differences:
smtp.Session.Rcpt() signature changes to add RcptOptions - this is additional, so safe to add in the one instance in server/smtp_server.go
smtp_server_test: SMTP conversation status messages have changed, so they break some of the tests. This is easy to fix but requires the check condition to be strings.HasPrefix() instead of equality
Was there anything else that blocked you from updating to the higher version?
Are there any plans to update the version (or accept a PR for it?)
Thanks.