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

Bump mail from 2.7.1 to 2.8.1 #651

Merged
merged 3 commits into from
Jun 3, 2024

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 12, 2024

Bumps mail from 2.7.1 to 2.8.1.

Changelog

Sourced from mail's changelog.

== Version 2.8.1 (unreleased)

Bug Fixes:

  • Regression: sendmail accepts string :arguments (@​sebbASF)
  • Regression: accept enable_starttls_auto: false @​ahorek

== Version 2.8.0.1 (12-Jan-2023)

Bug fixes:

  • Regression: incorrect permissions for some files (mikel)

== Version 2.8.0 (3-Dec-2022)

Breaking changes:

  • Add Ruby 3.1 support (deivid-rodriguez, voxik, eregon)
  • Drop support for Ruby < 2.5 (deivid-rodriguez, voxik)
  • Message#without_attachments! now deletes nested attachments. (TylerRick)
  • Sendmail and exim delivery now raise DeliveryError when the command exits with a nonzero exitstatus. (benmmurphy, CoolElvis)
  • Sendmail and exim delivery :arguments option must be an array of string args. (benmmurphy)
  • Passing unparsed headers to Mail::Field.new is no longer supported. Use Mail::Field.parse. (jeremy)
  • Removed long-deprecated features: Message#register_for_delivery_notification, #has_transfer_encoding?, #add_transfer_encoding, #transfer_encoding, #message_content_type, #mime_parameters, #encode!, and Part#inline_content_id. (jeremy)

Deprecations:

  • Deprecates Mail::CheckDeliveryParams in favour of Mail::SmtpEnvelope

Compatibility:

  • Handle a wide variety of non-RFC Message-ID formats. (peterkovacs)
  • Normalize Quoted-Printable line endings for text content. (jeremy)
  • Gracefully parse invalid dates in Date and Received headers. (okkez)
  • Converting to multipart moves Content-* headers to the new part. (kirikak2)
  • Multipart Content-Type no longer includes a needless charset param. (kirikak2)
  • Replies prefix subject with "Re: " instead of "RE: " per 5322 3.6.5. (mashedcode)
  • Gracefully handle multiple, possibly-invalid headers for what should be singular fields. (rosa)
  • SMTP delivery with enable_tls/starttls/starttls_auto: false now disables these options, since starttls is now :auto by default in upstream net-smtp. (jeremy)

Features:

  • Message#inspect_structure and PartsList#inspect_structure pretty-print the hierarchy of message parts. (TylerRick)
  • an_attachment_with_mime_type matcher added to match attachments by mime type

Bug Fixes:

  • Regression: Preserve message-level charset when adding parts (related to Rails ActionMailer) @​shields
  • Regression: Adding a part should not reset the mail's charset to nil @​railsbob

Please check 2-7-stable for previous changes.

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 12, 2024
@aaronskiba
Copy link
Collaborator

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/bundler/integration/mail-2.8.1 branch from 58b6a11 to aa02344 Compare April 8, 2024 21:43
@aaronskiba
Copy link
Collaborator

aaronskiba commented Jun 3, 2024

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/bundler/integration/mail-2.8.1 branch from aa02344 to 5f44a49 Compare June 3, 2024 20:23
@aaronskiba
Copy link
Collaborator

@dependabot rebase

Bumps [mail](https://github.com/mikel/mail) from 2.7.1 to 2.8.1.
- [Changelog](https://github.com/mikel/mail/blob/2.8.1/CHANGELOG.rdoc)
- [Commits](mikel/mail@2.7.1...2.8.1)

---
updated-dependencies:
- dependency-name: mail
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/bundler/integration/mail-2.8.1 branch from 5f44a49 to 73b6c60 Compare June 3, 2024 20:41
@aaronskiba
Copy link
Collaborator

# We need to freeze the mail gem version as the recently released 2.8.0 triggers an exception
# We will need to check if it's fixed when we migrate to Ruby 3.0/3.1
# See : https://github.com/DMPRoadmap/roadmap/issues/3254
gem 'mail', '2.7.1'

The above code exists in our Gemfile, as well as the current Gemfile of DMPRoadmap. We need to test whether or not this gem can be unfrozen.

Issue #765 has been created to verify that commit 73b6c60 doesn't cause any issues within the app.
Copy link
Collaborator

@aaronskiba aaronskiba left a comment

Choose a reason for hiding this comment

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

All tests pass and app is working locally.

@aaronskiba aaronskiba merged commit ee7ec25 into integration Jun 3, 2024
13 checks passed
@aaronskiba aaronskiba deleted the dependabot/bundler/integration/mail-2.8.1 branch June 3, 2024 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant