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

Update net-imap 0.4.17 → 0.5.0 (major) #1661

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Oct 17, 2024

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

↗️ net-imap (indirect, 0.4.17 → 0.5.0) · Repo

Release Notes

0.5.0

What's Changed

Breaking Changes

  • 💥 Drop ruby 2.7 and 3.0 support, and require ruby 3.1 by @nevans in #276
  • 💥⚡ Simplify header-fld-name parser (backward incompatible) by @nevans in #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 #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.
  • 💥 SequenceSet input validation for Set, Array, and enumerables by @nevans in #319
    • Array inputs can still be deeply nested.
    • Set inputs can only contain integers and "*" or :*, to be consistent with SequenceSet#to_set.
    • Other Enumerables will only be converted if they implement #to_sequence_set.
  • 🔥 Remove deprecated #client_thread attr_reader by @nevans in #321
    #client_thread was deprecated by v0.4.0.
  • 🔥 Drop deprecated BodyType structs by @nevans in #323
    These structs were deprecated by v0.4.0.

Added

  • ✨ Add #extract_responses method by @nevans in #330 Also backported to v0.4.17.
  • ✨ New config option to return frozen dup from #responses by @nevans in #334 Also backported to v0.4.17.
  • 🥅 Improve SequenceSet frozen errors by @nevans in #331 Also backported to v0.4.17.
  • 📚 SequenceSet API is considered stable now by @nevans in #318
  • 🔒 Enforce LOGINDISABLED requirement by @nevans in #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 #284
    Please note that the DIGEST-MD5 SASL mechanism is insecure and deprecated.

Deprecations

  • 🔊 Warn about deprecated #responses usage by @nevans in #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 #282
    MessageSet 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 #313
    Also backported to v0.4.15.
  • 🐛 Fix #header_fld_name to handle quoted strings correctly by @taku0 in #315
    Also backported to v0.4.16.
  • 🐛 Fix SequenceSet[input] when input is a SequenceSet by @nevans in #326
    Also backported to v0.4.17.
  • 🐛 Fix Set inputs for SequenceSet by @nevans in #332
    This bug was introduced by #319, which had not been previously released.

Other Changes

  • 🔧 Update default config for v0.5 by @nevans in #305
  • ♻️ Use Integer.try_convert (new in ruby 3.1+) by @nevans in #316
  • 🗑️ Add category: :deprecated to calls to warn by @nevans in #322
  • ♻️ Extract SASL::Authenticators#normalize_name by @nevans in #309
  • 🔒 📚 Improvements and docs for SASL::ClientAdapter by @nevans in #320
  • ♻️ Use SASL::ClientAdapter by @nevans in #194

Documentation

  • 📚 Update Config rdoc for v0.5 by @nevans in #306
  • 📚 Update SASL documentation by @nevans in #308
  • 📚 SequenceSet API is considered stable now by @nevans in #318
  • 🔒 📚 Improvements and docs for SASL::ClientAdapter by @nevans in #320

Miscellaneous

  • ✅ Add a Mutex to FakeServer (for tests only) by @nevans in #317
    Also backported to v0.4.17.
  • ⬆️ Bump step-security/harden-runner from 2.8.1 to 2.9.0 by @dependabot in #311
  • ⬆️ Bump step-security/harden-runner from 2.9.0 to 2.9.1 by @dependabot in #312
  • Bump step-security/harden-runner from 2.9.1 to 2.10.1 by @dependabot in #325
  • 🔨📚 Fix rdoc => ghpages workflow by @nevans in #335
  • ✅ Fix GH action for rubygems Trusted Publishing by @nevans in #340
    Also backported to v0.4.17.
  • ✅ Setup simplecov by @nevans in #328

New Contributors

Full Changelog: v0.4.14...v0.5.0
(Note that v0.4.x releases since v0.4.14 have used the v0.4-stable branch.)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Oct 17, 2024
@danidoni danidoni merged commit 9d1d8d5 into master Oct 18, 2024
2 checks passed
@depfu depfu bot deleted the depfu/update/net-imap-0.5.0 branch October 18, 2024 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant