Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit cfc1c45

Browse files
authored
v1.10.0 to add new features, such as CORS
### Releases v1.10.0 1. Add new features, such as `CORS`, etc. 2. Update code and examples 3. Use `allman astyle` and add `utils` 4. Update `Packages' Patches`
1 parent 4ebf321 commit cfc1c45

35 files changed

+2231
-1209
lines changed

CONTRIBUTING.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1515
Please ensure to specify the following:
1616

1717
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
18-
* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, ESP8266 core v3.0.2, ArduinoCore-mbed v3.1.1, etc.)
18+
* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, ESP8266 core v3.0.2, ArduinoCore-mbed v3.4.1, etc.)
1919
* Contextual information (e.g. what you were trying to achieve)
2020
* Simplest possible steps to reproduce
2121
* Anything that might be relevant in your opinion, such as:
@@ -28,29 +28,51 @@ Please ensure to specify the following:
2828
```
2929
Arduino IDE version: 1.8.19
3030
RASPBERRY_PI_PICO board
31-
ArduinoCore-mbed v3.1.1
31+
ArduinoCore-mbed v3.4.1
3232
OS: Ubuntu 20.04 LTS
33-
Linux xy-Inspiron-3593 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
33+
Linux xy-Inspiron-3593 5.15.0-52-generic #58~20.04.1-Ubuntu SMP Thu Oct 13 13:09:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
3434
3535
Context:
36-
I encountered an endless loop while trying to connect to Local WiFi.
37-
36+
I encountered a crash while using this library
3837
Steps to reproduce:
3938
1. ...
4039
2. ...
4140
3. ...
4241
4. ...
4342
```
4443

44+
### Additional context
45+
46+
Add any other context about the problem here.
47+
48+
---
4549

4650
### Sending Feature Requests
4751

4852
Feel free to post feature requests. It's helpful if you can explain exactly why the feature would be useful.
4953

5054
There are usually some outstanding feature requests in the [existing issues list](https://github.com/khoih-prog/WiFiWebServer/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement), feel free to add comments to them.
5155

56+
---
57+
5258
### Sending Pull Requests
5359

5460
Pull Requests with changes and fixes are also welcome!
5561

62+
Please use the `astyle` to reformat the updated library code as follows (demo for Ubuntu Linux)
63+
64+
1. Change directory to the library GitHub
65+
66+
```
67+
xy@xy-Inspiron-3593:~$ cd Arduino/xy/WiFiWebServer_GitHub/
68+
xy@xy-Inspiron-3593:~/Arduino/xy/WiFiWebServer_GitHub$
69+
```
70+
71+
2. Issue astyle command
72+
73+
```
74+
xy@xy-Inspiron-3593:~/Arduino/xy/WiFiWebServer_GitHub$ bash utils/restyle.sh
75+
```
76+
77+
5678

README.md

Lines changed: 55 additions & 48 deletions
Large diffs are not rendered by default.

changelog.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,18 @@
66
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](#Contributing)
77
[![GitHub issues](https://img.shields.io/github/issues/khoih-prog/WiFiWebServer.svg)](http://github.com/khoih-prog/WiFiWebServer/issues)
88

9+
<a href="https://www.buymeacoffee.com/khoihprog6" title="Donate to my libraries using BuyMeACoffee"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Donate to my libraries using BuyMeACoffee" style="height: 50px !important;width: 181px !important;" ></a>
10+
<a href="https://www.buymeacoffee.com/khoihprog6" title="Donate to my libraries using BuyMeACoffee"><img src="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-orange.svg?logo=buy-me-a-coffee&logoColor=FFDD00" style="height: 20px !important;width: 200px !important;" ></a>
11+
<a href="https://profile-counter.glitch.me/khoih-prog/count.svg" title="Total khoih-prog Visitor count"><img src="https://profile-counter.glitch.me/khoih-prog/count.svg" style="height: 30px;width: 200px;"></a>
12+
<a href="https://profile-counter.glitch.me/khoih-prog-WiFiWebServer/count.svg" title="WiFiWebServer Visitor count"><img src="https://profile-counter.glitch.me/khoih-prog-WiFiWebServer/count.svg" style="height: 30px;width: 200px;"></a>
13+
914
---
1015
---
1116

1217
## Table of Contents
1318

1419
* [Changelog](#changelog)
20+
* [Releases v1.10.0](#releases-v1100)
1521
* [Releases v1.9.5](#releases-v195)
1622
* [Releases v1.9.4](#releases-v194)
1723
* [Releases v1.9.3](#releases-v193)
@@ -51,6 +57,13 @@
5157

5258
## Changelog
5359

60+
### Releases v1.10.0
61+
62+
1. Add new features, such as `CORS`, etc.
63+
2. Update code and examples
64+
3. Use `allman astyle` and add `utils`
65+
4. Update `Packages' Patches`
66+
5467
### Releases v1.9.5
5568

5669
1. Restore support to Teensy, etc.

library.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "WiFiWebServer",
3-
"version": "1.9.5",
3+
"version": "1.10.0",
44
"keywords": "wifi, wi-fi, WebServer, WiFiNINA, WiFi101, ESP32, Portenta-H7, SAM-DUE, SAMD, STM32, nRF52, rpi-pico, rp2040, HTTP-Client, WebSocket-Client, server, client, websocket, wifi-multi, mega-avr",
55
"description": "Simple WiFiWebServer, HTTP Client and WebSocket Client library for AVR Mega, megaAVR, Portenta_H7, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52, RP2040-based (Nano-RP2040-Connect, RASPBERRY_PI_PICO, RASPBERRY_PI_PICO_W, ESP32/ESP8266, etc.) boards using WiFi, such as WiFiNINA, WiFi101, CYW43439, U-Blox W101, W102, ESP8266/ESP32-AT modules/shields, with functions similar to those of ESP8266/ESP32 WebServer libraries",
66
"authors":
@@ -27,7 +27,7 @@
2727
{
2828
"owner": "khoih-prog",
2929
"name": "WiFiNINA_Generic",
30-
"version": ">=1.8.14-6",
30+
"version": ">=1.8.14-7",
3131
"platforms": ["*"]
3232
},
3333
{

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=WiFiWebServer
2-
version=1.9.5
2+
version=1.10.0
33
author=Khoi Hoang
44
license=MIT
55
maintainer=Khoi Hoang <[email protected]>

platformio/platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ lib_ldf_mode = chain+
4444
lib_deps =
4545
; PlatformIO 4.x
4646
; Functional-Vlpp@>=1.0.2
47-
; WiFiNINA_Generic@>=1.8.14-6
47+
; WiFiNINA_Generic@>=1.8.14-7
4848
; WiFiMulti_Generic@>=1.2.2
4949
; ESP_AT_Lib@>=1.4.1
5050
; PlatformIO 5.x
5151
khoih-prog/Functional-Vlpp@>=1.0.2
52-
khoih-prog/WiFiNINA_Generic@>=1.8.14-6
52+
khoih-prog/WiFiNINA_Generic@>=1.8.14-7
5353
khoih-prog/WiFiMulti_Generic@>=1.2.2
5454
khoih-prog/ESP_AT_Lib@>=1.4.1
5555

0 commit comments

Comments
 (0)