All notable changes to this project will be documented in this file.
- This library is no longer actively maintained. @chadxz no longer uses it and hasn't for years. It has been archived on Github and deprecated on NPM. No replacement is suggested. Good luck.
- #89 - @mgkha
- Added wrapper for node-imap's
removeMessageLabel
- Added wrapper for node-imap's
-
#40 - @brbeaird
- Added wrapper for node-imap's
closeBox
with support for autoExpunge - This change makes use of default parameters in javascript, which was first supported in Node.js v6. Previously this library did not explicitly specify what Node.js versions it supported, so using this opportunity to specify that and bump major version to ensure it does not inadvertently break people.
- Added wrapper for node-imap's
-
#60 - @synox
- Added
delete
which allows for deleting messages by uid.
- Added
- #53 - @u2ros
- Added support for
UUENCODE
encoded attachment part decoding.
- Added support for
- #50 - @iaarnio
- Added
ImapSimple.prototype.addBox()
andImapSimple.prototype.delBox()
as wrappers around the same-named functions in the underlying node-imap library.
- Added
- #47 - @AurisAudentis
- Added
ImapSimple.prototype.getBoxes()
as a wrapper around the same-named function in the underlying node-imap library.
- Added
Between v3.1.0 and v3.2.0 #29 was merged to remove the es6-promise
library from
this package's dependencies, but was never released as it was a semver major change.
Later, #41 was merged to add a new feature. #29 had been forgotten about, and v3.2.0 (a semver-minor release) was issued for the library.
Because v3.2.0 contained breaking changes for users of the library on versions of Node that don't include Promise support, we marked it as deprecated on the npm registry and are issuing this 4.0.0 release as the current recommended version.
Sorry :(
- #41 - @jhannes
- Added wrapper function
append
on the connection object to append a message to a mailbox.
- Added wrapper function
- #19 - @redpandatronicsuk
- Added wrapper functions to add and delete flags from messages.
- Added event listeners and corresponding options for listening for receiving new mails, message updates (such as flag changes) and external message delete events.
- Added
seqno
property to retrieved messages, so the message can be correlated to received events.
- The ConnectionTimeoutError previously had its name set to 'BaseUrlNotSetError'. This version fixes that, but since the error was part of the library's public API and the name is technically something people could code against, the version has received a major bump.
Updated dependencies.
- The
es6-promise
module has changed its scheduler fromsetImmediate()
tonextTick()
on Node 0.10. This directly affects this module's promise API, so the major version has been bumped to indicate this. See the es6-promise changelog for more details about the change.
- #15 - @johnkawakami - Parts of an email with 'BINARY' encoding will now be decoded as such.
- #11 - @nytr0gen - Library will now reject properly when a close or end event is received when trying to connect.
- #10 - @tuomastanner - fixed issue with decoding utf8 parts, specifically with respect to interacting with gmail.
- #9 - @bvschwartz -
getPartData
is now using iconv-lite to automatically decode message parts with an '8BIT' encoding, with a default 'utf-8' encoding set.
- #7 - @srinath-imaginea -
fetchOptions
is now properly passed when using the callback api ofsearch()
- #5 - @jbilcke - fixed incompatible use of all upper-case encoding name, instead of treating the encoding as case-insensitive.
- added
addMessageLabel
andmoveMessage
wrapper methods to ImapSimple class
- added
getParts
to module export andgetPartData
to ImapSimple class
- fixed strange bug where header was sometimes not being parsed
- fixed property used to determine whether an error was an authTimeout
- fixed
connect()
optionimap.authTimeout
default not being properly set.
- removed
options.connectTimeout
. Support has remained for backwards compatibility, but the recommended option for setting a connection timeout moving forward isoptions.imap.authTimeout
. Support foroptions.connectTimeout
will be removed on the next major release.
- made
ImapSimple
an event emitter
- Put ECONNRESET error in better place, and only ignored error when calling .end()
- 'ready' and 'error' event handlers will now only fire once when connecting
- Put in basic fix for ECONNRESET error when calling .end()
- added .end() method to
ImapSimple
for disconnecting from imap server
- Initial commit.
For more information about keeping a changelog, check out keepachangelog.com/