Releases: adafruit/Adafruit_CircuitPython_Requests
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.
1.14.1 - OpenSky API Examples
This release includes examples of fetching data from Open Sky API. 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.
1.14.0 - Added allow_redirects argument
Added allow_redirects argument, which is CPython compatible. Thanks @FoamyGuy!
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.
1.13.4 - Updated .pylintrc, fixed jQuery
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.