Skip to content

Commit 8e6c1d4

Browse files
committed
Prepare v0.10.0
1 parent 267d24a commit 8e6c1d4

File tree

1 file changed

+33
-7
lines changed

1 file changed

+33
-7
lines changed

CHANGES.md

+33-7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
### v0.10.0 2024-10-15 Paris (France)
2+
3+
- Be able to compose errors from sendmail packages (@dinosaure, #76)
4+
- Add the new package `sendmail-mirage` (@dinosaure, #77)
5+
- **breaking-change** Improve the `sendmail` library.
6+
7+
The sendmail library is able to send an email with or without STARTTLS. If
8+
the user gives an authentication method (with a password), we require STARTTLS
9+
in anyway. Otherwise, we return the `Encryption_required` error. By this way,
10+
the `sendmail` package does not leak such information.
11+
12+
We also separate two kind of use about `sendmail`:
13+
- the submission of an email to an authority
14+
- how send an email to its destination
15+
16+
The second is the most basic (and probably what you want). The first is useful
17+
when you want to pass through an authority (such as gmail.com or your own
18+
mail exchange server) to send an email to a destination.
19+
120
### v0.9.0 2024-09-18 Paris (France)
221

322
- Upgrade to `tls.1.0.0` (#74, @dinosaure, @hannesm)
@@ -14,7 +33,8 @@
1433

1534
### v0.7.0 2022-11-30 Paris (France)
1635

17-
- Implement the `LOGIN` mechanism when we want to send an email (@dinosaure, issued by @aronerben & @mabiede, #60, #61)
36+
- Implement the `LOGIN` mechanism when we want to send an email (@dinosaure,
37+
issued by @aronerben & @mabiede, #60, #61)
1838
- Update the codebase with `ocamlformat` (@dinosaure, #62, #64)
1939

2040
### v0.6.0 2022-01-03 Paris (France)
@@ -23,31 +43,36 @@
2343
- Properly quit if the server does not implement `STARTTLS` (@dinosaure, #51)
2444
- Add `let+` operator which manipulate `result` type (@dinosaure, #52)
2545
- Upgrade `fmt.0.8.9` (@dinosaure, #53)
26-
- Be able to pre-allocate resources when we want to send an email (@dinosaure, #54)
46+
- Be able to pre-allocate resources when we want to send an email (@dinosaure,
47+
#54)
2748

2849
### v0.5.0 2021-08-30 Paris (France)
2950

3051
- Use `Cstruct.length` instead of `Cstruct.len` (@dinosaure, #45)
31-
- Let the user to emit the end of the stream (spotted by @jsthomas, @dinosaure, review @mikonieminen, #47)
52+
- Let the user to emit the end of the stream (spotted by @jsthomas, @dinosaure,
53+
review @mikonieminen, #47)
3254

3355
### v0.4.2 2021-07-26 Paris (France)
3456

3557
- Add `Path.of_string_exn` (@dinosaure, #40)
36-
- Be resilient about 334 argument and add regression test (@dinosaure, @jsthomas, #41)
58+
- Be resilient about 334 argument and add regression test (@dinosaure,
59+
@jsthomas, #41)
3760

3861
### v0.4.1 2021-04-27 Paris (France)
3962

4063
- Upgrade to `tls.0.13.0` (#34, @dinosaure)
4164

4265
### v0.4.0 2020-11-29 Paris (France)
4366

44-
- Be resilient when we parse a replies (mirage/colombe#27, @dinosaure, review by @mikonieminen)
67+
- Be resilient when we parse a replies (mirage/colombe#27, @dinosaure, review by
68+
@mikonieminen)
4569
- **breaking changes**
4670
Rename `sendmail.tls` to `sendmail.starttls`
4771
Rename `Sendmail_with_tls` to `Sendmail_with_starttls`
4872
(mirage/colombe#28, @dinosaure, issue mirage/colombe#25)
4973
- Handle dot special character when we transmit the mail
50-
(mirage/colombe#30, @dinosaure, review by @mikonieminen, @jerben and @Julow, issue mirage/colombe#29)
74+
(mirage/colombe#30, @dinosaure, review by @mikonieminen, @jerben and @Julow,
75+
issue mirage/colombe#29)
5176

5277
`sendmail` already expects a stream which emits line per line the mail
5378
but it sanitizes now the dot character according the SMTP protocol. If
@@ -75,7 +100,8 @@
75100
- Add Received encoder/decoder
76101
- Functorize `STARTTLS` implementation
77102
- Close properly a TLS connection
78-
- Relax SMTP parser about End-Of-Line character (be compatible with `gnutls-cli`)
103+
- Relax SMTP parser about End-Of-Line character (be compatible with
104+
`gnutls-cli`)
79105
- Add tests
80106
- Clean the distribution
81107

0 commit comments

Comments
 (0)