Skip to content

4.0.0

Compare
Choose a tag to compare
@Webklex Webklex released this 19 Aug 19:05
· 251 commits to master since this release

Fixed

  • PHP dependency updated to support php v8.0 #212 #214 (thanks @freescout-helpdesk)
  • Method return and argument types added
  • Imap DONE method refactored
  • UID cache loop fixed
  • HasEvent::getEvent return value set to mixed to allow multiple event types
  • Protocol line reader changed to fread (stream_context timeout issue fixed)
  • Issue setting the client timeout fixed
  • IMAP Connection debugging improved
  • Folder::idle() method reworked and several issues fixed #170 #229 #237 #249 #258
  • Datetime conversion rules extended #189 #173

Breaking changes

  • No longer supports php >=5.5.9 but instead requires at least php v7.0.0.
  • HasEvent::getEvent returns a mixed result. Either an Event or a class string representing the event class.
  • The error message, if the connection fails to read the next line, is now empty response instead of failed to read - connection closed?.
  • The $auto_reconnect used with Folder::indle() is deprecated and doesn't serve any purpose anymore.