diff --git a/library.json b/library.json index 5a0d76223..3788084a9 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "Firebase Arduino Client Library for ESP8266 and ESP32", - "version": "4.4.8", + "version": "4.4.9", "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 d2451923d..6203a523d 100644 --- a/library.properties +++ b/library.properties @@ -1,6 +1,6 @@ name=Firebase Arduino Client Library for ESP8266 and ESP32 -version=4.4.8 +version=4.4.9 author=Mobizt diff --git a/src/FB_Const.h b/src/FB_Const.h index 670316e3f..3b3546741 100644 --- a/src/FB_Const.h +++ b/src/FB_Const.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Created September 14, 2023 diff --git a/src/FB_Error.h b/src/FB_Error.h index 16933705d..5240ebe2d 100644 --- a/src/FB_Error.h +++ b/src/FB_Error.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Created September 5, 2023 diff --git a/src/FB_Network.h b/src/FB_Network.h index d23d360d4..3efcb82e9 100644 --- a/src/FB_Network.h +++ b/src/FB_Network.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Created September 14, 2023 diff --git a/src/FB_Utils.h b/src/FB_Utils.h index e5cecc944..e572a1efc 100644 --- a/src/FB_Utils.h +++ b/src/FB_Utils.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * diff --git a/src/Firebase.cpp b/src/Firebase.cpp index 228a283a0..8efa0bd66 100644 --- a/src/Firebase.cpp +++ b/src/Firebase.cpp @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * The Firebase class, Firebase.cpp v1.2.8 diff --git a/src/Firebase.h b/src/Firebase.h index 998b8029c..a177c1cc1 100644 --- a/src/Firebase.h +++ b/src/Firebase.h @@ -1,7 +1,4 @@ #include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * The Firebase class, Firebase.h v1.2.8 diff --git a/src/FirebaseFS.h b/src/FirebaseFS.h index 50047f660..3bed30ae0 100644 --- a/src/FirebaseFS.h +++ b/src/FirebaseFS.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif #ifndef FirebaseFS_H #define FirebaseFS_H diff --git a/src/core/FirebaseCore.cpp b/src/core/FirebaseCore.cpp index 37dd55033..390ce860d 100644 --- a/src/core/FirebaseCore.cpp +++ b/src/core/FirebaseCore.cpp @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase Token Management class, FirebaseCore.cpp version 1.0.1 diff --git a/src/core/FirebaseCore.h b/src/core/FirebaseCore.h index 3765a1774..e5697698d 100644 --- a/src/core/FirebaseCore.h +++ b/src/core/FirebaseCore.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase Token Management class, FirebaseCore.h version 1.0.1 diff --git a/src/core/Firebase_Client_Version.h b/src/core/Firebase_Client_Version.h index 3cf7333c0..1215290c6 100644 --- a/src/core/Firebase_Client_Version.h +++ b/src/core/Firebase_Client_Version.h @@ -1,7 +1,6 @@ #ifndef FIREBASE_CLIENT_VERSION -#define FIREBASE_CLIENT_VERSION "4.4.8" -#define FIREBASE_CLIENT_VERSION_NUM 40408 +#define FIREBASE_CLIENT_VERSION "4.4.9" +#define FIREBASE_CLIENT_VERSION_NUM 40409 -/* The inconsistent file version checking to prevent mixed versions compilation. */ -#define FIREBASE_CLIENT_VERSION_CHECK(ver) (ver == FIREBASE_CLIENT_VERSION_NUM) +#define FIREBASE_CLIENT_VERSION_CHECK(ver) (true) #endif \ No newline at end of file diff --git a/src/firestore/FB_Firestore.cpp b/src/firestore/FB_Firestore.cpp index cb7e200fd..ef88eeeb7 100644 --- a/src/firestore/FB_Firestore.cpp +++ b/src/firestore/FB_Firestore.cpp @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Cloud Firestore class, Forestore.cpp version 1.2.10 diff --git a/src/firestore/FB_Firestore.h b/src/firestore/FB_Firestore.h index 22faf2f82..8dbd265a0 100644 --- a/src/firestore/FB_Firestore.h +++ b/src/firestore/FB_Firestore.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Cloud Firestore class, Forestore.h version 1.2.10 diff --git a/src/functions/FB_Functions.cpp b/src/functions/FB_Functions.cpp index 7ae040357..1922e94d0 100644 --- a/src/functions/FB_Functions.cpp +++ b/src/functions/FB_Functions.cpp @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Cloud Functions class, Functions.cpp version 1.1.26 diff --git a/src/functions/FB_Functions.h b/src/functions/FB_Functions.h index b80ddf0d4..986fa628f 100644 --- a/src/functions/FB_Functions.h +++ b/src/functions/FB_Functions.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Cloud Functions class, Functions.h version 1.1.26 diff --git a/src/functions/FunctionsConfig.cpp b/src/functions/FunctionsConfig.cpp index cb9db9555..bf7fdc680 100644 --- a/src/functions/FunctionsConfig.cpp +++ b/src/functions/FunctionsConfig.cpp @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Cloud Functions Config class, FunctionsConfig.cpp version 1.0.10 diff --git a/src/functions/FunctionsConfig.h b/src/functions/FunctionsConfig.h index 7231fb751..7c4333927 100644 --- a/src/functions/FunctionsConfig.h +++ b/src/functions/FunctionsConfig.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Cloud Functions Config class, FunctionsConfig.h version 1.0.10 diff --git a/src/functions/PocicyBuilder.cpp b/src/functions/PocicyBuilder.cpp index 110109461..18a6ec0b5 100644 --- a/src/functions/PocicyBuilder.cpp +++ b/src/functions/PocicyBuilder.cpp @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's IAM Policy Builder class, PolicyBuilder.cpp version 1.0.9 diff --git a/src/functions/PolicyBuilder.h b/src/functions/PolicyBuilder.h index 8396d1b63..aa67a9f33 100644 --- a/src/functions/PolicyBuilder.h +++ b/src/functions/PolicyBuilder.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's IAM Policy Builder class, PolicyBuilder.h version 1.0.9 diff --git a/src/gcs/GCS.cpp b/src/gcs/GCS.cpp index fe6c6e604..4a2c2eb94 100644 --- a/src/gcs/GCS.cpp +++ b/src/gcs/GCS.cpp @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Cloud Storage class, GCS.cpp version 1.2.13 diff --git a/src/gcs/GCS.h b/src/gcs/GCS.h index d281de85a..fe75bf424 100644 --- a/src/gcs/GCS.h +++ b/src/gcs/GCS.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Cloud Storage class, GCS.h version 1.2.13 diff --git a/src/message/FCM.cpp b/src/message/FCM.cpp index 96132f10a..fd7e7d8df 100644 --- a/src/message/FCM.cpp +++ b/src/message/FCM.cpp @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase Cloud Messaging class, FCM.cpp version 1.1.0 diff --git a/src/message/FCM.h b/src/message/FCM.h index 172d023ef..ec6cf4ecd 100644 --- a/src/message/FCM.h +++ b/src/message/FCM.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase Cloud Messaging class, FCM.h version 1.1.0 diff --git a/src/message/LFCM.h b/src/message/LFCM.h index 3321a5793..77129d3ac 100644 --- a/src/message/LFCM.h +++ b/src/message/LFCM.h @@ -1,9 +1,4 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif - #include #include "./mbfs/MB_MCU.h" #include "./FirebaseFS.h" diff --git a/src/rtdb/FB_RTDB.cpp b/src/rtdb/FB_RTDB.cpp index e73b4a4d9..a3873874d 100644 --- a/src/rtdb/FB_RTDB.cpp +++ b/src/rtdb/FB_RTDB.cpp @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase Realtime Database class, FB_RTDB.cpp version 2.1.1 diff --git a/src/rtdb/FB_RTDB.h b/src/rtdb/FB_RTDB.h index 554300212..2338f57c6 100644 --- a/src/rtdb/FB_RTDB.h +++ b/src/rtdb/FB_RTDB.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase Realtime Database class, FB_RTDB.h version 2.1.1 diff --git a/src/rtdb/QueryFilter.cpp b/src/rtdb/QueryFilter.cpp index bffa36e57..96d2157a5 100644 --- a/src/rtdb/QueryFilter.cpp +++ b/src/rtdb/QueryFilter.cpp @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase QueryFilter class, QueryFilter.cpp version 1.0.7 diff --git a/src/rtdb/QueryFilter.h b/src/rtdb/QueryFilter.h index 0901c5cbc..09b97db6a 100644 --- a/src/rtdb/QueryFilter.h +++ b/src/rtdb/QueryFilter.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase QueryFilter class, QueryFilter.h version 1.0.7 diff --git a/src/rtdb/QueueInfo.cpp b/src/rtdb/QueueInfo.cpp index a19d410f5..12ecde47b 100644 --- a/src/rtdb/QueueInfo.cpp +++ b/src/rtdb/QueueInfo.cpp @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase QueueInfo class, QueueInfo.cpp version 1.0.6 diff --git a/src/rtdb/QueueInfo.h b/src/rtdb/QueueInfo.h index 5646e4ce9..d351b5006 100644 --- a/src/rtdb/QueueInfo.h +++ b/src/rtdb/QueueInfo.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase QueueInfo class, QueueInfo.h version 1.0.6 diff --git a/src/rtdb/QueueManager.cpp b/src/rtdb/QueueManager.cpp index ec7ef1d06..7351d1b5b 100644 --- a/src/rtdb/QueueManager.cpp +++ b/src/rtdb/QueueManager.cpp @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase QueueManager class, QueueManager.cpp version 1.0.5 diff --git a/src/rtdb/QueueManager.h b/src/rtdb/QueueManager.h index 7fdd9c92d..be0b4f100 100644 --- a/src/rtdb/QueueManager.h +++ b/src/rtdb/QueueManager.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase QueueManager class, QueueManager.h version 1.0.5 diff --git a/src/rtdb/stream/FB_MP_Stream.cpp b/src/rtdb/stream/FB_MP_Stream.cpp index 944a4779f..09ac30555 100644 --- a/src/rtdb/stream/FB_MP_Stream.cpp +++ b/src/rtdb/stream/FB_MP_Stream.cpp @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase MultiPathStream class, FB_MP_Stream.cpp version 1.1.7 diff --git a/src/rtdb/stream/FB_MP_Stream.h b/src/rtdb/stream/FB_MP_Stream.h index 85d8a38da..d84a19687 100644 --- a/src/rtdb/stream/FB_MP_Stream.h +++ b/src/rtdb/stream/FB_MP_Stream.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase MultiPathStream class, FB_MP_Stream.h version 1.1.7 diff --git a/src/rtdb/stream/FB_Stream.cpp b/src/rtdb/stream/FB_Stream.cpp index fc3763705..a5310fcb9 100644 --- a/src/rtdb/stream/FB_Stream.cpp +++ b/src/rtdb/stream/FB_Stream.cpp @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase Stream class, FB_Stream.cpp version 1.1.8 diff --git a/src/rtdb/stream/FB_Stream.h b/src/rtdb/stream/FB_Stream.h index db74c5e29..fb39e7754 100644 --- a/src/rtdb/stream/FB_Stream.h +++ b/src/rtdb/stream/FB_Stream.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase Stream class, FB_Stream.h version 1.1.8 diff --git a/src/session/FB_Session.cpp b/src/session/FB_Session.cpp index 77f766527..dae561047 100644 --- a/src/session/FB_Session.cpp +++ b/src/session/FB_Session.cpp @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase Data class, FB_Session.cpp version 1.4.1 diff --git a/src/session/FB_Session.h b/src/session/FB_Session.h index c659bafc8..b66af0502 100644 --- a/src/session/FB_Session.h +++ b/src/session/FB_Session.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase Data class, FB_Session.h version 1.4.1 diff --git a/src/storage/FCS.cpp b/src/storage/FCS.cpp index 114b8d345..833d15fae 100644 --- a/src/storage/FCS.cpp +++ b/src/storage/FCS.cpp @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase Storage class, FCS.cpp version 1.2.13 diff --git a/src/storage/FCS.h b/src/storage/FCS.h index 44685ade1..ea007e4e6 100644 --- a/src/storage/FCS.h +++ b/src/storage/FCS.h @@ -1,7 +1,3 @@ -#include "./core/Firebase_Client_Version.h" -#if !FIREBASE_CLIENT_VERSION_CHECK(40408) -#error "Mixed versions compilation." -#endif /** * Google's Firebase Storage class, FCS.h version 1.2.13