mirror of https://github.com/eleith/emailjs.git
4.7 KiB
4.7 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
[3.9.0] - [TBD]
Added
- support
isolatedModules
andpreserveValueImports
compilation scenarios #305
Fixed
- support
typescript@3.8.3
#307- the types change in
v3.8.0
forClient#send
&Client#sendAsync
unintentionally raised the minimumtypescript
requirement. fixing this involved weakening the types for those functions, which may require modifying your code. this change will be reverted forv4.0.0
.
- the types change in
[3.8.0] - 2022-03-17
Added
- support
typescript@4.6
- type allow
Client#send
&Client#sendAsync
to accept message headers instead of aMessage
- no behavior change: this was previously allowed, but the types didn't acknowledge it
[3.7.0] - 2021-11-19
Added
- support
typescript@4.5
[3.6.0] - 2021-09-03
Added
- support
tsc
compilation without--esModuleInterop
or--allowSyntheticDefaultImports
#296 Message#readAsync
API #297Message#checkValidity
API #298
Deprecated
Message#valid
API #298
[3.5.0] - 2021-06-28
Added
- support
tsc --noPropertyAccessFromIndexSignature
#290
Fixed
- use
engines
field inpackage.json
to signal node version support
[3.4.0] - 2020-12-01
Added
SMTPClient#sendAsync
API #267isRFC2822Date
API
Changed
- use
WeakSet
instead ofWeakMap
for greylist tracking
Fixed
- use camelCase style for internal function names
- use correct types in jsdoc comments
[3.3.0] - 2020-08-08
Added
- greylist support #202
Fixed
- check socket is writable before sending #205
[3.2.1] - 2020-06-27
Fixed
[3.2.0] - 2020-06-19
Added
addressparser
API (forked from dropped dependency) #259mimeEncode
/mimeWordEncode
APIs (forked from dropped dependency) #247
Changed
Fixed
[3.1.0] - 2020-06-19 [YANKED]
[3.0.0] - 2020-05-28
Added
- convert source to strict typescript, listed under the
types
field inpackage.json
- support "dual-package" ESM + CJS via conditional exports &
rollup
-generated bundles SMTPClient#creatMessageStack
API #229SMTPError
API
Changed
- simplify public API #249
- rename
Client
->SMTPClient
#249 - rename
SMTPResponse
->SMTPResponseMonitor
#249
Removed
Message#attach_alternative
APImakeSMTPError
API
Fixed
- filter duplicate message recipients #242
- error when passing
password
withoutuser
#199 - trim
host
before connecting #136
[2.2.0] - 2018-07-06
Added
- expose rfc2822 date module
- annotate code with typescript-compatible jsdoc tags
Changed
- drop dependency on
moment
- drop dependency on
starttls
Fixed
- ensure timeout is set to default value #225
[2.1.0] - 2018-06-09
Added
- expose error module
Changed
- handle errors with
fs.closeSync
instead offs.close
- refactor to ES2015+ constructs
- lint & format with eslint + prettier
- drop optional dependency on
bufferjs
Fixed
- remove
new Buffer
calls
[2.0.1] - 2018-02-11
Added
- a new changelog