Releases: adafruit/Adafruit_CircuitPython_Requests
RocketLaunch.live + More Examples Moved to Connection Manager API
What's Changed
- add rocketlaunch.live free API example by @DJDevon3 in #160
- Add Premiere League Fantasy API Example by @DJDevon3 in #165
- Update Github API Example with Connection Manager by @DJDevon3 in #166
- Update Steam API Example with Connection Manager by @DJDevon3 in #169
- Update Twitch API Example with Connection Manager by @DJDevon3 in #170
Full Changelog: 3.2.1...3.2.2
API Examples Updated to Use ConnectionManager
What's Changed
- Update Mastodon API Example with Connection Manager by @DJDevon3 in #161
- Update Discord Shields.io Example with Connection Manager by @DJDevon3 in #162
- Update Discord Web Scrape Example with Connection Manager by @DJDevon3 in #163
- Update Fitbit API Example with Connection Manager by @DJDevon3 in #164
Full Changelog: 3.2.0...3.2.1
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.