---
title: "net-imap 0.6.0 Breaking Changes on RubyGems | Since.dev"
description: "What each net-imap release removed, renamed or changed: 31 breaking changes in 4 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/net-imap
last_updated: 2026-12-04
---

# net-imap breaking changes

net-imap 0.6.0 (December 15, 2025) is its newest release with breaking changes, 10 of them. The first: Removed MessageSet. Every breaking API change we have recorded in net-imap on RubyGems: 31 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.6.8`. [Source repository](https://github.com/ruby/net-imap)

Its 0.5.0 release requires [Ruby 3.1](https://since.dev/calendar/ruby/3.1.md) or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.3.0](#v-0-3-0) to [0.6.0](#v-0-6-0): 30 breaking changes in 3 versions.

## net-imap 0.6.0 breaking changes

net-imap 0.6.0, released December 15, 2025: 10 breaking changes.

- **Removed** `MessageSet`  

Use SequenceSet instead. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.6.0)
- **Removed** `Net.IMAP.Config`  

Ruby 3.2 or later is now required. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.6.0)
- **Removed** `Net.IMAP.VerifyCallbackProc`  

The undocumented automatic assignment is gone; use the verify_callback option instead. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.6.0)
- **Removed** `OpenSSL`  

OpenSSL and OpenSSL::SSL are no longer included into Net::IMAP, so code using OpenSSL constants through that namespace must reference them directly. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.6.0)
- **Removed** `UIDPlusData`  

AppendUIDData or CopyUIDData is returned instead. Update code that references UIDPlusData. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.6.0)
- **Behavior changed**  

Data subclasses now dump with a ruby/data tag, so YAML dumped by earlier versions may not load correctly. Psych 5.2.5 or later is required. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.6.0)
- **Behavior changed** `Net.IMAP.SequenceSet.size`  

Previously size was an alias for count. Now size counts ordered list entries including duplicates, and \* is treated as a non-unique value. Use count or cardinality for the old distinct-set counts. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.6.0)
- **Default changed** `Net.IMAP.Config.responses_without_block`  

The default for responses_without_block is now :frozen_dup instead of :warn. Code relying on the old warning default must set the option explicitly if it needs the old behavior. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.6.0)
- **Default changed** `parser_max_deprecated_uidplus_data_size`  

The default changed from 100 to 0, and the option is deprecated. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.6.0)
- **Default changed** `parser_use_deprecated_uidplus_data`  

The default changed from :up_to_max_size to false, and the option is deprecated. Parser results for APPENDUID and COPYUID now use the new data classes. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.6.0)

## net-imap 0.5.0 breaking changes

net-imap 0.5.0, released October 16, 2024: 8 breaking changes.

- **Removed** `BodyType structs`  

The BodyType structs deprecated in v0.4.0 have been removed. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.5.0)
- **Removed** `client_thread`  

The deprecated #client_thread reader is gone; stop calling it. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.5.0)
- **Removed** `MessageSet`  

Sequence arguments to search, fetch, store, copy, move and related methods now use SequenceSet instead of MessageSet. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.5.0)
- **Behavior changed** `HEADER.FIELDS`  

Quoted header field names from servers are parsed unquoted, so code looking up the quoted form must use the unquoted name. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.5.0)
- **Behavior changed** `SequenceSet`  

Set inputs may only contain integers and "\*" or :\*, and other enumerables are converted only if they implement to_sequence_set. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.5.0)
- **Default changed**  

Default configuration values changed for the v0.5 release. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.5.0)
- **Configuration changed**  

The gem now requires Ruby 3.1 or later; Ruby 2.7 and 3.0 are no longer supported. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.5.0)
- **Configuration changed** `config.enforce_logindisabled`  

Login is refused when the server advertises LOGINDISABLED; set config.enforce_logindisabled to :when_capabilities_cached or false to work around buggy servers. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.5.0)

## net-imap 0.4.0 breaking changes

net-imap 0.4.0, released October 4, 2023: 12 breaking changes.

- **Removed**  

Ruby 2.6 is no longer supported and the gem requires Ruby 2.7.3. Users on Ruby 2.6 must upgrade their Ruby version. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.4.0)
- **Behavior changed** `expunge`  

When the server sends no responses, expunge returns an empty array instead of nil. Update code that checks for nil. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.4.0)
- **Behavior changed** `extension`  

The extension attribute on BODYSTRUCTURE structs no longer includes the location. Read it from BodyStructure#location instead. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.4.0)
- **Behavior changed** `fetch`  

When the server sends no responses, fetch returns an empty array instead of nil. Update code that checks for nil. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.4.0)
- **Behavior changed** `getquota`  

When the server sends no responses, getquota returns an empty array instead of nil. Update code that checks for nil. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.4.0)
- **Behavior changed** `list`  

When the server sends no responses, list returns an empty array instead of nil. Update code that checks for nil. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.4.0)
- **Behavior changed** `lsub`  

When the server sends no responses, lsub returns an empty array instead of nil. Update code that checks for nil. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.4.0)
- **Behavior changed** `store`  

When the server sends no responses, store returns an empty array instead of nil. Update code that checks for nil. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.4.0)
- **Behavior changed** `uid_expunge`  

When the server sends no responses, uid_expunge returns an empty array instead of nil. Update code that checks for nil. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.4.0)
- **Behavior changed** `uid_fetch`  

When the server sends no responses, uid_fetch returns an empty array instead of nil. Update code that checks for nil. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.4.0)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## net-imap 0.3.0 breaking changes

net-imap 0.3.0, released September 28, 2022: 1 breaking change.

- **Behavior changed**  

Using a deprecated SASL mechanism now emits a warning. Code that relies on those mechanisms should switch to a supported one. [github.com](https://github.com/ruby/net-imap/releases/tag/v0.3.0)

## Related packages

- [net-http](https://since.dev/packages/gem/net-http.md)
- [net-smtp](https://since.dev/packages/gem/net-smtp.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
