ruby / net-imap

Ruby client api for Internet Message Access Protocol
https://ruby.github.io/net-imap
Other
62 stars 29 forks source link

✨ Add support for the `CONDSTORE` extension (RFC7162) #236

Closed nevans closed 11 months ago

nevans commented 12 months ago

NOTE: Both #search and #uid_search have been updated to return SearchResult rather than Array. SearchResult inherits from Array, for backward compatibility.

Similarly, the MODIFIED response code on the tagged response to #store and #uid_store is currently only accessible by using a response handler: response code data on tagged responses isn't saved to #responses. Unlike with the search methods returning SearchResult, I did not change the behavior of #store to return a new result object inheriting from Array. IMO, that change would require a backward compatibility config option and a deprecation period.