mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-09-25 11:00:54 +02:00
bump version to 2.7.0
This commit is contained in:
@@ -21,5 +21,5 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/Links2004/arduinoWebSockets.git"
|
||||
},
|
||||
"version": "2.6.1"
|
||||
"version": "2.7.0"
|
||||
}
|
@@ -1,5 +1,5 @@
|
||||
name=WebSockets
|
||||
version=2.6.1
|
||||
version=2.7.0
|
||||
author=Markus Sattler
|
||||
maintainer=Markus Sattler
|
||||
sentence=WebSockets for Arduino (Server + Client)
|
||||
|
@@ -525,7 +525,7 @@ void WebSocketsClient::messageReceived(WSclient_t * client, WSopcode_t opcode, u
|
||||
void WebSocketsClient::clientDisconnect(WSclient_t * client) {
|
||||
bool event = false;
|
||||
|
||||
#if(WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266) || (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP32) || (WEBSOCKETS_NETWORK_TYPE == NETWORK_RP2040) || (WEBSOCKETS_NETWORK_TYPE == NETWORK_CUSTOM)
|
||||
#ifdef HAS_SSL
|
||||
if(client->isSSL && client->ssl) {
|
||||
if(client->ssl->connected()) {
|
||||
client->ssl->flush();
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @file WebSocketsVersion.h
|
||||
* @date 06.09.2024
|
||||
* @date 13.08.2025
|
||||
* @author Markus Sattler
|
||||
*
|
||||
* Copyright (c) 2015 Markus Sattler. All rights reserved.
|
||||
@@ -25,12 +25,12 @@
|
||||
#ifndef WEBSOCKETSVERSION_H_
|
||||
#define WEBSOCKETSVERSION_H_
|
||||
|
||||
#define WEBSOCKETS_VERSION "2.6.1"
|
||||
#define WEBSOCKETS_VERSION "2.7.0"
|
||||
|
||||
#define WEBSOCKETS_VERSION_MAJOR 2
|
||||
#define WEBSOCKETS_VERSION_MINOR 6
|
||||
#define WEBSOCKETS_VERSION_PATCH 1
|
||||
#define WEBSOCKETS_VERSION_MINOR 7
|
||||
#define WEBSOCKETS_VERSION_PATCH 0
|
||||
|
||||
#define WEBSOCKETS_VERSION_INT 2006001
|
||||
#define WEBSOCKETS_VERSION_INT 2007000
|
||||
|
||||
#endif /* WEBSOCKETSVERSION_H_ */
|
||||
|
@@ -73,7 +73,7 @@ def get_library_json_version():
|
||||
|
||||
def get_header_versions():
|
||||
data = {}
|
||||
define = re.compile('^#define WEBSOCKETS_VERSION_?(.*) "?([0-9\.]*)"?$')
|
||||
define = re.compile('^#define WEBSOCKETS_VERSION_?(.*) "?([0-9\\.]*)"?$')
|
||||
with open(f'{base_dir}/src/WebSocketsVersion.h', 'r') as f:
|
||||
for line in f:
|
||||
m = define.match(line)
|
||||
|
Reference in New Issue
Block a user