Releases: adafruit/Adafruit_CircuitPython_HTTPServer
4.4.2 - Asyncio Examples
This release includes new examples illustrating usage of the library with asyncio. Thank you @michalpokusa.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-httpserver
.
Read the docs for info on how to use it.
4.4.1 - Fix RTD Theme Issue
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-httpserver
.
Read the docs for info on how to use it.
4.4.0 - FormData Files, Cookies, Redirection Types
This release contains several improvements:
cookie
property for Request and Response- support for FormData File
- support for 301 / 302 redirects
- token authentication option
- refactoring
See #67 for the full list of changes.
Thank you @michalpokusa
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-HTTPServer
.
Read the docs for info on how to use it.
4.3.0- XSS Hardening
This release includes HTML entity escaping that is defaulted to enabled on data sent from the front end. This helps mitigate some of the potential for Cross Site Scripting.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-HTTPServer
.
Read the docs for info on how to use it.
4.2.0 - Websockets, SSE, and Route Refactor
This release contains new features for:
- Websocket server handler capability
- Server Sent Event handler capability
- Route refactoring to make it easier to declare routes in seperate files
This release is backwards compatible. See #63 for the complete list of changes.
Thank you @michalpokusa.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-HTTPServer
.
Read the docs for info on how to use it.
4.1.0 - FormData and More
This release includes the following:
- new feature to access FormData from requests
- new feature to set default headers to be returned with all responses
- Improvements to docstrings and examples
- new example illustrating usage with the ethernet Wiznet5k library.
Thank you @michalpokusa, @FoamyGuy, and @anecdata for their work to submit and test the changes.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-HTTPServer
.
Read the docs for info on how to use it.
4.0.2 - Fixed packaging infrastructure
Fixed the packaging infrastructure of this library. Thanks @FoamyGuy!
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-HTTPServer
.
Read the docs for info on how to use it.
4.0.1 - Updated .pylintrc, fixed jQuery
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-HTTPServer
.
Read the docs for info on how to use it.
4.0.0 - New Features Breaking Change
This release contains breaking changes. User code will need to be updated in order to use this version of the library. A summary of changes include:
- Added support for basic and bearer authentication
- Refactored response API used in server route declarations
- Improved declaration of methods for server routes
- support for URL path parameters
- Refactored class names to remove redundant HTTP
- ChunkedResponse, FileResponse, JSONResponse, and Redirect object support
- Improved documentation and examples.
See: #54 for a full list of changes and modifications.
Thank you @michalpokusa for these improvements.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-httpserver
.
Read the docs for info on how to use it.
3.0.2 - Simpletest Example
This release changes the name of the most basic example to include "simpletest" to match other libraries and simplifies it to return a string. Thank you @jrrickerson.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-httpserver
.
Read the docs for info on how to use it.