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

Commit b0ae5e9

Browse files
authored
v1.1.0 to add support to WT32_ETH01
1 parent 3226dc8 commit b0ae5e9

File tree

4 files changed

+24
-14
lines changed

4 files changed

+24
-14
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,18 @@ Breaking changes:
1414

1515
1616

17+
## [v1.1.0](https://github.com/fhessel/esp32_https_server/releases/tag/v1.0.0)
18+
19+
New functionality:
20+
21+
* Add examples to support WT32_ETH01 using LAN8720
22+
23+
Bug fixes:
24+
25+
* Fix compile error for using `hwcrypto/sha.h`
26+
27+
=========================================================
28+
1729
## [v1.0.0](https://github.com/fhessel/esp32_https_server/releases/tag/v1.0.0)
1830

1931
New functionality:

README.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# ESP32 HTTPS Server
22

3-
![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/fhessel/esp32_https_server?label=Version&sort=semver) ![Build Examples](https://github.com/fhessel/esp32_https_server/workflows/Build%20Examples/badge.svg?branch=master)
4-
53
This repository contains an HTTPS server library that can be used with the [ESP32 Arduino Core](https://github.com/espressif/arduino-esp32). It supports HTTP as well.
64

75
## Features
@@ -73,19 +71,18 @@ git clone https://github.com/fhessel/esp32_https_server.git
7371

7472
> **Note:** To run the examples (except for the _Self-Signed-Certificates_ example), you need to execute the script extras/create_cert.sh first (see [Issue #26](https://github.com/fhessel/esp32_https_server/issues/26) for Windows). This script will create a simple CA to sign certificates that are used with the examples. Some notes on the usage can be found in the extras/README.md file.
7573
76-
You will find several examples showing how you can use the library (roughly ordered by complexity):
74+
You will find several examples showing how you can use the library:
7775

7876
- [Static-Page](examples/Static-Page/Static-Page.ino): Short example showing how to serve some static resources with the server. You should start with this sketch and get familiar with it before having a look at the more complex examples.
7977
- [Parameters](examples/Parameters/Parameters.ino): Shows how you can access request parameters (the part after the question mark in the URL) or parameters in dynamic URLs (like /led/1, /led/2, ...)
80-
- [Parameter-Validation](examples/Parameter-Validation/Parameter-Validation.ino): Shows how you can integrate validator functions to do formal checks on parameters in your URL.
8178
- [Put-Post-Echo](examples/Put-Post-Echo/Put-Post-Echo.ino): Implements a simple echo service for PUT and POST requests that returns the request body as response body. Also shows how to differentiate between multiple HTTP methods for the same URL.
8279
- [HTTPS-and-HTTP](examples/HTTPS-and-HTTP/HTTPS-and-HTTP.ino): Shows how to serve resources via HTTP and HTTPS in parallel and how to check if the user is using a secure connection during request handling
83-
- [HTML-Forms](examples/HTML-Forms/HTML-Forms.ino): Shows how to use body parsers to handle requests created from HTML forms (access text field contents, handle file upload, etc.).
84-
- [Async-Server](examples/Async-Server/Async-Server.ino): Like the Static-Page example, but the server runs in a separate task on the ESP32, so you do not need to call the loop() function in your main sketch.
85-
- [Self-Signed-Certificate](examples/Self-Signed-Certificate/Self-Signed-Certificate.ino): Shows how to generate a self-signed certificate on the fly on the ESP when the sketch starts. You do not need to run `create_cert.sh` to use this example.
8680
- [Middleware](examples/Middleware/Middleware.ino): Shows how to use the middleware API for logging. Middleware functions are defined very similar to webservers like Express.
8781
- [Authentication](examples/Authentication/Authentication.ino): Implements a chain of two middleware functions to handle authentication and authorization using HTTP Basic Auth.
82+
- [Async-Server](examples/Async-Server/Async-Server.ino): Like the Static-Page example, but the server runs in a separate task on the ESP32, so you do not need to call the loop() function in your main sketch.
8883
- [Websocket-Chat](examples/Websocket-Chat/Websocket-Chat.ino): Provides a browser-based chat built on top of websockets. **Note:** Websockets are still under development!
84+
- [Parameter-Validation](examples/Parameter-Validation/Parameter-Validation.ino): Shows how you can integrate validator functions to do formal checks on parameters in your URL.
85+
- [Self-Signed-Certificate](examples/Self-Signed-Certificate/Self-Signed-Certificate.ino): Shows how to generate a self-signed certificate on the fly on the ESP when the sketch starts. You do not need to run `create_cert.sh` to use this example.
8986
- [REST-API](examples/REST-API/REST-API.ino): Uses [ArduinoJSON](https://arduinojson.org/) and [SPIFFS file upload](https://github.com/me-no-dev/arduino-esp32fs-plugin) to serve a small web interface that provides a REST API.
9087

9188
If you encounter error messages that cert.h or private\_key.h are missing when running an example, make sure to run create\_cert.sh first (see Setup Instructions).

library.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "esp32_https_server",
3-
"keywords": "communication, esp32, http, https, server, ssl, tls, webserver, websockets",
3+
"keywords": "communication, esp32, http, https, server, ssl, tls, webserver, websockets, wt32-eth01",
44
"description": "Alternative ESP32 Webserver implementation for the ESP32, supporting HTTPS and HTTP. The library provides TLS support and simultaneous connections. It can be used to run an HTTP or HTTPS server, or both in parallel. The server's resources are defined through handler and middleware functions, giving an easy start to everyone who has worked with frameworks like Express or Servlets before.",
55
"repository":
66
{
77
"type": "git",
88
"url": "https://github.com/fhessel/esp32_https_server.git"
99
},
1010
"license": "MIT",
11-
"version": "1.0.0",
11+
"version": "1.1.0",
1212
"frameworks": "arduino",
1313
"platforms": ["espressif32"]
1414
}

library.properties

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
name=ESP32_HTTPS_Server
2-
version=1.0.0
3-
author=Frank Hessel <frank@fhessel.de>
4-
maintainer=Frank Hessel <frank@fhessel.de>
5-
sentence=Alternative ESP32 Webserver implementation for the ESP32, supporting HTTPS and HTTP.
2+
version=1.1.0
3+
author=Frank Hessel <frank@fhessel.de>,Khoi Hoang <khoih.prog@gmail.com>
4+
maintainer=Khoi Hoang <khoih.prog@gmail.com>
5+
sentence=Alternative ESP32 Webserver implementation for the ESP32 and WT32-ETH01, supporting HTTPS and HTTP.
66
paragraph=The library provides TLS support and simultaneous connections. It can be used to run an HTTP or HTTPS server, or both in parallel. The server's resources are defined through handler and middleware functions, giving an easy start to everyone who has worked with frameworks like Express or Servlets before.
77
category=Communication
8-
url=https://github.com/fhessel/esp32_https_server
8+
url=https://github.com/khoih-prog/esp32_https_server
99
architectures=esp32
10+
depends=WebServer_WT32_ETH01
1011
includes=HTTPSServer.hpp,HTTPRequest.hpp,HTTPResponse.hpp

0 commit comments

Comments
 (0)