Skip to content

Releases: adafruit/Adafruit_CircuitPython_Requests

1.9.5 - Plug socket leaks

08 Feb 19:58
622856f
Compare
Choose a tag to compare
  • Catch OSError in recv-into to avoid socket leak
  • Catch OSError in _send_request to avoid socket leak

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.9.4 - Fix for ESPN

28 Jan 19:15
f658b39
Compare
Choose a tag to compare

ESPN's chunk header sometimes has two spaces after the : so we strip the right side of the header so we properly handle the chunked response.

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.9.3 - Moved to pre-commit, added licensing info

20 Jan 22:37
91c4c83
Compare
Choose a tag to compare

pre-commit has been added to the GitHub Actions workflow in this repository. pre-commit allows you to run multiple checks, such as black and checking the REUSE licensing compliance, both locally and on GitHub Actions with one command.

You can run pre-commit locally with pre-commit run --all-files

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.9.2 - Fix examples for ESP32SPI and SSL socket

30 Dec 21:40
7cce618
Compare
Choose a tag to compare

This release:

  • #58 Addresses #57 and fixes RuntimeError: Cannot access content after getting text or json error in examples/requests_advanced.py

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.9.1 - Now using _buffer_split0() to split bytestring

21 Dec 22:41
c070f6e
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.

1.9.0 - Retry with new socket

25 Nov 14:49
5390215
Compare
Choose a tag to compare

#54 Reduces likelihood of RuntimeError: Unable to read HTTP response error by retrying with new socket.

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.8.1 - Fix CircuitPython compatibility

15 Nov 00:33
531e845
Compare
Choose a tag to compare

Fixes issue with bytearray.split()

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.8.0 - Added support for chunk extensions

13 Nov 20:30
ba76312
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.

Better handle errors by retrying

06 Nov 19:22
333b586
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.

Fix noneerror when we make a chunked request but dont read any data from it

30 Oct 15:09
7d0e3ba
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.