Skip to content

Releases: djc/tokio-imap

imap-proto 0.7.0

07 Dec 21:32
@djc djc
Compare
Choose a tag to compare
  • Make LIST/LSUB delimiters optional (fixes #33)
  • Add support for RFC822.TEXT (fixes #32)
  • Merge LSUB and LIST response types (thanks to @jonhoo)

tokio-imap 0.4.0

06 Nov 09:15
@djc djc
Compare
Choose a tag to compare

tokio-imap hasn't gotten a lot of attention, but here is a release with accumulated small improvements and fixes. The motivating issue for this release was a fix to remove unsafe API:

  • Improve safety for unsafe use of transmute (fixes #30, thanks to @ExpHP for reviewing). tokio-imap has one instance of unsafe to build an efficient and ergonomic response type. Unfortunately this code exposed a field as public that shouldn't have been, making it possible to cause invalid data. Normal usage of the API should still be safe, but everyone is advised to upgrade to this release.

Other changes:

  • Some minor API changes to make the API easier to use
  • Added a basic example (thanks to @sanmai-NL!)
  • Upgraded to latest tokio and native-tls releases and fixed resulting deprecations

imap-proto 0.6.0

22 Oct 12:43
@djc djc
Compare
Choose a tag to compare

Unfortunately the new StatusAttribute::HighestModSeq value type was wrong in the 0.5.0 release, so here's a follow-up release with a higher minor version number to prevent any confusion. Sorry for the inconvenience!

  • Correct HighestModSeq type to u64 (thanks to @dario23 for #29)

imap-proto 0.5.0

21 Oct 11:54
@djc djc
Compare
Choose a tag to compare

This is a new minor release version due to an added enum variant in StatusAttribute and the upgrade to nom 4 (which affects error types for parsing). Otherwise, the API is unchanged from before.

  • Add support for HIGHESTMODSEQ status attributes to improve compatibility with Dovecot server (#28, thanks to @dario23)
  • Made the parser slightly more lenient to improve compatibility with the DavMail server (#25, thanks to @vandenoever)
  • Upgrade to nom 4.0 (#22, thanks to @theduke for taking care of this)
  • Improved handling of INBOX folder names

imap-proto 0.4.1

21 Oct 11:47
@djc djc
Compare
Choose a tag to compare
  • Implement support for RFC822.HEADER (see #11)

imap-proto 0.4.0

27 Apr 11:15
@djc djc
Compare
Choose a tag to compare

The imap-proto crate has been merged into the tokio-imap repository (again). To be precise, tokio-imap commit 4a024f3 merges the imap-proto code as of 522f84d. The later commit 4ecd2f5 was merged in 09848b9.

  • Add parsing for SEARCH response returning a Vector of IDs (#19)
  • Add basic support for continuation responses
  • Add support for STATUS responses
  • Return parser errors instead of panicking for invalid strings