Skip to content

Commit 8ca4854

Browse files
committed
Release information added
1 parent 1e4b8ff commit 8ca4854

File tree

2 files changed

+54
-1
lines changed

2 files changed

+54
-1
lines changed

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,59 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
1414
### Breaking changes
1515
- NaN
1616

17+
## [6.0.0] - 2025-01-17
18+
### Fixed
19+
- Legacy protocol support fixed (object to array conversion)
20+
- Header value decoding improved
21+
- Protocol exception handling improved (bad response message added)
22+
- Prevent fetching singular rfc partials from running indefinitely
23+
- Subject with colon ";" is truncated
24+
- Catching and handling iconv decoding exception
25+
- Error token length mismatch in `ImapProtocol::readResponse`
26+
- Attachment name parsing fixed (thanks @nuernbergerA)
27+
- Additional Attachment name fallback added to prevent missing attachments
28+
- Attachment id is now static (based on the raw part content) instead of random
29+
- Always parse the attachment description if it is available
30+
- Fixed date issue if timezone is UT and a 2 digit year (thanks @ferrisbuellers)
31+
- Make the space optional after a comma separator (thanks @marc0adam)
32+
- Fix bug when multipart message getHTMLBody() method returns null (thanks @michalkortas)
33+
- Fix: Improve return type hints and return docblocks for query classes (thanks @olliescase)
34+
- Fix - Query - Chunked - Resolved infinite loop when start chunk > 1 (thanks @NeekTheNook)
35+
- Attachment with symbols in filename (thanks @nuernbergerA)
36+
- Ignore possible untagged lines after IDLE and DONE commands (thanks @gazben)
37+
- Fix Empty Child Folder Error (thanks @bierpub)
38+
- Filename sanitization improved (thanks @neolip)
39+
- `Client::getFolderPath()` return null if folder is not set (thanks @arnolem)
40+
- Fix implicit marking of parameters as nullable, deprecated in PHP8.4 (thanks @campbell-m)
41+
42+
### Added
43+
- Additional timestamp formats added (thanks @esk-ap)
44+
- Attachment content hash added
45+
- IMAP STATUS command support added `Folder::status()` (thanks @InterLinked1)
46+
- Add attributes and special flags (thanks @sazanof)
47+
- Better connection check for IMAP (thanks @thin-k-design)
48+
- Config handling moved into a new class `Config::class` to allow class serialization (sponsored by elb-BIT GmbH)
49+
- Support for Carbon 3 added
50+
- Custom decoder support added
51+
- Decoding filename with non-standard encoding (thanks @grnsv)
52+
53+
### Breaking changes
54+
- `Folder::getStatus()` no longer returns the results of `EXAMINE` but `STATUS` instead. If you want to use `EXAMINE` you can use the `Folder::examine()` method instead.
55+
- `ClientManager::class` has now longer access to all configs. Config handling has been moved to its own class `Config::class`. If you want to access the config you can use the retriever method `::getConfig()` instead. Example: `$client->getConfig()` or `$message->getConfig()`, etc.
56+
- `ClientManager::get` isn't available anymore. Use the regular config accessor instead. Example: `$cm->getConfig()`
57+
- `M̀essage::getConfig()` now returns the client configuration instead of the fetching options configuration. Please use `$message->getOptions()` instead.
58+
- `Attachment::getConfig()` now returns the client configuration instead of the fetching options configuration. Please use `$attachment->getOptions()` instead.
59+
- `Header::getConfig()` now returns the client configuration instead of the fetching options configuration. Please use `$header->getOptions()` instead.
60+
- `M̀essage::setConfig` now expects the client configuration instead of the fetching options configuration. Please use `$message->setOptions` instead.
61+
- `Attachment::setConfig` now expects the client configuration instead of the fetching options configuration. Please use `$attachment->setOptions` instead.
62+
- `Header::setConfig` now expects the client configuration instead of the fetching options configuration. Please use `$header->setOptions` instead.
63+
- All protocol constructors now require a `Config::class` instance
64+
- The `Client::class` constructors now require a `Config::class` instance
65+
- The `Part::class` constructors now require a `Config::class` instance
66+
- The `Header::class` constructors now require a `Config::class` instance
67+
- The `Message::fromFile` method now requires a `Config::class` instance
68+
- The `Message::fromString` method now requires a `Config::class` instance
69+
- The `Message::boot` method now requires a `Config::class` instance
1770

1871
## [5.3.0] - Security patch - 2023-06-20
1972
### Fixed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
],
2424
"require": {
2525
"php": "^8.0.2",
26-
"webklex/php-imap": "^5.3.0",
26+
"webklex/php-imap": "^6.0.0",
2727
"laravel/framework": ">=6.0.0"
2828
},
2929
"autoload": {

0 commit comments

Comments
 (0)