From 628b564127bd49c850312859fbc2e3bf7b88ee8c Mon Sep 17 00:00:00 2001 From: Amaury <1293565+amaury1729@users.noreply.github.com> Date: Wed, 25 Oct 2023 15:10:57 +0200 Subject: [PATCH] chore: Bump backend to 0.5.0 --- Cargo.lock | 2 +- backend/Cargo.toml | 12 ++++++++++-- backend/openapi.json | 10 +++++++--- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 57f43a825..bfecc3e48 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1890,7 +1890,7 @@ dependencies = [ [[package]] name = "reacher_backend" -version = "0.4.0" +version = "0.5.0" dependencies = [ "async-smtp", "check-if-email-exists", diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 99df0f807..9ee6f8b18 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reacher_backend" -version = "0.4.0" +version = "0.5.0" edition = "2018" license = "AGPL-3.0" publish = false @@ -16,7 +16,15 @@ openssl = { version = "0.10.57", features = ["vendored"] } sentry = "0.23" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -sqlx = { version = "0.6", features = [ "runtime-tokio-native-tls", "postgres", "uuid", "chrono", "json", "offline", "migrate" ] } +sqlx = { version = "0.6", features = [ + "runtime-tokio-native-tls", + "postgres", + "uuid", + "chrono", + "json", + "offline", + "migrate", +] } sqlxmq = "0.4" tokio = { version = "1.28", features = ["macros"] } uuid = "1.5" diff --git a/backend/openapi.json b/backend/openapi.json index 6f1fc55e9..87d9f8775 100644 --- a/backend/openapi.json +++ b/backend/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.0.0", "info": { "title": "Reacher", - "version": "0.4.*", + "version": "0.5.0", "description": "### What is Reacher?\n\nReacher is a powerful, free and open-source email verification API service. It is provided both as a SaaS and as a self-host solution.", "license": { "name": "AGPL-3.0 OR Commercial", @@ -334,6 +334,10 @@ "type": "boolean", "description": "For Yahoo email addresses, use Yahoo's API instead of connecting directly to their SMTP servers." }, + "yahoo_use_headless": { + "type": "boolean", + "description": "For Yahoo email addresses, use Yahoo's account recovery page instead of connecting directly to their SMTP servers." + }, "gmail_use_api": { "type": "boolean", "description": "For Gmail email addresses, use Gmail's API instead of connecting directly to their SMTP servers." @@ -347,8 +351,8 @@ "description": "Whether to check if a gravatar image is existing for the given email." }, "hotmail_use_headless": { - "type": "string", - "description": "For Hotmail/Outlook email addresses, use a headless navigator connecting to the password recovery page instead of the SMTP server. This assumes you have a WebDriver compatible process running, then pass its endpoint, usually http://localhost:4444. We recommend running chromedriver (and not geckodriver) as it allows parallel requests." + "type": "boolean", + "description": "For Hotmail/Outlook email addresses, use a headless navigator connecting to the password recovery page instead of the SMTP server. This assumes you have a WebDriver compatible process running at the address provided by the environment variable `RCH_WEBDRIVER_ADDR`, usually http://localhost:9515. We recommend running chromedriver (and not geckodriver) as it allows parallel requests." }, "retries": { "type": "number",