Skip to content

Conversation

@nevans
Copy link
Collaborator

@nevans nevans commented Oct 16, 2025

Net::IMAP has mixed in OpenSSL::SSL since it first added TLS support. But that isn't very helpful, and it clutters up the namespace with irrelevant constants.

I doubt anyone is actually using OpenSSL constants from Net::IMAP. I hope not. Nevertheless, this is a breaking change.

These worked because `Net::IMAP` included `OpenSSL::SSL`.  But we're
going to stop doing that.
`Net::IMAP` has mixed in `OpenSSL::SSL` since it first added TLS
support.  But that isn't very helpful, and it clutters up the namespace
with irrelevant constants.

I doubt anyone is actually _using_ OpenSSL constants from Net::IMAP.  I
hope not.  Nevertheless, this is a breaking change.
@nevans nevans added this to the v0.6 milestone Oct 16, 2025
@nevans nevans added the breaking-change Breaking change to publicly documented API label Oct 16, 2025
@nevans nevans requested a review from shugo October 16, 2025 15:19
@nevans
Copy link
Collaborator Author

nevans commented Oct 16, 2025

@shugo Any objections to this?

@nevans nevans merged commit 8804470 into master Oct 16, 2025
39 checks passed
@nevans nevans deleted the do-not-mixin-openssl-module branch October 16, 2025 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change Breaking change to publicly documented API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants