Skip to content

Commit 97c480c

Browse files
committed
php-imap core updated to v2.4
1 parent c9a872c commit 97c480c

File tree

2 files changed

+42
-1
lines changed

2 files changed

+42
-1
lines changed

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,47 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
1515
- NaN
1616

1717

18+
## [2.4.0] - 2021-01-09
19+
### Fixed
20+
- Attachment::save() return error 'A facade root has not been set'
21+
- Unused dependencies removed
22+
- Fix PHP 8 error that changes null back in to an empty string. (thanks @mennovanhout)
23+
- Fix regex to be case insensitive (thanks @mennovanhout)
24+
- Debug line position fixed
25+
- Handle incomplete address to string conversion
26+
- Configured message key gets overwritten by the first fetched message
27+
- Get partial overview when `IMAP::ST_UID` is set
28+
- Unnecessary "'" removed from address names
29+
- Folder referral typo fixed
30+
- Legacy protocol fixed
31+
- Treat message collection keys always as strings
32+
- Missing RFC attributes added
33+
- Set the message sequence when idling
34+
- Missing UID commands added
35+
36+
### Added
37+
- Configurable supported default flags added
38+
- Message attribute class added to unify value handling
39+
- Address class added and integrated
40+
- Alias `Message::attachments()` for `Message::getAttachments()` added
41+
- Alias `Message::addFlag()` for `Message::setFlag()` added
42+
- Alias `Message::removeFlag()` for `Message::unsetFlag()` added
43+
- Alias `Message::flags()` for `Message::getFlags()` added
44+
- New Exception `MessageFlagException::class` added
45+
- New method `Message::setSequenceId($id)` added
46+
- Optional Header attributizion option added
47+
- Get a message by its message number
48+
- Get a message by its uid
49+
50+
### Breaking changes
51+
- Stringified message headers are now separated by ", " instead of " ".
52+
- All message header values such as subject, message_id, from, to, etc now consists of an `Àttribute::class` instance (should behave the same way as before, but might cause some problem in certain edge cases)
53+
- The formal address object "from", "to", etc now consists of an `Address::class` instance (should behave the same way as before, but might cause some problem in certain edge cases)
54+
- When fetching or manipulating message flags a `MessageFlagException::class` exception can be thrown if a runtime error occurs
55+
- Learn more about the new `Attribute` class here: [www.php-imap.com/api/attribute](https://www.php-imap.com/api/attribute)
56+
- Learn more about the new `Address` class here: [www.php-imap.com/api/address](https://www.php-imap.com/api/address)
57+
- Folder attribute "referal" is now called "referral"
58+
1859
## [2.3.0] - 2020-12-21
1960
### Fixed
2061
- Missing env variable `IMAP_AUTHENTICATION` added

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"ext-mbstring": "*",
2727
"ext-iconv": "*",
2828
"ext-fileinfo": "*",
29-
"webklex/php-imap": "^2.3",
29+
"webklex/php-imap": "^2.4",
3030
"laravel/framework": ">=5.0.0"
3131
},
3232
"autoload": {

0 commit comments

Comments
 (0)