Skip to content

Releases: gen-smtp/gen_smtp

1.2.0

13 Apr 08:07
Compare
Choose a tag to compare

A lot of work has been done in this release, as it was almost a year ago since previous release. The following are the biggest changes:

Anderson Bravalheri (12):

  • Add LMTP support (#255)

Chris Wögi (5):

  • Add DKIM Ed25519 capability (#276)
  • Update .editorconfig (#287)
  • CI refactoring (#288)
  • Fix CI doc to run on master again (#289)
  • Generating docs with ExDoc instead of EDoc (#308)

Jan Uhlig (4):

  • Update Ranch dependency to >= 1.8.0 (#285)
  • Minor bugfixes and improvements (#286)
  • Enable using RSET after transaction failures in deliver/2 (#264)
  • Fix gen_smtp_client:send/3 with callback (#291)

Karolis Petrauskas (1):

  • Content type params utf8 (#235)

Malte Rohde (1):

  • Re-raise original error in mimemail:decode_header/2 (#263)

Maria Scott (3):

  • Improve Quoted-Printable encoding (#292)
  • Improve and fix header encoding (#294)
  • Improve quoted-printable decoding (#307)

Matteo (1):

  • Remove extra new line on multipart encoding (#260) (#261)

Sergey Prokhorov (26):

  • mimemail: should be able to encode whole utf8 range in headers. Fixes: #246
  • mimemail: add some property-based tests for mime encoding/decoding
  • Don't crash SMTP client when TLS is optional and we failed to handshake (#258)
  • Remove unused file with : in name. Fixes #236 (#257)
  • Merge pull request #255 from abravalheri/add-lmtp
  • mimemail: test binary attachents with proper
  • gen_smtp_client: stop filtering gen_tcp and ssl options, fixes #271
  • Merge pull request #272 from seriyps/mimemail-proper-bin-attachments
  • Merge pull request #274 from seriyps/dont-filter-socket-options
  • Always convert SMTP verbs to uppercase, even when no parameters
  • Switch to SASL subprotocol on AUTH command
  • handle_sasl always returns {ok, #state{}}
  • Merge pull request #277 from seriyps/verb-always-upper
  • Merge pull request #279 from Cantido/patch-1
  • Replace RFC-822 address-list parser with RFC-5322 (#278)
  • Add support for SMTPUTF8 extension, RFC-6531 (#280)
  • Add OTP-24 to CI (#273)
  • bugfix: when 8BITMIME extension is enabled, BODY could be "7bit" (#283)
  • Mimemail parameters fixes (#304)
  • Introduce code formatter
  • Add code formatter commit to blame-ignore file
  • Merge pull request #305 from seriyps/code-formatter
  • Use OTP logger directly; drop hut dependency (#309)

1.1.0

03 Feb 21:47
Compare
Choose a tag to compare

This is mostly a maintainance release which fixes an annoying dependency problem with ranch. Also we switched over to GH actions from Travis CI. Support for OTP 18 was dropped.

  • Fix test compilation warnings (#223)
  • Ranch dependency update (>= 1.7) (#241)
  • Speed up quoted printable encoding (#228)
  • Improve error handling for send errors (#232)
  • Improve error handling for setopts errors (#232)
  • Drop support for OTP-18
  • Drop support for Ranch below 1.6.0

1.0.0

30 Sep 09:10
44d3535
Compare
Choose a tag to compare

This releases stabilizes the gen_smtp package. Since the previous release, the following issues have been addressed:

  • Remove SP after 'MAIL FROM:' and 'RCPT TO:' (#181)
  • Fix a problem where thrown exception were not caught in send_it/2 (#195)
  • Add option for unlimited message size. (#184)
  • Suppress some warnings. (#201)
  • Fix a problem with hssmtp auth methods. (#203)
  • Change mimemail:parameters() to be a map with atom keys. Fixes #188 (#190)
  • Optionally use ranch v2 as socket acceptor (#171)
  • smtp_server: allow any TLS options when STARTTLS
  • Use hut instead of io:format/2
  • Fix missing OTP-18 function and type
  • Add handle_error/3 callback
  • Make it compatible with OTP-23; add OTP-23 to travis
  • Update rebar3 to 3.11.0

0.15.0

13 Sep 06:56
Compare
Choose a tag to compare
  • Fix listen port / connect race-condition (#170)
  • Require minimal OTP version 18 (#174)
  • Add dialyzer to travis; some xref checks stubs
  • More fine-grained typespecs in smtp_client and mimemail (#175)
  • Add smtp client error types (#175)
  • Fix typespec inet:socket_address() doesn't exist on OTP18 (#178)
  • chore(Compiler Warning): Change from crypto:rand_uniform/2 to rand:uniform/1. (#172)

0.14.0

21 May 12:13
Compare
Choose a tag to compare
  • Added missing propslist to mimetuple type (Aleksey Gureiev)
  • Fix unique_id() to be reasonably unique across node restarts, #113 (AlexSedov)
  • Remove deprecated maintainers field from app metadata (Arjan Scherpenisse)
  • Fix typo (#160)
  • Dialyzer warnings (#166)
  • Handle tcp_error and ssl_error. Fixes #56 (#167)
  • Rename 'socket' to 'smtp_socket' (#169)

0.12.0

31 May 13:54
Compare
Choose a tag to compare
  • Fix crashes of peer_name of a closed socket during session init (#120)
  • Fix a problem where combine_rfc822_addresses/1 improperly escaped certain special characters.
  • Keep all bytes of one UTF-8 char on same line (no split) (#92)
  • Relax MIME-Version header checking (#112)
  • Relax MIME-Version header checking (#97)
  • Changed default encoding to 7bit instead of base64 (#87)
  • Convert relay as string if needed (#111)
  • Connect accepts timeout via options, and keeps 5000 as default value (#119)
  • Allow setting TLS options in send() and make TLSv1.2 the default (#115)
  • Allow origin ip/port in tcp/ssl connect options (#98)

0.11.0

23 Jun 07:34
Compare
Choose a tag to compare

Arjan Scherpenisse (9):

  • 'rebar3 hex cut' destroyed the .app.src formatting
  • Merge pull request #104 from tsloughter/master
  • Merge pull request #105 from tsloughter/now_deprecated
  • Remove old rebar.test.config
  • Merge pull request #71 from fdevibe/master
  • Fix #72
  • Fix link to OpenACD project
  • Merge pull request #106 from zambal/master
  • Remove unused nowarn_deprecated_function

Fredrik de Vibe (2):

  • Throw permanent_failure when TLS fails due to non-started SSL.
  • Close socket and send QUIT also when throwing error because SSL is not started.

Tristan Sloughter (2):

  • exclude smtp_rfc822_parse.erl from hex package
  • for 18+: remove use of now, replacing with unique_integer

Vincent Siliakus (1):

  • Fix -spec's for OTP-19

0.10.0

13 May 08:25
Compare
Choose a tag to compare
  • Support for DKIM signing
  • Minimum OTP version is now R16
  • Add client Sock Options configuration "sockopts"
  • Fixes crash in AUTH when username / password is a binary.
  • Use new crypto hmac methods, remove runtime crypto check