Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop into main for v0.6.0 Release #58

Merged
merged 89 commits into from
Jul 17, 2024
Merged

Conversation

DarkRockMountain-admin
Copy link
Collaborator

Description

This pull request merges the develop branch into the main branch in preparation for the v0.6.0 release. This release includes a comprehensive set of new features, bug fixes, and documentation updates that have been added since v0.5.2. The updates are thoroughly tested and documented, ensuring a smooth transition to the main branch.

Changes:

  • New Features:

    • SanitizerFunc for input sanitization.
    • GitHub Actions workflow optimizations.
    • Max size limit for attachments.
    • Encapsulation of EmailMessage and Attachment structs.
    • Separation of email providers into individual packages.
  • Enhancements:

    • Simplified type aliasing in the gomail package.
    • Moved common components to a dedicated directory.
  • Bug Fixes:

    • Corrected attachment encoding for Microsoft365.
    • Fixed minor documentation issues.
    • Replaced deprecated ioutil.ReadFile with os.ReadFile.
    • Fixed CI: pin FOSSA Action to a specific commit hash.
  • Documentation Updates:

    • Updated README.
    • Comprehensive update to the changelog reflecting all changes.
    • Updated package documentation.
    • Updated security supported versions.
  • Testing:

    • Extended email tests for providers.
  • Continuous Integration Updates:

    • Updated Github actions to use a specific commit for versioning.
  • Dependencies:

    • Updated Go version to 1.22.5.
    • Bumped Go module dependencies.

Checklist

Please ensure the following guidelines are met:

  • The code follows the style guidelines of this project.
  • A self-review has been performed on the code.
  • The code is well-documented, and comments have been added where necessary.
  • Tests have been added to prove that the fix is effective or that the feature works. All existing tests pass.
  • Commit messages follow the convention type(scope): description.
  • The pull request has no conflicts with the base branch.
  • Any dependent changes have been merged and published in downstream modules.

Additional Information

This pull request incorporates all changes listed in the changelog and on the releases page, ensuring a comprehensive and well-documented update for v0.6.0.

JRocabruna and others added 30 commits June 4, 2024 13:56
docs(security): update supported versions in SECURITY.md
…s-package

refactor(providers): separate all email providers into individual packages
test(email): extend email tests for providers
…l-message

refactor(email_sender): encapsulate EmailMessage struct
…nt-size

feat(email_sender): add max size to the attachments
…emailmessage

feat(EmailMessage): change EmailMessage parameter to pointer in EmailSender interface for efficiency.
…ith private fields and add constructors

- Encapsulated the EmailMessage struct by making variables private
- Added getters and setters for EmailMessage variables
- Implemented custom MarshalJSON and UnmarshalJSON methods for EmailMessage
- Encapsulated the Attachment struct by making variables private
- Added getters and setters for variables
- Implemented custom MarshalJSON and UnmarshalJSON methods for Attachment
- Added a constructor for creating Attachment from filename and content
- Added a constructor for creating Attachment from a file path
- Create a testdata folder for adding test files
feat(email_message): encapsulate EmailMessage and Attachment struct with private fields and add constructors
fix(ci): pin FOSSA Action to a specific commit hash
Bumps the all group with 11 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) | `1.53.14` | `1.53.19` |
| [github.com/microsoftgraph/msgraph-sdk-go](https://github.com/microsoftgraph/msgraph-sdk-go) | `1.44.0` | `1.45.0` |
| [golang.org/x/oauth2](https://github.com/golang/oauth2) | `0.20.0` | `0.21.0` |
| [google.golang.org/api](https://github.com/googleapis/google-api-go-client) | `0.182.0` | `0.183.0` |
| [github.com/Azure/azure-sdk-for-go/sdk/azcore](https://github.com/Azure/azure-sdk-for-go) | `1.11.1` | `1.12.0` |
| [github.com/Azure/azure-sdk-for-go/sdk/internal](https://github.com/Azure/azure-sdk-for-go) | `1.8.0` | `1.9.0` |
| [github.com/std-uritemplate/std-uritemplate/go](https://github.com/std-uritemplate/std-uritemplate) | `0.0.57` | `0.0.59` |
| [golang.org/x/crypto](https://github.com/golang/crypto) | `0.23.0` | `0.24.0` |
| [golang.org/x/net](https://github.com/golang/net) | `0.25.0` | `0.26.0` |
| [golang.org/x/sys](https://github.com/golang/sys) | `0.20.0` | `0.21.0` |
| [golang.org/x/text](https://github.com/golang/text) | `0.15.0` | `0.16.0` |


Updates `github.com/aws/aws-sdk-go` from 1.53.14 to 1.53.19
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](aws/aws-sdk-go@v1.53.14...v1.53.19)

Updates `github.com/microsoftgraph/msgraph-sdk-go` from 1.44.0 to 1.45.0
- [Release notes](https://github.com/microsoftgraph/msgraph-sdk-go/releases)
- [Changelog](https://github.com/microsoftgraph/msgraph-sdk-go/blob/main/CHANGELOG.md)
- [Commits](microsoftgraph/msgraph-sdk-go@v1.44.0...v1.45.0)

Updates `golang.org/x/oauth2` from 0.20.0 to 0.21.0
- [Commits](golang/oauth2@v0.20.0...v0.21.0)

Updates `google.golang.org/api` from 0.182.0 to 0.183.0
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](googleapis/google-api-go-client@v0.182.0...v0.183.0)

Updates `github.com/Azure/azure-sdk-for-go/sdk/azcore` from 1.11.1 to 1.12.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](Azure/azure-sdk-for-go@sdk/azcore/v1.11.1...sdk/azcore/v1.12.0)

Updates `github.com/Azure/azure-sdk-for-go/sdk/internal` from 1.8.0 to 1.9.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](Azure/azure-sdk-for-go@sdk/azcore/v1.8.0...sdk/azcore/v1.9.0)

Updates `github.com/std-uritemplate/std-uritemplate/go` from 0.0.57 to 0.0.59
- [Commits](std-uritemplate/std-uritemplate@0.0.57...0.0.59)

Updates `golang.org/x/crypto` from 0.23.0 to 0.24.0
- [Commits](golang/crypto@v0.23.0...v0.24.0)

Updates `golang.org/x/net` from 0.25.0 to 0.26.0
- [Commits](golang/net@v0.25.0...v0.26.0)

Updates `golang.org/x/sys` from 0.20.0 to 0.21.0
- [Commits](golang/sys@v0.20.0...v0.21.0)

Updates `golang.org/x/text` from 0.15.0 to 0.16.0
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: github.com/microsoftgraph/msgraph-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azcore
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/internal
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/std-uritemplate/std-uritemplate/go
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: golang.org/x/net
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: golang.org/x/sys
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: golang.org/x/text
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps the all group with 2 updates: [golang/govulncheck-action](https://github.com/golang/govulncheck-action) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `golang/govulncheck-action` from 1.0.2 to 1.0.3
- [Release notes](https://github.com/golang/govulncheck-action/releases)
- [Commits](golang/govulncheck-action@3a32958...dd0578b)

Updates `github/codeql-action` from 3.25.7 to 3.25.8
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@f079b84...2e230e8)

---
updated-dependencies:
- dependency-name: golang/govulncheck-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
…l-67ad35edaa

chore(deps): bump the all group with 11 updates
…s/all-9df5d35b13

chore(deps): bump the all group with 2 updates
Bumps the all group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [codecov/codecov-action](https://github.com/codecov/codecov-action), [golang/govulncheck-action](https://github.com/golang/govulncheck-action) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `actions/checkout` from 4.1.6 to 4.1.7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@a5ac7e5...692973e)

Updates `codecov/codecov-action` from 4.4.1 to 4.5.0
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@125fc84...e28ff12)

Updates `golang/govulncheck-action` from 1.0.2 to 1.0.3
- [Release notes](https://github.com/golang/govulncheck-action/releases)
- [Commits](golang/govulncheck-action@3a32958...dd0578b)

Updates `github/codeql-action` from 3.25.7 to 3.25.10
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@f079b84...23acc5c)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: golang/govulncheck-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps the all group with 15 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go) | `1.5.2` | `1.6.0` |
| [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) | `1.53.14` | `1.54.2` |
| [github.com/microsoftgraph/msgraph-sdk-go](https://github.com/microsoftgraph/msgraph-sdk-go) | `1.44.0` | `1.45.0` |
| [golang.org/x/oauth2](https://github.com/golang/oauth2) | `0.20.0` | `0.21.0` |
| [google.golang.org/api](https://github.com/googleapis/google-api-go-client) | `0.182.0` | `0.184.0` |
| [github.com/Azure/azure-sdk-for-go/sdk/azcore](https://github.com/Azure/azure-sdk-for-go) | `1.11.1` | `1.12.0` |
| [github.com/Azure/azure-sdk-for-go/sdk/internal](https://github.com/Azure/azure-sdk-for-go) | `1.8.0` | `1.9.0` |
| [github.com/std-uritemplate/std-uritemplate/go](https://github.com/std-uritemplate/std-uritemplate) | `0.0.57` | `1.0.1` |
| [golang.org/x/crypto](https://github.com/golang/crypto) | `0.23.0` | `0.24.0` |
| [golang.org/x/net](https://github.com/golang/net) | `0.25.0` | `0.26.0` |
| [golang.org/x/sys](https://github.com/golang/sys) | `0.20.0` | `0.21.0` |
| [golang.org/x/text](https://github.com/golang/text) | `0.15.0` | `0.16.0` |
| [google.golang.org/genproto/googleapis/api](https://github.com/googleapis/go-genproto) | `0.0.0-20240521202816-d264139d666e` | `0.0.0-20240528184218-531527333157` |
| [google.golang.org/genproto/googleapis/rpc](https://github.com/googleapis/go-genproto) | `0.0.0-20240528184218-531527333157` | `0.0.0-20240604185151-ef581f913117` |
| google.golang.org/protobuf | `1.34.1` | `1.34.2` |


Updates `github.com/Azure/azure-sdk-for-go/sdk/azidentity` from 1.5.2 to 1.6.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](Azure/azure-sdk-for-go@sdk/internal/v1.5.2...sdk/azcore/v1.6.0)

Updates `github.com/aws/aws-sdk-go` from 1.53.14 to 1.54.2
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](aws/aws-sdk-go@v1.53.14...v1.54.2)

Updates `github.com/microsoftgraph/msgraph-sdk-go` from 1.44.0 to 1.45.0
- [Release notes](https://github.com/microsoftgraph/msgraph-sdk-go/releases)
- [Changelog](https://github.com/microsoftgraph/msgraph-sdk-go/blob/main/CHANGELOG.md)
- [Commits](microsoftgraph/msgraph-sdk-go@v1.44.0...v1.45.0)

Updates `golang.org/x/oauth2` from 0.20.0 to 0.21.0
- [Commits](golang/oauth2@v0.20.0...v0.21.0)

Updates `google.golang.org/api` from 0.182.0 to 0.184.0
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](googleapis/google-api-go-client@v0.182.0...v0.184.0)

Updates `github.com/Azure/azure-sdk-for-go/sdk/azcore` from 1.11.1 to 1.12.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](Azure/azure-sdk-for-go@sdk/azcore/v1.11.1...sdk/azcore/v1.12.0)

Updates `github.com/Azure/azure-sdk-for-go/sdk/internal` from 1.8.0 to 1.9.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](Azure/azure-sdk-for-go@sdk/azcore/v1.8.0...sdk/azcore/v1.9.0)

Updates `github.com/std-uritemplate/std-uritemplate/go` from 0.0.57 to 1.0.1
- [Commits](std-uritemplate/std-uritemplate@0.0.57...1.0.1)

Updates `golang.org/x/crypto` from 0.23.0 to 0.24.0
- [Commits](golang/crypto@v0.23.0...v0.24.0)

Updates `golang.org/x/net` from 0.25.0 to 0.26.0
- [Commits](golang/net@v0.25.0...v0.26.0)

Updates `golang.org/x/sys` from 0.20.0 to 0.21.0
- [Commits](golang/sys@v0.20.0...v0.21.0)

Updates `golang.org/x/text` from 0.15.0 to 0.16.0
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.15.0...v0.16.0)

Updates `google.golang.org/genproto/googleapis/api` from 0.0.0-20240521202816-d264139d666e to 0.0.0-20240528184218-531527333157
- [Commits](https://github.com/googleapis/go-genproto/commits)

Updates `google.golang.org/genproto/googleapis/rpc` from 0.0.0-20240528184218-531527333157 to 0.0.0-20240604185151-ef581f913117
- [Commits](https://github.com/googleapis/go-genproto/commits)

Updates `google.golang.org/protobuf` from 1.34.1 to 1.34.2

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/microsoftgraph/msgraph-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azcore
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/internal
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/std-uritemplate/std-uritemplate/go
  dependency-type: indirect
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: golang.org/x/net
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: golang.org/x/sys
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: golang.org/x/text
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: google.golang.org/genproto/googleapis/api
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: google.golang.org/genproto/googleapis/rpc
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
dependabot bot and others added 24 commits June 30, 2024 16:06
Bumps the all group with 4 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [codecov/codecov-action](https://github.com/codecov/codecov-action), [golang/govulncheck-action](https://github.com/golang/govulncheck-action) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `actions/checkout` from 4.1.6 to 4.1.7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@a5ac7e5...692973e)

Updates `codecov/codecov-action` from 4.4.1 to 4.5.0
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@125fc84...e28ff12)

Updates `golang/govulncheck-action` from 1.0.2 to 1.0.3
- [Release notes](https://github.com/golang/govulncheck-action/releases)
- [Commits](golang/govulncheck-action@3a32958...dd0578b)

Updates `github/codeql-action` from 3.25.7 to 3.25.11
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@f079b84...b611370)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: golang/govulncheck-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps the all group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go) | `1.5.2` | `1.7.0` |
| [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) | `1.53.14` | `1.54.11` |
| [github.com/microsoftgraph/msgraph-sdk-go](https://github.com/microsoftgraph/msgraph-sdk-go) | `1.44.0` | `1.45.0` |
| [golang.org/x/oauth2](https://github.com/golang/oauth2) | `0.20.0` | `0.21.0` |
| [google.golang.org/api](https://github.com/googleapis/google-api-go-client) | `0.182.0` | `0.186.0` |
| [github.com/Azure/azure-sdk-for-go/sdk/azcore](https://github.com/Azure/azure-sdk-for-go) | `1.11.1` | `1.12.0` |
| [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) | `5.0.12` | `5.1.0` |
| [github.com/std-uritemplate/std-uritemplate/go](https://github.com/std-uritemplate/std-uritemplate) | `0.0.57` | `1.0.2` |



Updates `github.com/Azure/azure-sdk-for-go/sdk/azidentity` from 1.5.2 to 1.7.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](Azure/azure-sdk-for-go@sdk/internal/v1.5.2...sdk/azcore/v1.7.0)

Updates `github.com/aws/aws-sdk-go` from 1.53.14 to 1.54.11
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](aws/aws-sdk-go@v1.53.14...v1.54.11)

Updates `github.com/microsoftgraph/msgraph-sdk-go` from 1.44.0 to 1.45.0
- [Release notes](https://github.com/microsoftgraph/msgraph-sdk-go/releases)
- [Changelog](https://github.com/microsoftgraph/msgraph-sdk-go/blob/main/CHANGELOG.md)
- [Commits](microsoftgraph/msgraph-sdk-go@v1.44.0...v1.45.0)

Updates `golang.org/x/oauth2` from 0.20.0 to 0.21.0
- [Commits](golang/oauth2@v0.20.0...v0.21.0)

Updates `google.golang.org/api` from 0.182.0 to 0.186.0
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](googleapis/google-api-go-client@v0.182.0...v0.186.0)

Updates `cloud.google.com/go/auth` from 0.5.1 to 0.6.0
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md)
- [Commits](googleapis/google-cloud-go@auth/v0.5.1...v0.6.0)

Updates `github.com/Azure/azure-sdk-for-go/sdk/azcore` from 1.11.1 to 1.12.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](Azure/azure-sdk-for-go@sdk/azcore/v1.11.1...sdk/azcore/v1.12.0)

Updates `github.com/Azure/azure-sdk-for-go/sdk/internal` from 1.8.0 to 1.9.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](Azure/azure-sdk-for-go@sdk/azcore/v1.8.0...sdk/azcore/v1.9.0)

Updates `github.com/go-chi/chi/v5` from 5.0.12 to 5.1.0
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](go-chi/chi@v5.0.12...v5.1.0)

Updates `github.com/googleapis/gax-go/v2` from 2.12.4 to 2.12.5
- [Release notes](https://github.com/googleapis/gax-go/releases)
- [Commits](googleapis/gax-go@v2.12.4...v2.12.5)

Updates `github.com/std-uritemplate/std-uritemplate/go` from 0.0.57 to 1.0.2
- [Commits](std-uritemplate/std-uritemplate@0.0.57...1.0.2)

Updates `golang.org/x/crypto` from 0.23.0 to 0.24.0
- [Commits](golang/crypto@v0.23.0...v0.24.0)

Updates `golang.org/x/net` from 0.25.0 to 0.26.0
- [Commits](golang/net@v0.25.0...v0.26.0)

Updates `golang.org/x/sys` from 0.20.0 to 0.21.0
- [Commits](golang/sys@v0.20.0...v0.21.0)

Updates `golang.org/x/text` from 0.15.0 to 0.16.0
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.15.0...v0.16.0)

Updates `google.golang.org/genproto/googleapis/rpc` from 0.0.0-20240528184218-531527333157 to 0.0.0-20240617180043-68d350f18fd4
- [Commits](https://github.com/googleapis/go-genproto/commits)

Updates `google.golang.org/protobuf` from 1.34.1 to 1.34.2

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/microsoftgraph/msgraph-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: cloud.google.com/go/auth
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azcore
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/internal
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/go-chi/chi/v5
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/googleapis/gax-go/v2
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: github.com/std-uritemplate/std-uritemplate/go
  dependency-type: indirect
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: golang.org/x/net
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: golang.org/x/sys
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: golang.org/x/text
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: google.golang.org/genproto/googleapis/rpc
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Attachments in emails sent using the Microsoft 365 provider were being improperly processed by encoding into Base64 strings and then converting to byte arrays. This fix corrects the attachment handling to use raw byte data, ensuring attachments are sent correctly.
…ent-encoding

fix(microsoft365): correct attachment encoding to use raw content
The govulncheck tool identified a vulnerability (GO-2024-2963) in the net/http package. This issue is resolved in Go version 1.22.5. Updated go.mod and GitHub Actions workflow to use Go 1.22.5.
…-1.22.5

fix: update Go version to 1.22.5 to resolve net/http vulnerability
…s/all-8a1daf578f

chore(deps): bump the all group across 1 directory with 4 updates
Updated dependencies to ensure compatibility with the latest versions available.
chore(deps): update Go module dependencies
Updated dependencies to ensure compatibility with the latest versions available.
chore(deps): update Go module dependencies
…l-b6ff6ed72b

chore(deps): bump the all group across 1 directory with 17 updates
…mization

feat(ci): optimize GitHub Actions workflow by combining build and test steps
- Updated Fossa action to use a specific commit for versioning.
  From: `uses: fossas/fossa-action@main`
  To: `uses: fossas/fossa-action@47ef11b`
docs(README): update badges in README
@DarkRockMountain-admin DarkRockMountain-admin added the release Indicates a release branch or version. label Jul 17, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #58   +/-   ##
=======================================
  Coverage        ?   92.67%           
=======================================
  Files           ?       19           
  Lines           ?      846           
  Branches        ?        0           
=======================================
  Hits            ?      784           
  Misses          ?       34           
  Partials        ?       28           
Flag Coverage Δ
unittests 92.67% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
common/attachment.go 100.00% <100.00%> (ø)
common/email.go 100.00% <100.00%> (ø)
common/utils.go 100.00% <100.00%> (ø)
common/validation.go 100.00% <100.00%> (ø)
credentials/helpers.go 100.00% <ø> (ø)
gomail.go 100.00% <100.00%> (ø)
providers/gmail/gmail_email_sender.go 71.42% <100.00%> (ø)
providers/mailgun/mailgun_email_sender.go 100.00% <100.00%> (ø)
providers/mandrill/mandrill_email_sender.go 96.29% <100.00%> (ø)
...roviders/microsoft365/microsoft365_email_sender.go 78.72% <100.00%> (ø)
... and 9 more

Copy link
Member

@JRocabruna JRocabruna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments

The proposed changes include a comprehensive update preparing for the v0.6.0 release. The changes encompass new features, enhancements, bug fixes, documentation updates, testing improvements, and updates to continuous integration processes and dependencies. Each change is well-documented and the code has been reviewed and tested to ensure functionality and stability.

Review Checklist

  • Code adheres to the project's coding guidelines.
  • Changes are well-documented.
  • Tests have been added/updated and pass successfully.
  • Commit messages follow the correct format: type(scope): description.
  • No conflicts with the base branch.

Approval

Approved: Changes look good and meet the project's contribution standards.

@DarkRockMountain-admin DarkRockMountain-admin merged commit 4137572 into main Jul 17, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Indicates a release branch or version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants