smtpmock v2.0.0 Release Notes
Release Date: 2022-11-16 // almost 2 years ago-
➕ Added
- ➕ Added ability to use multiple
RCPT TO
commands during one SMTP session, following RFC 2821 (section 4.1.1.3). Thanks @dandare100 for request and provided examples - ➕ Added
ConfigurationAttr#MultipleRcptto
,configuration#multipleRcptto
, tests - ➕ Added
Message#rcpttoRequestResponse
,Message#isIncludesSuccessfulRcpttoResponse()
, tests - ➕ Added
handlerRcptto#resolveMessageStatus()
, tests - ➕ Added
Message
public methods, tests - ➕ Added
Server
thread-safe getters/setters, tests
🛠 Fixed
- 🛠 Fixed race conditions with R/W lock in
Server
. Thanks @benjamin-rood for report and pull request - 🛠 Fixed race conditions with R/W lock in
Message
✂ Removed
- ✂ Removed
Message#rcpttoRequest
,Message#rcpttoResponse
- ✂ Removed
&Message
public methods
⚡️ Updated
- ⚡️ Updated
handlerRcptto#clearMessage()
,handlerRcptto#writeResult()
,handlerData#clearMessage()
, tests - ⚡️ Updated Go reference trigger script
- ⚡️ Updated
Server#Messages()
, returns slice ofMessage
instead&Message
- ⚡️ Updated CircleCI config, added checking for race conditions step
- 📚 Updated project documentation
- ➕ Added ability to use multiple
Previous changes from v1.10.0
-
➕ Added
- Ability to use address literal as
HELO
command args, following RFC 5321 (section 4.1.1.1). Thanks @dandare100 for investigation, report and brilliant PR.
⚡️ Updated
- ⚡️ Updated consts
- ⚡️ Updated
handlerHelo
tests - 📚 Updated project documentation
- Ability to use address literal as