Skip to content

Releases: adafruit/Adafruit_CircuitPython_Requests

3.2.0 - don't drain on close; remove fast_close arg

12 Mar 20:58
9544d1f
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.0.2...3.2.0

3.1.0 - Fix possible exception on close(); add fast_close arg to Response

11 Mar 13:58
815b326
Compare
Choose a tag to compare

What's Changed

  • close(): fix exception and enable fast-close by @bablokb in #156

New Contributors

Full Changelog: 3.0.1...3.0.2

3.0.1 - Use get_radio_socketpool() and get_radio_ssl_context()

03 Mar 22:48
5b9304d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.0.0...3.0.1

3.0.0 - Switch to connection manager

27 Feb 01:05
cd34a7e
Compare
Choose a tag to compare

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

05 Feb 19:57
2afa03d
Compare
Choose a tag to compare

What's Changed

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

05 Jan 23:47
178dbc3
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 2.0.3...2.0.4

2.0.3 - Fix RTD Docs Build and Unpin Sphinx

09 Dec 17:47
Compare
Choose a tag to compare

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

25 Sep 16:04
Compare
Choose a tag to compare

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

21 Jul 21:37
36f1bb0
Compare
Choose a tag to compare

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

08 Jul 14:20
e09c3bd
Compare
Choose a tag to compare

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.