Skip to content

Commit

Permalink
Apply ESP32 Client.h Arduino API breaking fix issue #370
Browse files Browse the repository at this point in the history
  • Loading branch information
mobizt committed Jan 9, 2025
1 parent 30a49c2 commit b95f678
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ESP Mail Client",
"version": "3.4.23",
"version": "3.4.24",
"keywords": "communication, email, imap, smtp, esp32, esp8266, samd, arduino",
"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.",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name=ESP Mail Client

version=3.4.23
version=3.4.24

author=Mobizt

Expand Down
4 changes: 2 additions & 2 deletions src/ESP_Mail_Client_Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#ifndef ESP_MAIL_VERSION

#define ESP_MAIL_VERSION "3.4.23"
#define ESP_MAIL_VERSION_NUM 30423
#define ESP_MAIL_VERSION "3.4.24"
#define ESP_MAIL_VERSION_NUM 30424

/* The inconsistent file version checking to prevent mixed versions compilation. */
//#define VALID_VERSION_CHECK(ver) (ver == ESP_MAIL_VERSION_NUM)
Expand Down
4 changes: 2 additions & 2 deletions src/client/SSLClient/ESP_SSLClient.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
*
* The ESP SSL Client Class, ESP_SSLClient.h v2.1.13
* The ESP SSL Client Class, ESP_SSLClient.h v2.1.16
*
* Created December 5, 2024
* Created January 9, 2025
*
* The MIT License (MIT)
* Copyright (c) 2023 K. Suwatchai (Mobizt)
Expand Down
4 changes: 2 additions & 2 deletions src/client/SSLClient/client/BSSL_SSL_Client.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* BSSL_SSL_Client library v1.0.18 for Arduino devices.
* BSSL_SSL_Client library v1.0.19 for Arduino devices.
*
* Created December 5, 2024
* Created January 9, 2025
*
* This work contains codes based on WiFiClientSecure from Earle F. Philhower and SSLClient from OSU OPEnS Lab.
*
Expand Down
7 changes: 4 additions & 3 deletions src/client/SSLClient/client/BSSL_SSL_Client.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* BSSL_SSL_Client library v1.0.18 for Arduino devices.
* BSSL_SSL_Client library v1.0.19 for Arduino devices.
*
* Created December 5, 2024
* Created January 9, 2025
*
* This work contains codes based on WiFiClientSecure from Earle F. Philhower and SSLClient from OSU OPEnS Lab.
*
Expand Down Expand Up @@ -47,7 +47,8 @@
#endif

#if defined(ESP_ARDUINO_VERSION) /* ESP32 core >= v2.0.x */
#if ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(3, 1, 0)
// ESP32 Client.h Arduino API breaking fix only for ESP32 Arduino Core v3.1.0
#if ESP_ARDUINO_VERSION == ESP_ARDUINO_VERSION_VAL(3, 1, 0)
#define ESP32_ARDUINO_CORE_CLIENT_CONNECT_OVERRIDE override;
#define ESP32_ARDUINO_CORE_CLIENT_CONNECT_HAS_TMO
#else
Expand Down

0 comments on commit b95f678

Please sign in to comment.