Skip to content

Commit

Permalink
release v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-virkus committed Apr 7, 2021
1 parent 0e21e48 commit 131e3a3
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 8 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# 1.1.0
- Thanks to [A.Zulli](https://github.com/azulli) the `UNSELECT` IMAP command of [rfc3691](https://tools.ietf.org/html/rfc3691) is now supported with `ImapClient.unselectMailbox()`.
- Support [THREAD](https://tools.ietf.org/html/rfc5256) IMAP Extension with `ImapClient.threadMessages()` and `uidThreadMessage()` as well as the high level API `MailClient.fetchThreads()` and `fetchThreadData()`, the latter can set the `MimeMessage.threadSequence` automatically. #44
- Access embedded `message/rfc822` messages using `mimePart.decodeContentMessage()`. #138
- Added `SearchQueryType.toOrFrom` to easily search for recipients or senders of a message.
- All Mailbox commands now return the mailbox in question, not the currently selected mailbox.
- Improve automatic reconnects in high level `MailClient` API.
- Added high level OAuth login option and `MailAccount.fromDiscoveredSettingsWithAuth()` for easy setup. #137
- Appending a message will now return the new UID of that message.
- Continue editing a draft easily by calling `MessageBuilder prepareFromDraft(MimeMessage draft)`.
- You now easier load the next page of of search using `MailClient.searchMessagesNextPage(MailSearchResult)`.
- Improve null-safety.
- Breaking API changes:
- To align with Dart APIs, `MessageSequence.isEmpty` and `isNotEmpty` are now getters and not methods anymore. So instead of `if (sequence.isEmpty())` please now use `if (sequence.isEmpty)`, etc.
- Date headers are always decoded to local time. Instead of `mimeMessage.decodeDate().toLocal()` now just call `mimeMessage.decodeDate()`.
- High level API `MailSearchResult` has been refactored to use `PagedMessageSequence`.

# 1.0.0
- `enough_mail` is now [null safe](https://dart.dev/null-safety/tour) #127
- Support `zulu` timezone in date decoding #132
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Add this dependency your pubspec.yaml file:

```
dependencies:
enough_mail: ^1.0.0
enough_mail: ^1.1.0
```
The latest version or `enough_mail` is [![enough_mail version](https://img.shields.io/pub/v/enough_mail.svg)](https://pub.dartlang.org/packages/enough_mail).

Expand Down Expand Up @@ -253,7 +253,8 @@ The following IMAP extensions are supported:
*[QUOTA](https://tools.ietf.org/html/rfc2087)
*[IMAP Support for UTF-8](https://tools.ietf.org/html/rfc6855)
*[ESEARCH](https://tools.ietf.org/html/rfc4731)
* ✅ SORT command of [SORT and THREAD](https://tools.ietf.org/html/rfc5256)
*[SORT and THREAD](https://tools.ietf.org/html/rfc5256)
*[UNSELECT](https://tools.ietf.org/html/rfc3691))
* ✅ ESORT and PARTIAL from [Contexts](https://tools.ietf.org/html/rfc5267)
* ✅ List extensions ([rfc5258](https://tools.ietf.org/html/rfc5258), [rfc5819](https://tools.ietf.org/html/rfc5819), [rfc6154](https://tools.ietf.org/html/rfc6154))

Expand Down
12 changes: 6 additions & 6 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: enough_mail
description: IMAP, POP3 and SMTP for email developers. Choose between a low level and a high level API for mailing. Parse and generate MIME messages. Discover email settings.
version: 1.0.0
version: 1.1.0
homepage: https://github.com/Enough-Software/enough_mail

environment:
Expand All @@ -9,11 +9,11 @@ environment:
dependencies:
pedantic: ^1.11.0
event_bus: ^2.0.0
crypto: ^3.0.0
encrypt: ^5.0.0-beta.1
pointycastle: ^3.0.0-nullsafety.2
basic_utils: ^3.0.0-nullsafety.0
xml: ^5.0.2
crypto: ^3.0.1
encrypt: ^5.0.0
pointycastle: ^3.0.1
basic_utils: ^3.0.0-nullsafety.3
xml: ^5.1.0
intl: ^0.17.0
enough_serialization: ^1.3.0
#path: ../enough_serialization
Expand Down

0 comments on commit 131e3a3

Please sign in to comment.