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

Releases: mathieucarbou/ESPAsyncWebServer

v3.3.10

02 Oct 23:29
8e86039
Compare
Choose a tag to compare

Changes

  • Important AuthenticationMiddleware bug fixes
  • Added AUTH_DENIED support and

Full Changelog: v3.3.8...v3.3.10

v3.3.8

02 Oct 22:49
6884bb7
Compare
Choose a tag to compare

Changes

Full Changelog: v3.3.7...v3.3.8

v3.3.7

01 Oct 09:18
a60e0ca
Compare
Choose a tag to compare

Changes

Full Changelog: v3.3.6...v3.3.7

v3.3.6

01 Oct 08:59
6fb4067
Compare
Choose a tag to compare

Changes

  • Small bug fixes

Full Changelog: v3.3.5...v3.3.6

v3.3.5

01 Oct 00:44
0856ea6
Compare
Choose a tag to compare

BREAKING CHANGE

  • Auth type enum moved globally: AsyncAuthType
  • AuthenticationMiddleware.setPasswordIsHash() => AuthenticationMiddleware.setPasswordHash()

What's changed

  • Complete rework of AuthenticationMiddleware... by @mathieucarbou in #113
  • Added AuthenticationMiddleware.setPasswordHash .generateHash();
  • Added AuthenticationMiddleware.setAuthFailureMessage()

Full Changelog: v3.3.4...v3.3.5

v3.3.4

30 Sep 06:46
c295c7b
Compare
Choose a tag to compare

What's Changed

  • add optional responce code to AsyncWebServerRequest::redirect() method by @vortigont in #110

Full Changelog: v3.3.3...v3.3.4

v3.3.3

29 Sep 23:12
b054150
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.3.2...v3.3.3

v3.3.2

29 Sep 21:53
5fbab6c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.3.1...v3.3.2

WARNING

THIS VERSION DOES NOT WORK WITH Arduino 5 and 6 (see: #108).
The bug is fixed in v3.3.3

v3.3.1

15 Sep 09:34
74b16d6
Compare
Choose a tag to compare

What's Changed

  • Fixed compilation warning on ESP8266 in 9e6cc52

Full Changelog: v3.3.0...v3.3.1

v3.3.0

14 Sep 14:55
d39aba4
Compare
Choose a tag to compare

Breaking Changes

This PR brings a lot of new feature and bug fixes:

  • Fixed method overloading for ESP8266
  • Added support for request attributes
  • Added support for middleware (aka Expressif Middleware): they can be added at server level (apply globally) or at handler level. They can act on the request and response and also decide if the processing continues or not (see examples)
  • Added support to replace a response with another one (e.g. a middleware could discard a response sent by a handler to create a new one)

Potential breaking changes:

  • Removed the "interesting headers" concept: all headers are now parsed. If you need to filter them out to only keep sone, you can use a middleware for that (see the examples)
  • Do not use setAuthentication() => use a middleware instead!
  • Do not use AsyncEventSource.authorizeConnect(...) => use a middleware instead!
  • Authentication is not checked anymore in the body / upload handlers (ArUploadHandlerFunction and ArBodyHandlerFunction) because these handlers are called once or more during the request parsing phase and the middleware chain cannot be called at this time and cannot be called also several time. It will be called during the handleRequest at the end. If you need to verify some auth in these callbacks, just create a middleware and call the method AuthenticationMiddleware.allowed(request)

See migration guide: https://github.com/mathieucarbou/ESPAsyncWebServer?tab=readme-ov-file#migration-to-middleware-to-improve-performance-and-memory-usage

What's Changed

New Contributors

Full Changelog: v3.2.4...v3.3.0