Skip to content

Latest commit

 

History

History
183 lines (103 loc) · 4.04 KB

CHANGELOG.md

File metadata and controls

183 lines (103 loc) · 4.04 KB

Changelog

All notable changes to this project will be documented in this file.

This project adheres to Semantic Versioning.

Unreleased

  • No changes yet.

v0.6.1 - 2024-11-15

Changed

  • Go Version: Upgraded to Go 1.22.7 to address the encoding/gob vulnerability (GO-2024-3106). This resolves potential stack exhaustion issues in Decoder.Decode with deeply nested structures.
  • Dependencies:
    • Updated github.com/aws/aws-sdk-go from v1.54.11 to v1.55.5.
    • Updated github.com/mailgun/mailgun-go/v4 from v4.12.0 to v4.16.0.
    • Updated golang.org/x/net from v0.25.0 to v0.30.0.
    • Updated google.golang.org/api from v0.186.0 to v0.200.0.
    • Additional updates to indirect dependencies for compatibility and security.

Fixed

  • GitHub Actions: Adjusted the conditional check in .github/workflows/ci.yml to ensure compatibility with Codecov branch uploads.

Refactored

  • Microsoft365 Provider:
    • Updated SendEmail function in microsoft365_email_sender.go to use common.EmailMessage instead of gomail.EmailMessage, improving modularity and compatibility.
  • Testing:
    • Enhanced test setup in microsoft365_email_sender_test.go by streamlining HTTP client initialization and reducing redundancy.

v0.6.0 - 2024-07-17

Added

  • 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.

Changed

  • 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.

Fixed

  • Minor documentation issues.

[v0.5.2] - 2024-06-03

Added

  • Migration of project repository from GitLab to GitHub.
  • Automated CI/CD pipeline using GitHub Actions.

Deprecated

  • Deprecated all former versions to avoid issues with the migration.

[v0.5.1] - 2024-05-30

Fixed

  • Resolved issue with Microsoft365 email sender authentication.

[v0.5.0] - 2024-01-15

Changed

  • Major refactor of the email sending architecture to support plugin-based providers.

Added

  • Support for SparkPost email provider.
  • Enhanced logging functionality.

[v0.4.1] - 2023-10-10

Fixed

  • Patched security vulnerability in SMTP email sender.

Added

  • Serverless examples.

[v0.4.0] - 2023-07-22

Added

  • Introduction of the SendGrid email provider.
  • Initial support for OAuth2 authentication with Gmail.

[v0.3.4] - 2023-04-18

Fixed

  • Bug fix in Mailgun email sender related to attachment handling.

[v0.3.2] - 2023-01-25

Added

  • Feature to track email open and click rates.

[v0.3.1] - 2022-11-30

Fixed

  • Resolved intermittent issues with Postmark email sender.

[v0.3.0] - 2022-08-14

Added

  • Support for SES email provider.
  • Added retry mechanism for failed email sends.

[v0.2.1] - 2022-04-12

Added

  • Initial support for Microsoft365 email provider.

[v0.2.0] - 2021-12-05

Changed

  • Improved error handling across all email providers.

[v0.1.2] - 2021-09-28

Fixed

  • Fixed a bug in Gmail email sender related to large email bodies.

[v0.1.1] - 2021-06-15

Added

  • Added support for Mandrill email provider.

[v0.1.0] - 2021-03-22

Fixed

  • Minor bug fixes and performance improvements.

[v0.0.3] - 2020-12-10

Added

  • Added support for Mailgun email provider.

[v0.0.2] - 2020-10-05

Added

  • Added support for Postmark email provider.
  • Added detailed logging for email sending failures.

[v0.0.1] - 2020-05-10

Added

  • Support for Gmail email provider.

[v0.0.0] - 2020-01-20

Added

  • Initial release with support for SMTP email provider.