Changelog
*Sourced from [mail's changelog](https://github.com/mikel/mail/blob/2.7.1/CHANGELOG.rdoc).*
> == Version 2.7.1 (unreleased)
>
> Compatibility:
> * Restore LF=>CRLF conversions for properly encoded non-binary emails. (rubys)
> * Gracefully parse certain invalid Content-Type headers. (rafbm)
> * Support `x-uue` transfer encoding as uuencoding. (jkraemer)
>
> Features:
> * Expose Mail::Field#unparsed_value to read the raw field value, before parsing. (Tensho)
>
> Performance:
> * Speed up message encoding, especially with large attachments. (dalibor)
>
> Bugs:
> * Fix transfer encoding when message encoding is blank. (jakubonty, saks)
> * Fix 7bit/base64 content transfer encoding mismatch. (ahorek)
> * Fix UTF-8 attachment filename quoting. (ahorek)
> * Fix `delete_all` using a readonly IMAP connection. (kimromi)
>
>
> == Version 2.7.0 (2017-10-31)
>
> Security:
> * [#1097](https://github-redirect.dependabot.com/mikel/mail/issues/1097) – SMTP security: prevent command injection via To/From addresses. (jeremy)
>
> Features:
> * [#647](https://github-redirect.dependabot.com/mikel/mail/issues/647) – IMAP: specify IMAP server search charset with Mail.find(search_charset: 'UTF-8'). (yalab)
> * [#650](https://github-redirect.dependabot.com/mikel/mail/issues/650) - UTF-7 charset support. (johngrimes)
> * [#664](https://github-redirect.dependabot.com/mikel/mail/issues/664) - RSpec: with_html and with_text matchers. (zakkie)
> * [#723](https://github-redirect.dependabot.com/mikel/mail/issues/723) – IMAP: support `enable_starttls: true` for TLS upgrade on non-IMAPS/SSL servers. (doits)
> * [#804](https://github-redirect.dependabot.com/mikel/mail/issues/804) - Configurable SMTP open_timeout and read_timeout. (ankane)
> * [#853](https://github-redirect.dependabot.com/mikel/mail/issues/853) - `Mail::Message#set_sort_order` overrides the default message part sort order. (rafbm)
> * [#856](https://github-redirect.dependabot.com/mikel/mail/issues/856) - Added :logger delivery method. (zacholauson)
> * [#900](https://github-redirect.dependabot.com/mikel/mail/issues/900) - Support non-instance_eval builder API. Yield self to Mail.new if the provided block takes any arguments. (taavo)
> * [#1065](https://github-redirect.dependabot.com/mikel/mail/issues/1065) - Require STARTTLS using :enable_starttls. (bk2204)
> * [#1002](https://github-redirect.dependabot.com/mikel/mail/issues/1002) - Transcoding replaces invalid chars with "�" instead of discarding them. (kjg)
> * [#1053](https://github-redirect.dependabot.com/mikel/mail/issues/1053) - Ruby 2.4.0 compatibility. Fixnum+Bignum unified as Integer. (peterkovacs)
> * [#1094](https://github-redirect.dependabot.com/mikel/mail/issues/1094) - Core extensions removal: Drop `String#at`, `from`, `last` and `is_utf8?` since they are no longer used by Mail internals. (metcalf)
> * [#1095](https://github-redirect.dependabot.com/mikel/mail/issues/1095) - Core extensions removal: Drop `String#mb_chars`, `not_ascii_only?`, `constantize`, `first`, `to` to avoid monkey patching the standard library. (metcalf)
> * [#1111](https://github-redirect.dependabot.com/mikel/mail/issues/1111) - Mail::Field.parse API which deprecates calling Mail::Field.new with unparsed header fields. (jeremy)
> * [#1117](https://github-redirect.dependabot.com/mikel/mail/issues/1117) - Configurable POP3 read_timeout. (hspazio)
>
> Performance:
> * [#1059](https://github-redirect.dependabot.com/mikel/mail/issues/1059) - Switch from mime-types to mini_mime for a much smaller memory footprint. (SamSaffron)
> * [#1119](https://github-redirect.dependabot.com/mikel/mail/issues/1119) - Speed up large attachment encoding by memoizing slow ASCII-only checks. (dalibor)
>
> Compatibility:
> * [#464](https://github-redirect.dependabot.com/mikel/mail/issues/464) - Improve attachment filename detection by preferring Content-Disposition filename. (lawrencepit)
> * [#535](https://github-redirect.dependabot.com/mikel/mail/issues/535) - IMAP: fetch messages WITH IMAP FLAGS by passing a block with four args. (lawrencepit)
> * [#558](https://github-redirect.dependabot.com/mikel/mail/issues/558) - Parser: cope with unknown charsets in header fields by falling back to ASCII. (boesemar)
> ... (truncated)
Commits
- [`7c43c84`](https://github.com/mikel/mail/commit/7c43c84c16f017e0ff5e5c9962f6a1d842301ee3) 2.7.1 release
- [`870fc4f`](https://github.com/mikel/mail/commit/870fc4fbb90a70eda26e05609e07bf7cc666497d) additionally register UnixToUnix encoding as 'x-uue'
- [`19592c0`](https://github.com/mikel/mail/commit/19592c0555c699ba8d54bccd3b31483d1aff0692) IMAP: fix `delete_all` against a readonly connection
- [`1a8a477`](https://github.com/mikel/mail/commit/1a8a4770eadb5e47fd04f12aceea0292bcfc15dd) Format generated ruby files by ragel using rufo gem
- [`3f35b37`](https://github.com/mikel/mail/commit/3f35b37351cfc21f00c6086a072eac74246ec74a) Set full path of the ragel source file to rake task
- [`20482ae`](https://github.com/mikel/mail/commit/20482aec3b14853a1560551e77e6d06abc981b13) Perform `gem install bundler` to address `LoadError: cannot load such
- [`dead487`](https://github.com/mikel/mail/commit/dead487e02f592d9058fd07deedcde39b569d18d) Fix 7bit/base64 content transfer encoding mismatch
- [`58f3bbf`](https://github.com/mikel/mail/commit/58f3bbf915c9631464003c5701af1c8a35d5d8b5) 2.7.1.rc1 release candidate
- [`6a019d5`](https://github.com/mikel/mail/commit/6a019d5372c3792f32ab8423fd65f477e783856a) Restore LF line ending parsing
- [`93e811c`](https://github.com/mikel/mail/commit/93e811c791ef92cbfdceb1e11970d02530f6b8cd) Fix quote_token with frozen AS::Multibyte chars
- Additional commits viewable in [compare view](https://github.com/mikel/mail/compare/2.5.4...2.7.1)
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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/lanrion/weixin_rails_middleware/network/alerts).
Bumps mail from 2.5.4 to 2.7.1.
Changelog
*Sourced from [mail's changelog](https://github.com/mikel/mail/blob/2.7.1/CHANGELOG.rdoc).* > == Version 2.7.1 (unreleased) > > Compatibility: > * Restore LF=>CRLF conversions for properly encoded non-binary emails. (rubys) > * Gracefully parse certain invalid Content-Type headers. (rafbm) > * Support `x-uue` transfer encoding as uuencoding. (jkraemer) > > Features: > * Expose Mail::Field#unparsed_value to read the raw field value, before parsing. (Tensho) > > Performance: > * Speed up message encoding, especially with large attachments. (dalibor) > > Bugs: > * Fix transfer encoding when message encoding is blank. (jakubonty, saks) > * Fix 7bit/base64 content transfer encoding mismatch. (ahorek) > * Fix UTF-8 attachment filename quoting. (ahorek) > * Fix `delete_all` using a readonly IMAP connection. (kimromi) > > > == Version 2.7.0 (2017-10-31) > > Security: > * [#1097](https://github-redirect.dependabot.com/mikel/mail/issues/1097) – SMTP security: prevent command injection via To/From addresses. (jeremy) > > Features: > * [#647](https://github-redirect.dependabot.com/mikel/mail/issues/647) – IMAP: specify IMAP server search charset with Mail.find(search_charset: 'UTF-8'). (yalab) > * [#650](https://github-redirect.dependabot.com/mikel/mail/issues/650) - UTF-7 charset support. (johngrimes) > * [#664](https://github-redirect.dependabot.com/mikel/mail/issues/664) - RSpec: with_html and with_text matchers. (zakkie) > * [#723](https://github-redirect.dependabot.com/mikel/mail/issues/723) – IMAP: support `enable_starttls: true` for TLS upgrade on non-IMAPS/SSL servers. (doits) > * [#804](https://github-redirect.dependabot.com/mikel/mail/issues/804) - Configurable SMTP open_timeout and read_timeout. (ankane) > * [#853](https://github-redirect.dependabot.com/mikel/mail/issues/853) - `Mail::Message#set_sort_order` overrides the default message part sort order. (rafbm) > * [#856](https://github-redirect.dependabot.com/mikel/mail/issues/856) - Added :logger delivery method. (zacholauson) > * [#900](https://github-redirect.dependabot.com/mikel/mail/issues/900) - Support non-instance_eval builder API. Yield self to Mail.new if the provided block takes any arguments. (taavo) > * [#1065](https://github-redirect.dependabot.com/mikel/mail/issues/1065) - Require STARTTLS using :enable_starttls. (bk2204) > * [#1002](https://github-redirect.dependabot.com/mikel/mail/issues/1002) - Transcoding replaces invalid chars with "�" instead of discarding them. (kjg) > * [#1053](https://github-redirect.dependabot.com/mikel/mail/issues/1053) - Ruby 2.4.0 compatibility. Fixnum+Bignum unified as Integer. (peterkovacs) > * [#1094](https://github-redirect.dependabot.com/mikel/mail/issues/1094) - Core extensions removal: Drop `String#at`, `from`, `last` and `is_utf8?` since they are no longer used by Mail internals. (metcalf) > * [#1095](https://github-redirect.dependabot.com/mikel/mail/issues/1095) - Core extensions removal: Drop `String#mb_chars`, `not_ascii_only?`, `constantize`, `first`, `to` to avoid monkey patching the standard library. (metcalf) > * [#1111](https://github-redirect.dependabot.com/mikel/mail/issues/1111) - Mail::Field.parse API which deprecates calling Mail::Field.new with unparsed header fields. (jeremy) > * [#1117](https://github-redirect.dependabot.com/mikel/mail/issues/1117) - Configurable POP3 read_timeout. (hspazio) > > Performance: > * [#1059](https://github-redirect.dependabot.com/mikel/mail/issues/1059) - Switch from mime-types to mini_mime for a much smaller memory footprint. (SamSaffron) > * [#1119](https://github-redirect.dependabot.com/mikel/mail/issues/1119) - Speed up large attachment encoding by memoizing slow ASCII-only checks. (dalibor) > > Compatibility: > * [#464](https://github-redirect.dependabot.com/mikel/mail/issues/464) - Improve attachment filename detection by preferring Content-Disposition filename. (lawrencepit) > * [#535](https://github-redirect.dependabot.com/mikel/mail/issues/535) - IMAP: fetch messages WITH IMAP FLAGS by passing a block with four args. (lawrencepit) > * [#558](https://github-redirect.dependabot.com/mikel/mail/issues/558) - Parser: cope with unknown charsets in header fields by falling back to ASCII. (boesemar) > ... (truncated)Commits
- [`7c43c84`](https://github.com/mikel/mail/commit/7c43c84c16f017e0ff5e5c9962f6a1d842301ee3) 2.7.1 release - [`870fc4f`](https://github.com/mikel/mail/commit/870fc4fbb90a70eda26e05609e07bf7cc666497d) additionally register UnixToUnix encoding as 'x-uue' - [`19592c0`](https://github.com/mikel/mail/commit/19592c0555c699ba8d54bccd3b31483d1aff0692) IMAP: fix `delete_all` against a readonly connection - [`1a8a477`](https://github.com/mikel/mail/commit/1a8a4770eadb5e47fd04f12aceea0292bcfc15dd) Format generated ruby files by ragel using rufo gem - [`3f35b37`](https://github.com/mikel/mail/commit/3f35b37351cfc21f00c6086a072eac74246ec74a) Set full path of the ragel source file to rake task - [`20482ae`](https://github.com/mikel/mail/commit/20482aec3b14853a1560551e77e6d06abc981b13) Perform `gem install bundler` to address `LoadError: cannot load such - [`dead487`](https://github.com/mikel/mail/commit/dead487e02f592d9058fd07deedcde39b569d18d) Fix 7bit/base64 content transfer encoding mismatch - [`58f3bbf`](https://github.com/mikel/mail/commit/58f3bbf915c9631464003c5701af1c8a35d5d8b5) 2.7.1.rc1 release candidate - [`6a019d5`](https://github.com/mikel/mail/commit/6a019d5372c3792f32ab8423fd65f477e783856a) Restore LF line ending parsing - [`93e811c`](https://github.com/mikel/mail/commit/93e811c791ef92cbfdceb1e11970d02530f6b8cd) Fix quote_token with frozen AS::Multibyte chars - Additional commits viewable in [compare view](https://github.com/mikel/mail/compare/2.5.4...2.7.1)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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/lanrion/weixin_rails_middleware/network/alerts).