Skip to content

Commit a804e8e

Browse files
committed
bump version to 2.7.0
1 parent 8a261ad commit a804e8e

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121
"type": "git",
2222
"url": "https://github.com/Links2004/arduinoWebSockets.git"
2323
},
24-
"version": "2.6.1"
24+
"version": "2.7.0"
2525
}

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=WebSockets
2-
version=2.6.1
2+
version=2.7.0
33
author=Markus Sattler
44
maintainer=Markus Sattler
55
sentence=WebSockets for Arduino (Server + Client)

src/WebSocketsClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ void WebSocketsClient::messageReceived(WSclient_t * client, WSopcode_t opcode, u
525525
void WebSocketsClient::clientDisconnect(WSclient_t * client) {
526526
bool event = false;
527527

528-
#if(WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266) || (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP32) || (WEBSOCKETS_NETWORK_TYPE == NETWORK_RP2040) || (WEBSOCKETS_NETWORK_TYPE == NETWORK_CUSTOM)
528+
#ifdef HAS_SSL
529529
if(client->isSSL && client->ssl) {
530530
if(client->ssl->connected()) {
531531
client->ssl->flush();

src/WebSocketsVersion.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @file WebSocketsVersion.h
3-
* @date 06.09.2024
3+
* @date 13.08.2025
44
* @author Markus Sattler
55
*
66
* Copyright (c) 2015 Markus Sattler. All rights reserved.
@@ -25,12 +25,12 @@
2525
#ifndef WEBSOCKETSVERSION_H_
2626
#define WEBSOCKETSVERSION_H_
2727

28-
#define WEBSOCKETS_VERSION "2.6.1"
28+
#define WEBSOCKETS_VERSION "2.7.0"
2929

3030
#define WEBSOCKETS_VERSION_MAJOR 2
31-
#define WEBSOCKETS_VERSION_MINOR 6
32-
#define WEBSOCKETS_VERSION_PATCH 1
31+
#define WEBSOCKETS_VERSION_MINOR 7
32+
#define WEBSOCKETS_VERSION_PATCH 0
3333

34-
#define WEBSOCKETS_VERSION_INT 2006001
34+
#define WEBSOCKETS_VERSION_INT 2007000
3535

3636
#endif /* WEBSOCKETSVERSION_H_ */

travis/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def get_library_json_version():
7373

7474
def get_header_versions():
7575
data = {}
76-
define = re.compile('^#define WEBSOCKETS_VERSION_?(.*) "?([0-9\.]*)"?$')
76+
define = re.compile('^#define WEBSOCKETS_VERSION_?(.*) "?([0-9\\.]*)"?$')
7777
with open(f'{base_dir}/src/WebSocketsVersion.h', 'r') as f:
7878
for line in f:
7979
m = define.match(line)

0 commit comments

Comments
 (0)