Releases: barbushin/php-imap
Releases · barbushin/php-imap
4.1.0: Bugfixes and improvements
- #250: Fixed searchMailbox() could not search Chinese subject
- #406: Added new properties (
imapPath
andmailboxFolder
) to the incoming mail header - #416: Added new properties for mail attachments
- #490: Fixed IncomingMail->textPlain contains attachments
- #494: Fixed ConnectionException is never thown
- #496: Fixed preg_match_all() error in replaceInternalLinks and embedImageAttachments
- #499: Fixed error
imap_open(): Couldn't open stream
for mailboxes with non ASCII characters - #500: See notes regarding test cases for #499
- #501: Fixed empty Body: Exception -> Can not decode an empty string
- #509: Fixed Charset ks_c_5601-1987 not working
- #510: Added support for bitmask options
- #514: Fixed inline images returning cid:filename
- Added new automated test cases
- Fixed and improved Travis CI integration
- General code optimizations
4.0.0: Dropped end-of-life PHP version support and improved decoding
- Dropped PHP 5.6 support, as it went end-of-life (EOL) on the 31st of December, 2018: https://www.php.net/eol.php
- Dropped PHP 7.0 support, as it went end-of-life (EOL) on the 10th of January, 2019: https://www.php.net/eol.php
- Dropped PHP 7.1 support, as it went end-of-life (EOL) on the 1st of December, 2019: https://www.php.net/eol.php
- #403, #447, #479: Improved MIME decoding
- #485: Fixed ENCBASE64 decoding
- Fixed all Travis CI issues
- Updated psalm baseline
- Satisfied php-cs-fixer
- Added phpcpd to detect duplicated code
- Added phpmnd to detect magic numbers
- PHPUnit: Added and improved / updated test cases
- PR #485: Added some test cases for base64 decoding
- Fully replaced
Mailbox::convertStringEncoding()
withMailbox::decodeMimeStr()
- Improved
composer.json
- Updated README with PHP version overview
- Updated requirements in README
- Updated badges in README
- Removed not yet working OAuth code
- This and all upcoming releases contain a Travis CI LIVE mailbox test
3.1.0: General source code optimizations
- General source code optimizations (eg. deduplicated source code)
- Improved PhpUnit tests
- Coverage will be generated and uploaded now to CodeClimate
- CodeClimate and PhpCs related fixes / improvements
- Improved / Beautified composer config
- Improved TravisCI implementation
- TravisCI checks now with the stable PHP 7.4 build
- Added psalm as static analysis tool
- Fixed typehints
- Added method for multi sender search
- Added general-purpose merging search method
3.0.33: Added PHP 7.4 support and additional checks
- Added PHP 7.4 support
- #404: Added additional checks to avoid undefined property issues
3.0.32: Bug fixes and improvements
- Issue #390: Fixed, that attached HTML files got merged into the
textHtml
property - Issue #397:
convertStringEncoding()
will now always return a string and never throw an exception - Issue #398: Fixed issue, that files could not be manually (one by one) saved to disk using
saveToDisk()
- Issue #400: Fixed issue, that
empty()
returned a wrong result for strings with only whitespaces - Updated some PhpDoc comment-blocks
- Improved code of
DataPartInfo
to be more human-readable - Removed wrong
if
-condition inDataPartInfo::fetch()
- Fixed a few PhpCS warnings (eg.
Expected type X, but Y given
) - Resorted $attachment property assignments based on IncomingMailAttachment properties order
- Fixed issues reported by Travis CI
3.0.31: Improvements and bug fixes
- Improvements to the PhpDoc Tests (Thanks to @nicolus)
iconv()
inconvertStringEncoding()
triedTRANSLIT
first beforeIGNORE
(thanks to @MekDrop)- Improvements for
getCombinedPath()
andswitchMailbox()
(Thanks to @agrisvv) - Improvements for the attachments (Thanks to @twmobius)
- Fixed some incorrect thrown exceptions
- Supress
iconv()
error messages - #393: Return original string, if conversion fails
- #394: Improved error handling in
initImapStream()
- #383: Header datetime is now parsed and returned as RFC 3339 compliant format and if this is not possible, the original format will be returned
- Fixed coding standards
3.0.30: Fixed CI build issues
This release fixes only a single CI build issue, which caused the master build to fail.
3.0.29: Merge pull request #376 from nekufa/master
ContentId based attachment key calculation
3.0.28: Fixed fatal PHP 5.6 issue
- Issue #369: Removed type hinting due to PHP 5.6 support
3.0.27: Fixes incorrect parsing of multipart mails (messages)
- PR #361: Fixes "decodeMimeStr() Can not decode an empty" error when mail has no subject
- Issue #358, #364, PR #365: Flatten mail parts before parsing (Handle Gmail multipart/related way of structuring mail with attachments)
- PR #366: trim $to->personal field before decoding
- Issue #359: Updated code logic for CC, BCC, REPLY-TO to same as for TO
- Issue #360: Improved usage of property $imapPath
- Fixed coding standards