portagenetwork / roadmap

Developed by the the Alliance in collaboration with University of Alberta, DMP Assistant a data management planning tool, forking the DMP Roadmap codebase
MIT License
6 stars 1 forks source link

Bump mail from 2.7.1 to 2.8.1 #651

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 5 months ago

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

aaronskiba commented 3 months ago

@dependabot rebase

aaronskiba commented 1 month ago

@dependabot rebase

aaronskiba commented 1 month ago

@dependabot rebase

aaronskiba commented 1 month ago
# 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.