Skip to content

Releases: hoeken/PsychicHttp

v2.0.0

07 Nov 05:50

Choose a tag to compare

I apologize for sitting on this release for so long. Its been almost a year and life just sort of got away from me. I'd like to get this release out and then start working through the backlog of pull requests and issues. v2.0 has been very stable for me, so I think its best to release it get some momentum building.

  • Huge amount of work was done to add MiddleWare and some more under the hood updates
  • Modified the request handling to bring initial url matching and filtering into PsychicHttpServer itself.
    • Fixed a bug with filter() where endpoint is matched, but filter fails and it doesn't continue matching further endpoints on same uri (checks were in different codebases)
    • HTTP_ANY support
    • unlimited endpoints (no more need to manually set config.max_uri_handlers)
    • much more flexibility for future
  • Endpoint Matching Updates
    • Endpoint matching functions can be set on server level (server.setURIMatchFunction()) or endpoint level (endpoint.setURIMatchFunction())
    • Added convenience macros MATCH_SIMPLE, MATCH_WILDCARD, and MATCH_REGEX
    • Added regex matching of URIs, enable it with define PSY_ENABLE_REGEX
    • On regex matched requests, you can get match data with request->getRegexMatches()
  • Ported URL rewrite functionality from ESPAsyncWS

v1.2.1

14 Aug 21:24

Choose a tag to compare

  • Fix bug with missing include preventing the HTTPS server from compiling.

v1.2.0

10 Aug 00:16
8257758

Choose a tag to compare

Thanks to @Chris--A, @06GitHub, @mathieucarbou, and @dzungpv for your contributions.

v1.1.0

22 May 20:31

Choose a tag to compare

v1.1

  • Changed the internal structure to support request handlers on endpoints and generic requests that do not match an endpoint
    • websockets, uploads, etc should now create an appropriate handler and attach to an endpoint with the server.on() syntax
  • Added PsychicClient to abstract away some of the internals of ESP-IDF sockets + add convenience
    • onOpen and onClose callbacks have changed as a result
  • Added support for EventSource / SSE
  • Added support for multipart file uploads
  • changed getParam() to return a PsychicWebParameter in line with ESPAsyncWebserver
  • Renamed various classes / files:
    • PsychicHttpFileResponse -> PsychicFileResponse
    • PsychicHttpServerEndpoint -> PsychicEndpoint
    • PsychicHttpServerRequest -> PsychicRequest
    • PsychicHttpServerResponse -> PsychicResponse
    • PsychicHttpWebsocket.h -> PsychicWebSocket.h
    • Websocket => WebSocket
  • Quite a few bugfixes from the community. Thank you @glennsky, @gb88, @KastanEr, @kstam, and @zekageri

1.0.1

01 Dec 16:43
afd923d

Choose a tag to compare

Changed the number of connections allowed for HTTPS to 2 based on load testing.

1.0.0

29 Nov 23:23
d357bc6

Choose a tag to compare

Initial release.