From 3d2629898db4cd8f9460b0558e84987e696d6a43 Mon Sep 17 00:00:00 2001 From: Suwatchai K Date: Thu, 9 Jan 2025 10:14:47 +0700 Subject: [PATCH] Apply ESP32 Client.h Arduino API breaking fix --- library.json | 2 +- library.properties | 2 +- src/client/SSLClient/ESP_SSLClient.h | 6 +++--- src/client/SSLClient/client/BSSL_SSL_Client.cpp | 4 ++-- src/client/SSLClient/client/BSSL_SSL_Client.h | 7 ++++--- src/core/Firebase_Client_Version.h | 4 ++-- 6 files changed, 13 insertions(+), 12 deletions(-) diff --git a/library.json b/library.json index f5a1de83..19e5ff87 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "Firebase Arduino Client Library for ESP8266 and ESP32", - "version": "4.4.16", + "version": "4.4.17", "keywords": "communication, REST, esp32, esp8266, arduino", "description": "The library supports Firebase products e.g. Realtime database, Cloud Firestore database, Firebase Storage and Google Cloud Storage, Cloud Functions for Firebase and Cloud Messaging. The library also supported other Arduino devices using Clients interfaces e.g. WiFiClient, EthernetClient, and GSMClient.", "repository": { diff --git a/library.properties b/library.properties index 81b5366c..1e762067 100644 --- a/library.properties +++ b/library.properties @@ -1,6 +1,6 @@ name=Firebase Arduino Client Library for ESP8266 and ESP32 -version=4.4.16 +version=4.4.17 author=Mobizt diff --git a/src/client/SSLClient/ESP_SSLClient.h b/src/client/SSLClient/ESP_SSLClient.h index c5462b88..0906880a 100644 --- a/src/client/SSLClient/ESP_SSLClient.h +++ b/src/client/SSLClient/ESP_SSLClient.h @@ -1,11 +1,11 @@ /** * - * 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) + * Copyright (c) 2025 K. Suwatchai (Mobizt) * * * Permission is hereby granted, free of charge, to any person returning a copy of diff --git a/src/client/SSLClient/client/BSSL_SSL_Client.cpp b/src/client/SSLClient/client/BSSL_SSL_Client.cpp index a35bee84..80e293a2 100644 --- a/src/client/SSLClient/client/BSSL_SSL_Client.cpp +++ b/src/client/SSLClient/client/BSSL_SSL_Client.cpp @@ -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. * diff --git a/src/client/SSLClient/client/BSSL_SSL_Client.h b/src/client/SSLClient/client/BSSL_SSL_Client.h index 18353e0e..03cef835 100644 --- a/src/client/SSLClient/client/BSSL_SSL_Client.h +++ b/src/client/SSLClient/client/BSSL_SSL_Client.h @@ -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. * @@ -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 diff --git a/src/core/Firebase_Client_Version.h b/src/core/Firebase_Client_Version.h index ddaf52d3..70a8acdc 100644 --- a/src/core/Firebase_Client_Version.h +++ b/src/core/Firebase_Client_Version.h @@ -1,5 +1,5 @@ #ifndef FIREBASE_CLIENT_VERSION -#define FIREBASE_CLIENT_VERSION "4.4.16" -#define FIREBASE_CLIENT_VERSION_NUM 40416 +#define FIREBASE_CLIENT_VERSION "4.4.17" +#define FIREBASE_CLIENT_VERSION_NUM 40417 #endif \ No newline at end of file