All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
- No changes yet.
v0.6.1 - 2024-11-15
- Go Version: Upgraded to Go
1.22.7
to address theencoding/gob
vulnerability (GO-2024-3106). This resolves potential stack exhaustion issues inDecoder.Decode
with deeply nested structures. - Dependencies:
- Updated
github.com/aws/aws-sdk-go
fromv1.54.11
tov1.55.5
. - Updated
github.com/mailgun/mailgun-go/v4
fromv4.12.0
tov4.16.0
. - Updated
golang.org/x/net
fromv0.25.0
tov0.30.0
. - Updated
google.golang.org/api
fromv0.186.0
tov0.200.0
. - Additional updates to indirect dependencies for compatibility and security.
- Updated
- GitHub Actions: Adjusted the conditional check in
.github/workflows/ci.yml
to ensure compatibility with Codecov branch uploads.
- Microsoft365 Provider:
- Updated
SendEmail
function inmicrosoft365_email_sender.go
to usecommon.EmailMessage
instead ofgomail.EmailMessage
, improving modularity and compatibility.
- Updated
- Testing:
- Enhanced test setup in
microsoft365_email_sender_test.go
by streamlining HTTP client initialization and reducing redundancy.
- Enhanced test setup in
v0.6.0 - 2024-07-17
- SanitizerFunc for input sanitization.
- GitHub Actions workflow optimizations.
- Max size limit for attachments.
- Changed EmailMessage parameter to pointer in EmailSender interface.
- Encapsulated EmailMessage and Attachment structs.
- Attachment encoding for Microsoft365.
- Updated Go version to 1.22.5.
- Simplified type aliasing in the gomail package.
- Moved common components to a dedicated directory.
- Separated email providers into individual packages.
- Minor documentation issues.
- Migration of project repository from GitLab to GitHub.
- Automated CI/CD pipeline using GitHub Actions.
- Deprecated all former versions to avoid issues with the migration.
- Resolved issue with Microsoft365 email sender authentication.
- Major refactor of the email sending architecture to support plugin-based providers.
- Support for SparkPost email provider.
- Enhanced logging functionality.
- Patched security vulnerability in SMTP email sender.
- Serverless examples.
- Introduction of the SendGrid email provider.
- Initial support for OAuth2 authentication with Gmail.
- Bug fix in Mailgun email sender related to attachment handling.
- Feature to track email open and click rates.
- Resolved intermittent issues with Postmark email sender.
- Support for SES email provider.
- Added retry mechanism for failed email sends.
- Initial support for Microsoft365 email provider.
- Improved error handling across all email providers.
- Fixed a bug in Gmail email sender related to large email bodies.
- Added support for Mandrill email provider.
- Minor bug fixes and performance improvements.
- Added support for Mailgun email provider.
- Added support for Postmark email provider.
- Added detailed logging for email sending failures.
- Support for Gmail email provider.
- Initial release with support for SMTP email provider.