💥⚡ Simplify header-fld-name parser (backward incompatible) by @nevans in ruby/net-imap#216
For example, HEADER.FIELDS(Content-Type) or HEADER.FIELDS("Content-Type") are semantically identical, and a server may choose to return the quoted version.
Before this change, the FetchData attr header name would be quoted if the server sent the field name quoted.
After this change, the header field names will always be unquoted by the parser, so the result will always available via fetch_data.header_fields("Content-Type") or fetch_data.attr_upcase["HEADER.FIELDS(CONTENT-TYPE)"].
💥 Replace MessageSet with SequenceSet by @nevans in ruby/net-imap#282
Most of the changes are bugfixes or allow something new to work that didn't work before. See the PR for more details.
This affects #search, #uid_search, #sort, #uid_sort, #fetch, #uid_fetch, #store, #uid_store, #copy, #uid_copy, #move, #uid_move, and #uid_expunge.
🔒 Enforce LOGINDISABLED requirement by @nevans in ruby/net-imap#307
To workaround buggy servers, config.enforce_logindisabled can be set to :when_capabilities_cached or false.
🔒 SASL DIGEST-MD5: realm, host, service_name, etc by @nevans in ruby/net-imap#284Please note that the DIGEST-MD5 SASL mechanism is insecure and deprecated.
Deprecations
🔊 Warn about deprecated #responses usage by @nevans in ruby/net-imap#97
To silence these warnings:
pass a block to #responses(supported since v0.4.0),
pass a response type to #responses for a frozen copied array (since v0.4.17),
set config.responses_without_block to :silence_deprecation_warning(since v0.4.13),
set config.responses_without_block to :frozen_dup for a frozen copy (since v0.4.17),
use #clear_responses instead (since v0.4.0),
use #extract_responses instead (since v0.4.17).
🗑️ Deprecate MessageSet by @nevans in ruby/net-imap#282MessageSet was only intended for internal use, and all internal usage has been replaced.
Fixed
🐛 Fix #send_data to send DateTime as time by @taku0 in ruby/net-imap#313Also backported to v0.4.15.
🐛 Fix #header_fld_name to handle quoted strings correctly by @taku0 in ruby/net-imap#315Also backported to v0.4.16.
🐛 Fix SequenceSet[input] when input is a SequenceSet by @nevans in ruby/net-imap#326Also backported to v0.4.17.
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)
Bumps net-imap from 0.4.17 to 0.5.0.
Release notes
Sourced from net-imap's releases.
... (truncated)
Commits
cc13c91
🔖 Bump version to v0.5.03e77349
✅ Fix GH action for rubygems Trusted Publishing5ce90bb
♻️ Use SASL::AuthenticationExchange internally943afda
✅ Setup simplecov6af826d
🔨📚 Fix rdoc => ghpages workflow0f7d264
🔀 Merge pull request #334 from ruby/responses-return-frozen_dup566e668
🔧 Set responses_without_block to frozen_dup in 0.65ac99b2
✨ Responses with no args can return frozen dup hash1a25273
✨ Responses with type can return frozen dup array1c3f43c
🔊 Update #responses deprecation messageDependabot 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