Skip to content

Commit b95f678

Browse files
committed
Apply ESP32 Client.h Arduino API breaking fix issue #370
1 parent 30a49c2 commit b95f678

6 files changed

Lines changed: 12 additions & 11 deletions

File tree

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ESP Mail Client",
3-
"version": "3.4.23",
3+
"version": "3.4.24",
44
"keywords": "communication, email, imap, smtp, esp32, esp8266, samd, arduino",
55
"description": "Arduino E-Mail Client Library to send, read and get incoming email notification for ESP32, ESP8266 and SAMD21 devices. The library also supported other Arduino Devices using Clients interfaces e.g. WiFiClient, EthernetClient, and GSMClient.",
66
"repository": {

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name=ESP Mail Client
22

3-
version=3.4.23
3+
version=3.4.24
44

55
author=Mobizt
66

src/ESP_Mail_Client_Version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#ifndef ESP_MAIL_VERSION
55

6-
#define ESP_MAIL_VERSION "3.4.23"
7-
#define ESP_MAIL_VERSION_NUM 30423
6+
#define ESP_MAIL_VERSION "3.4.24"
7+
#define ESP_MAIL_VERSION_NUM 30424
88

99
/* The inconsistent file version checking to prevent mixed versions compilation. */
1010
//#define VALID_VERSION_CHECK(ver) (ver == ESP_MAIL_VERSION_NUM)

src/client/SSLClient/ESP_SSLClient.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
*
3-
* The ESP SSL Client Class, ESP_SSLClient.h v2.1.13
3+
* The ESP SSL Client Class, ESP_SSLClient.h v2.1.16
44
*
5-
* Created December 5, 2024
5+
* Created January 9, 2025
66
*
77
* The MIT License (MIT)
88
* Copyright (c) 2023 K. Suwatchai (Mobizt)

src/client/SSLClient/client/BSSL_SSL_Client.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* BSSL_SSL_Client library v1.0.18 for Arduino devices.
2+
* BSSL_SSL_Client library v1.0.19 for Arduino devices.
33
*
4-
* Created December 5, 2024
4+
* Created January 9, 2025
55
*
66
* This work contains codes based on WiFiClientSecure from Earle F. Philhower and SSLClient from OSU OPEnS Lab.
77
*

src/client/SSLClient/client/BSSL_SSL_Client.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* BSSL_SSL_Client library v1.0.18 for Arduino devices.
2+
* BSSL_SSL_Client library v1.0.19 for Arduino devices.
33
*
4-
* Created December 5, 2024
4+
* Created January 9, 2025
55
*
66
* This work contains codes based on WiFiClientSecure from Earle F. Philhower and SSLClient from OSU OPEnS Lab.
77
*
@@ -47,7 +47,8 @@
4747
#endif
4848

4949
#if defined(ESP_ARDUINO_VERSION) /* ESP32 core >= v2.0.x */
50-
#if ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(3, 1, 0)
50+
// ESP32 Client.h Arduino API breaking fix only for ESP32 Arduino Core v3.1.0
51+
#if ESP_ARDUINO_VERSION == ESP_ARDUINO_VERSION_VAL(3, 1, 0)
5152
#define ESP32_ARDUINO_CORE_CLIENT_CONNECT_OVERRIDE override;
5253
#define ESP32_ARDUINO_CORE_CLIENT_CONNECT_HAS_TMO
5354
#else

0 commit comments

Comments
 (0)