Skip to content

Latest commit

 

History

History
557 lines (433 loc) · 15.4 KB

CHANGELOG.md

File metadata and controls

557 lines (433 loc) · 15.4 KB

Changelog

All notable changes to webklex/laravel-imap will be documented in this file.

Updates should follow the Keep a CHANGELOG principles.

[UNRELEASED]

Fixed

  • NaN

Added

  • NaN

Affected Classes

  • NaN

Breaking changes

  • NaN

[1.4.3] - 2019-09-15

Fixed

  • .csv attachement is not processed #231
  • mail part structure property comparison changed to lowercase #241 #242
  • Replace helper functions for Laravel 6.0 #250 (@koenhoeijmakers)

Added

  • Path prefix option added to Client::getFolder() method #234

Affected Classes

[1.4.2] - 2019-07-02

Fixed

  • Pagination count total bug #213
  • Changed internal message move and copy methods #210
  • Query::since() query returning empty response #215
  • Carbon Exception Parse Data #45
  • Reading a blank body (text / html) but only from this sender #203

Added

  • Message::getFolder() method
  • Create a fast count method for queries #216
  • STARTTLS encryption alias added

Affected Classes

[1.4.1] - 2019-04-13

Fixed

  • Problem with Message::moveToFolder() and multiple moves #31
  • Problem with encoding conversion #203
  • Message null value attribute problem fixed
  • Client connection path handling changed to be handled inside the calling method #31

Added

  • Mailbox fetching exception added #201
  • Message::moveToFolder() fetches new Message::class afterwards #31

Affected Classes

Breaking changes

  • Message::moveToFolder() returns either a Message::class instance or null and not a boolean

[1.4.0] - 2019-03-18

Fixed

  • iconv(): error suppressor for //IGNORE added #184
  • Typo Folder attribute fullName changed to full_name
  • Query scope error fixed #153

Added

  • Message structure accessor added #182
  • Shadow Imap const class added #188
  • Connectable "NOT" queries added
  • Additional where methods added
  • Message attribute handling changed
  • Attachment attribute handling changed
  • Message flag handling updated
  • Message::getHTMLBody($callback) extended
  • Masks added (take look at the examples for more information on masks)
  • More examples added
  • Query::paginate() method added

Affected Classes

Breaking changes

  • Folder::fullName is now Folder::full_name
  • Attachment::image_src might no longer work as expected - use Attachment::getImageSrc() instead

[1.3.1] - 2019-03-12

Fixed

  • Replace embedded image with URL #151

Added

  • Imap client timeout can be modified and read #186
  • Decoder config options added #175
  • Message search criteria "NOT" added #181

Affected Classes

[1.3.0] - 2019-03-11

Fixed

  • Fix sender name in non-latin emails sent from Gmail (#155)
  • Fix broken non-latin characters in body in ASCII (us-ascii) charset #156
  • Message::getMessageId() returns wrong value #197
  • Message date validation extended #45 #192

Added

  • Invalid message date exception added

Affected Classes

[1.2.9] - 2018-09-15

Fixed

  • Removed "-i" from "iso-8859-8-i" in Message::parseBody #146

Added

  • Blade examples

Affected Classes

[1.2.8] - 2018-08-06

Fixed

  • Folder delimiter check added #137

Affected Classes

[1.2.7] - 2018-08-06

Fixed

  • Broken non-latin characters in subjects and attachments #133

Added

  • Required php extensions added to composer.json

Affected Classes

[1.2.6] - 2018-08-04

Fixed

  • Message subjects and attachment names will now be decoded with a guessed encoding #97 #107

Added

  • Expunge option added to critical imap operations

Affected Classes

[1.2.5] - 2018-07-30

Fixed

  • Fixing undefined index error if associative config array isn't properly filled #131

Affected Classes

[1.2.4] - 2018-07-26

Fixed

  • fetch_flags default set to true on all methods
  • Missing fetch_flags attribute added

Added

  • Folder::query() aliases added
  • Priority fetching added

Affected Classes

[1.2.3] - 2018-07-23

Fixed

  • Config loading fixed and moved to a custom solution
  • Set Encryption type correctly #128
  • Moving a message takes now a uid #127

Affected Classes

[1.2.2] - 2018-07-22

Fixed

  • Don't set the charset if it isn't used - prevent strange outlook mail server errors #100
  • Protocol option added -minor Fix #126

Added

  • Query extended with markAsRead() and leaveUnread() methods

Affected Classes

[1.2.1] - 2018-07-22

Added

  • WhereQuery aliases for all where methods added

Affected Classes

[1.2.0] - 2018-07-22

Fixed

  • Charset error fixed #109
  • Potential imap_close() error fixed #118
  • Plain text attachments have a content type of other/plain of text/plain #119
  • Carbon Exception Parse Data #45

Added

  • Protocol option added #124
  • Message collection key option added
  • Message collection sorting option added
  • Search Query functionality added
  • Flag collection added
  • Search methods updated

Affected Classes

[1.1.1] - 2018-05-04

Fixed

  • Force to add a space between criteria in search query, otherwise no messages are fetched. Thanks to @cent89

Added

  • Attachment::getMimeType() and Attachment::getExtension() added

Affected Classes

[1.1.0] - 2018-04-24

Fixed

  • Client::createFolder($name) fixed #91
  • Versions will now follow basic Semantic Versioning guidelines (MAJOR.MINOR.PATCH)

Added

  • Connection validation added
  • Client::renameFolder($old_name, $new_name) and Client::deleteFolder($name) methods added #91
  • Find the folder containing a message #92
  • Change all incoming encodings to iconv() supported ones #94

Affected Classes

[1.0.5.9] - 2018-04-15

Added

  • Handle Carbon instances in message search criteria #82
  • $message->getRawBody() throws Exception #88
  • Request: add getReferences method to Message class #83

Affected Classes

[1.0.5.8] - 2018-04-08

Added

  • Specify provider name when publishing the config #80
  • Enable package discovery #81

[1.0.5.7] - 2018-04-04

Fixed

  • Added option for optional attachment download #76
  • Added option for optional body download
  • Renamed "fetch" parameters
  • hasAttachment() method added

Affected Classes

[1.0.5.6] - 2018-04-03

Fixed

  • More explicit date validation statements
  • Resolving getMessage is not returning the body of the message #75

Affected Classes

[1.0.5.5] - 2018-03-28

Fixed

  • New validation rule for a new invalid date format added (Exception Parse Data #45)
  • Default config keys are now fixed (Confusing default configuration values #66)

Affected Classes

[1.0.5.4] - 2018-03-27

Fixed

  • Clear error stack before imap_close #72

Affected Classes

[1.0.5.3] - 2018-03-18

Added

  • FolderCollection::class added
  • Comments updated

Affected Classes

[1.0.5.2] - 2018-03-18

Added

  • Attachment::save() method added
  • Unnecessary methods declared deprecated

Affected Classes

[1.0.5.1] - 2018-03-16

Added

  • Message collection moved to Support
  • Attachment collection added
  • Attachment class added

Affected Classes

[1.0.5.0] - 2018-03-16

Added

  • Message search method added
  • Basic pagination added
  • Prevent automatic body parsing (will be default within the next major version (2.x))
  • Unified MessageCollection::class added
  • Several small improvements and docs added
  • Implementation of the "get raw body" pull request #59
  • Get a single message by uid

Affected Classes

[1.0.4.2] - 2018-03-15

Added

  • Support message delivery status #47

Affected Classes

[1.0.4.1] - 2018-02-14

Added

  • Enable support to get In-Reply-To property from Message header. #56

Affected Classes

[1.0.4.0] - 2018-01-28

Added

  • Set and unset flags added $oMessage->setFlag(['Seen', 'Spam']) or $oMessage->unsetFlag('Spam')
  • Get raw header string $oMessage->getHeader()
  • Get additional header information $oMessage->getHeaderInfo()

Affected Classes

[1.0.3.11] - 2018-01-01

Added

Affected Classes

[1.0.3.10] - 2018-01-01

Fixed

  • Ignore inconvertible chars in order to prevent sudden code exists

Affected Classes

[1.0.3.9] - 2017-12-03

Fixed

  • #45 DateTime::__construct(): Failed to parse time string (...)

Affected Classes

[1.0.3.8] - 2017-11-24

Fixed

  • #41 imap_expunge(): supplied resource is not a valid imap resource
  • #40 mb_convert_encoding(): Illegal character encoding specified

Affected Classes

[1.0.3.7] - 2017-11-05

Fixed

  • Fix assignment msgno to uid regardless of fetch_options is set in config
  • Disposition is checked in case of malformed mail attachments

Affected Classes

[1.0.3.6] - 2017-10-24

Added

  • A method to get only unread messages from email folders to Client::class

[1.0.3.5] - 2017-10-18

Fixed

  • Messageset issue resolved #31

Affected Classes

[1.0.3.4] - 2017-10-04

Fixed

  • E-mails parsed without a content type of multipart present no body #27
  • Do not resolve uid to msgno if using FT_UID #25

Affected Classes

[1.0.3.3] - 2017-09-22

Fixed

  • General code style and documentation

Added

Affected Classes

  • All

[1.0.3.2] - 2017-09-07

Fixed

  • Fix implode error in Client.php, beacause imap_errors() can return FALSE instead of an array

Added

  • FT_UID changed to $this->options which references to imap.options.fetch

Affected Classes

[1.0.3.1] - 2017-09-05

Added

  • getConnection method added
  • Using a bit more fail save uid / msgNo by calling imap_msgno()

Affected Classes

[1.0.3.0] - 2017-09-01

Changes

  • Carbon dependency removed

[1.0.2.12] - 2017-08-27

Added

  • Fixing text attachment issue - overwrite mail body (thx to radicalloop)

Affected Classes

[1.0.2.11] - 2017-08-25

Added

  • Attachment disposition (special thanks to radicalloop)
  • Missing method added to README.md

Affected Classes

[1.0.2.10] - 2017-08-11

Added

  • $fetch_option setter added

Affected Classes

[1.0.2.9] - 2017-07-12

Added

  • Merged configuration
  • New config parameter added
  • "Known issues" added to README.md
  • Typo fixed

Affected Classes

[1.0.2.8] - 2017-06-25

Added

  • Message attribute is now case insensitive
  • Readme file extended
  • Changelog typo fixed

Affected Classes

[1.0.2.7] - 2017-04-23

Added

  • imap_fetchheader(): Bad message number - merged
  • Changed the default options in imap_fetchbody function - merged
  • Attachment handling fixed (Plain text files are no longer ignored)
  • Optional config parameter added.
  • Readme file extended

Changes

[1.0.2.3] - 2017-03-09

Added

  • Code commented
  • A whole bunch of functions and features added. To many to mention all of them ;)
  • Readme file extended

Changes

0.0.1 - 2017-03-04

Added

  • new laravel-imap package