Releases: adafruit/Adafruit_CircuitPython_Requests
3.2.0 - don't drain on close; remove fast_close arg
What's Changed
- Don't read all on response.close() by @justmobilize in #159
Full Changelog: 3.0.2...3.2.0
3.1.0 - Fix possible exception on close(); add fast_close arg to Response
3.0.1 - Use get_radio_socketpool() and get_radio_ssl_context()
What's Changed
- Update README.rst by @tannewt in #155
- Fix get_radio_ssl_context by @justmobilize in #158
Full Changelog: 3.0.0...3.0.1
3.0.0 - Switch to connection manager
What's Changed
- Use ConnectionManager by @justmobilize in #151 It centralizes socket connection tracking and allows sharing it with other libraries. Thanks again to @justmobilize for the refactoring!
You'll need to install Adafruit_CircuitPython_ConnectionManager to use this version of adafruit_requests
. circup
should install it automatically.
Top level functions set_socket()
, request()
, head()
, get()
, post()
, put()
, patch()
, and delete()
have all been removed in favor of requiring an explicit adafruit_requests.Session()
object. See the examples
for how to initialize depending on which networking library is being used.
Full Changelog: 2.0.5...3.0.0
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-requests
.
Read the docs for info on how to use it.
Fix For Handling of Header Types
What's Changed
- Correctly handle headers of different types by @justmobilize in #152
Full Changelog: 2.0.4...2.0.5
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-requests
.
Read the docs for info on how to use it.
2.0.4 - Fix Duplicate Header Issue
This release contains a fix for an issue that resulted in duplicated user-agent headers being sent with the request.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-requests
.
Read the docs for info on how to use it.
What's Changed
- Fix duplicate header issue by @justmobilize in #149
New Contributors
- @justmobilize made their first contribution in #149
Full Changelog: 2.0.3...2.0.4
2.0.3 - Fix RTD Docs Build and Unpin Sphinx
Changes: 2.0.2...2.0.3
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-requests
.
Read the docs for info on how to use it.
2.0.2 - Fix RTD Theme Issue
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-requests
.
Read the docs for info on how to use it.
2.0.1 - Discord API Updated For settings.toml
This release updates the Discord API example to use settings.toml instead of secrets.py for it's authentication details. Thank you @DJDevon3.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-Requests
.
Read the docs for info on how to use it.
2.0.0 - Remove Backwards Compatible Socket Behavior
This release removes backwards compatibility logic for the legacy ESP32SPI Socket behavior. That library has been updated to make the socket API more closely match CPython and other implementations so this backwards compatibility is no longer needed within the requests library.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-Requests
.
Read the docs for info on how to use it.