codetriage / CodeTriage

Discover the best way to get started contributing to Open Source projects
https://www.codetriage.com
MIT License
1.38k stars 359 forks source link

Bump mail from 2.7.1 to 2.8.1 #1806

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 8 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

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)