Skip to content

chore(deps): bump net-imap from 0.5.6 to 0.5.7 #7900

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 29, 2025

Bumps net-imap from 0.5.6 to 0.5.7.

Release notes

Sourced from net-imap's releases.

v0.5.7

What's Changed

This release adds two features to prevent unbounded memory use: the response_handlers keyword argument to Net::IMAP.new (#419) so response handlers can be added before the server can send any responses, and the max_response_size config attribute (#444).

[!NOTE] The default max_response_size is extremely high, to avoid issues with secure connections to trusted servers that are well-behaved. It can be configured more conservatively to guard against untrusted servers (for example, connecting to user-provided hostnames). It is the responsibility of net-imap users to configure their client appropriately for the server they are connecting to.

Added

Documentation

Other Changes

Miscellaneous

Full Changelog: ruby/net-imap@v0.5.6...v0.5.7

Commits
  • 364869b 🔖 Bump version to v0.5.7
  • 10137ba 🔀 Merge pull request #444 from ruby/limit-response-size
  • b6bdee2 ✨ Make max_response_size configurable
  • 0ae8576 ✨ Limit max response size to 512MiB (hard-coded)
  • b32b675 ♻️ Save ResponseReader ivars: @​buff & @​literal_size
  • d28879e 🔀 Merge pull request #433 from ruby/response_reader
  • 18bc621 ♻️ Extract ResponseReader from get_response
  • b1413c6 ✨ Customize SequenceSet YAML serialization
  • d839268 🔀 Merge pull request #429 from ruby/rational-config-versions
  • c7732e6 ♻️ Add default_proc to Config.version_defaults
  • Additional commits viewable in compare view

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 <dependency name> 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [net-imap](https://github.com/ruby/net-imap) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/ruby/net-imap/releases)
- [Commits](ruby/net-imap@v0.5.6...v0.5.7)

---
updated-dependencies:
- dependency-name: net-imap
  dependency-version: 0.5.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added Dependencies Pull requests that update a dependency file Ruby Pull requests that update Ruby code labels Apr 29, 2025
cysjonathan
cysjonathan previously approved these changes May 6, 2025
Copy link
Contributor

@cysjonathan cysjonathan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adi-herwana-nus when you're back, can you check whether this change affects our 2GB max answer size.

@cysjonathan cysjonathan self-requested a review May 6, 2025 05:35
@cysjonathan cysjonathan dismissed their stale review May 6, 2025 05:36

check impact of net-imap limit

@cysjonathan cysjonathan requested review from adi-herwana-nus and removed request for cysjonathan May 6, 2025 05:36
@adi-herwana-nus
Copy link
Contributor

when you're back, can you check whether this change affects our 2GB max answer size.

https://ruby.github.io/net-imap/Net/IMAP/Config.html#attribute-i-max_response_size

net-imap is only a dependency because of the mail library, which we are using to send our various notification emails (pushing them out using SMTP). We do not have any functionality that requires us to receive and parse any incoming emails.

Furthermore, the max response size is 512 MB, well above our current limit of 2 MB per answer.

Therefore it is very unlikely this would affect anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies Pull requests that update a dependency file Ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants