mailthon
mailthon copied to clipboard
0.2.0 preview
:tada: The preview of the second version of mailthon is out. :tada: This version includes many breaking changes:
- Changed
Postman
semantics. -
Session
objects. - Better
SendmailResponse
andResponse
classes/wrappers. - Much improved test suite
- Redesigned
Envelope
andEnclosure
objects. - Middlewares are now rightfully closures.
- Overall architecture that prefers composition over inheritance.
If you're using the high level API nothing should break. But if you're using the lower level API then I'm sorry for breaking your code, but it's all in the name of progress. Any feedback, positive or negative on the latest changes are welcome.
At the moment, no docs are available but the code is fairly straightforward. 😅 I am looking for feedback to help polish the API and then document it. A list of features I would like to implement in the future, once the API is nailed down:
- Embed/require harlequin. Separating the protocol layer from the IO will be a massive help for maintainability, similar to how Werkzeug is to Flask.
- Another round of refactoring to remove unused things.
- More user friendly documentation.
- Integrate hypothesis into testing (if possible)
I apologise for not updating/maintaining the library as frequently as I should, I've been bogged down by A-levels, but I've finally found the time and energy to give it a final push. With that being said I am looking for collaborators to help lessen the load.