Skip to content

Releases: adafruit/Adafruit_CircuitPython_Requests

RocketLaunch.live + More Examples Moved to Connection Manager API

18 Mar 16:31
fdf4cbf
Compare
Choose a tag to compare

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

17 Mar 22:24
7106d2f
Compare
Choose a tag to compare

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

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.