✨ Add support for the CONDSTORE extension (RFC7162)
#236
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
NOTE: Both
#searchand#uid_searchhave been updated to returnSearchResultrather thanArray.SearchResultinherits fromArray, for backward compatibility.Similarly, the
MODIFIEDresponse code on the tagged response to#storeand#uid_storeis currently only accessible by using a response handler: response code data on tagged responses isn't saved to#responses. Unlike with the search methods returningSearchResult, I did not change the behavior of#storeto return a new result object inheriting from Array. IMO, that change would require a backward compatibility config option and a deprecation period.IMAP extension supportinNet::IMAPclass rdocHIGHESTMODSEQ,NOMODSEQ,MODIFIED)ResponseCode#selectand#examinedocumentation (NOMODSEQ,HIGHESTMODSEQ)#storeand#uid_storedocumentation (MODIFIED)SequenceSetclassSTATUSparsing #225FETCHresponse withMODSEQ.FetchData(Done by ✨ Add FetchData msg-att methods and update rdoc #220.)SEARCHuntagged response* SEARCH 1 2 3 (MODSEQ 123)(Done by @shugo in 2014, by 4bad059.)SearchResultandSearchResult#modseq.SearchResult(including on#searchand#uid_search)HIGHESTMODSEQstatus attribute#statuscondstorekwarg to#select,#examine(RFC7162, CONDSTORE) #122changedsincekwarg to#fetch/#uid_fetch(RFC7162, CONDSTORE) #132(Note:
CHANGEDSINCEcan be used already, via an undocumented non-keyword argument.)unchangedsincekwarg to#store/#uid_store(RFC7162, CONDSTORE) #237