Skip to content

Commit

Permalink
Apply ESP32 Client.h Arduino API breaking fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mobizt committed Jan 9, 2025
1 parent 6091647 commit f54a1e1
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 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-Google-Sheet-Client",
"version": "1.4.6",
"version": "1.4.7",
"keywords": "communication, REST, esp32, esp8266, raspberrypi, arduino",
"description": "Arduino Google Sheet REST client library for Arduino devices. This library allows devices to communicate with Google Sheet API to read, edit and delete the spreadsheets",
"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-Google-Sheet-Client

version=1.4.6
version=1.4.7

author=Mobizt

Expand Down
6 changes: 3 additions & 3 deletions src/ESP_Google_Sheet_Client.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#ifndef ESP_GOOGLE_SHEET_CLIENT_VERSION
#define ESP_GOOGLE_SHEET_CLIENT_VERSION "1.4.6"
#define ESP_GOOGLE_SHEET_CLIENT_VERSION "1.4.7"
#endif

/**
* Google Sheet Client, ESP_Google_Sheet_Client.h v1.4.6
* Google Sheet Client, ESP_Google_Sheet_Client.h v1.4.7
*
* This library supports Espressif ESP8266 and ESP32 MCUs
*
* Created December 28, 2024
* Created Janauary 9, 2025
*
* The MIT License (MIT)
* Copyright (c) 2023 K. Suwatchai (Mobizt)
Expand Down
6 changes: 3 additions & 3 deletions src/client/SSLClient/ESP_SSLClient.h
Original file line number Diff line number Diff line change
@@ -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
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 f54a1e1

Please sign in to comment.