-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from darkrockmountain/release/v0.6.1
Release/v0.6.1
- Loading branch information
Showing
14 changed files
with
333 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
module github.com/darkrockmountain/gomail/aws_lambda_email_sender | ||
|
||
go 1.22.5 | ||
go 1.22.7 | ||
|
||
require ( | ||
github.com/aws/aws-lambda-go v1.47.0 | ||
github.com/darkrockmountain/gomail v0.6.0-beta | ||
github.com/darkrockmountain/gomail v0.6.0 | ||
) | ||
|
||
require ( | ||
github.com/aymerick/douceur v0.2.0 // indirect | ||
github.com/gorilla/css v1.0.1 // indirect | ||
github.com/microcosm-cc/bluemonday v1.0.26 // indirect | ||
golang.org/x/net v0.25.0 // indirect | ||
golang.org/x/net v0.26.0 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
module github.com/darkrockmountain/gomail/azure_email_sender | ||
|
||
go 1.22.5 | ||
go 1.22.7 | ||
|
||
require github.com/darkrockmountain/gomail v0.6.0-beta | ||
require github.com/darkrockmountain/gomail v0.6.0 | ||
|
||
require ( | ||
github.com/aymerick/douceur v0.2.0 // indirect | ||
github.com/gorilla/css v1.0.1 // indirect | ||
github.com/microcosm-cc/bluemonday v1.0.26 // indirect | ||
golang.org/x/net v0.25.0 // indirect | ||
golang.org/x/net v0.26.0 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
.examples/serverless/digitalocean_functions/packages/email-sender/send-email/go.mod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
module github.com/darkrockmountain/gomail/digitalocean_email_sender | ||
|
||
go 1.22.5 | ||
go 1.22.7 | ||
|
||
require github.com/darkrockmountain/gomail v0.6.0-beta | ||
require github.com/darkrockmountain/gomail v0.6.0 | ||
|
||
require ( | ||
github.com/aymerick/douceur v0.2.0 // indirect | ||
github.com/gorilla/css v1.0.1 // indirect | ||
github.com/microcosm-cc/bluemonday v1.0.26 // indirect | ||
golang.org/x/net v0.25.0 // indirect | ||
golang.org/x/net v0.26.0 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,23 @@ | ||
module github.com/darkrockmountain/gomail/google_cloud_email_sender | ||
|
||
go 1.22.5 | ||
go 1.22.7 | ||
|
||
require ( | ||
github.com/GoogleCloudPlatform/functions-framework-go v1.8.1 | ||
github.com/GoogleCloudPlatform/functions-framework-go v1.9.0 | ||
github.com/darkrockmountain/gomail v0.6.0-beta | ||
) | ||
|
||
require ( | ||
github.com/aymerick/douceur v0.2.0 // indirect | ||
github.com/cloudevents/sdk-go/v2 v2.15.2 // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/gorilla/css v1.0.1 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
github.com/microcosm-cc/bluemonday v1.0.26 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
go.uber.org/atomic v1.4.0 // indirect | ||
go.uber.org/multierr v1.1.0 // indirect | ||
go.uber.org/zap v1.10.0 // indirect | ||
golang.org/x/net v0.25.0 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,111 +1,183 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
|
||
## 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](https://pkg.go.dev/vuln/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.1]: https://github.com/darkrockmountain/gomail/compare/v0.6.0...v0.6.1 | ||
|
||
## [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.6.0]: https://github.com/darkrockmountain/gomail/compare/v0.5.2...v0.6.0 | ||
|
||
## [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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.