From 37b6e3d039669b4b93c6b71fc73abc353b0c466e Mon Sep 17 00:00:00 2001 From: Amaury Martiny Date: Sun, 17 Nov 2019 00:46:11 +0100 Subject: [PATCH] chore(release): 0.5.0 --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0309786cb..22c1992c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,36 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +# [](https://github.com/amaurymartiny/check_if_email_exists/compare/v0.4.0...v) (2019-11-16) + + +### Code Refactoring + +* Use futures ([#78](https://github.com/amaurymartiny/check_if_email_exists/issues/78)) ([0e1f6b0](https://github.com/amaurymartiny/check_if_email_exists/commit/0e1f6b0)) + + +### BREAKING CHANGES + +* - The main function `email_exists` now returns a Future: +```rust +pub async fn email_exists(to_email: &str, from_email: &str) -> SingleEmail {} +``` +- The `SmtpError::SmtpError` has been renamed to `SmtpError::LettreError` to show the underlying error more correctly (i.e., coming from `lettre` crate). +- The `BlockedByISP` error has been removed. Instead, you'll see e.g. `"connection refused"`, or whatever is returned by the SMTP server: +```json +{ + // ..., + "smtp": { + "error": { + "type": "LettreError", + "message": "connection refused" + } + }, +} +``` + + + # [0.4.0](https://github.com/amaurymartiny/check_if_email_exists/compare/v0.3.2...v0.4.0) (2019-09-30)