Skip to content

Releases: pyusb/pyusb

Version 1.3.1

08 Jan 23:50
v1.3.1
Compare
Choose a tag to compare

Fixed:

  • core: fix a regression in ctrl_transfer where supplied read buffers were discarded (#528, #530)

Full changelog: v1.3.0...v1.3.1

Version 1.3.0

01 Jan 13:36
v1.3.0
Compare
Choose a tag to compare

Happy new year!

Changed:

  • meta: bump the minimum required Python version to 3.9

Fixed:

  • core: reset cached endpoints on alternate setting changes (#380)
  • core: only search for endpoints on the correct alternate settings (#380)
  • tree: guard finalizers against aborted initialization (#380 (comment))
  • version: handle when patch component is missing
  • core: fix bMaxPower conversion for SuperSpeed devices (#479)
  • openusb: fix missing commas in __all__ list (#501)
  • libusb1: fix trailing comma in LIBUSB_TRANSFER_TYPE_CONTROL (#501)
  • legacy: Fix DeviceHandle finalizer checking for the wrong attribute (#502)
  • libloader: search in default homebrew prefix on apple silicon (#511)

Full changelog: v1.2.1...v1.3.0

Version 1.2.1

09 Jul 03:00
v1.2.1
7f3638b
Compare
Choose a tag to compare

Fixed:

  • core: make Device hashable again (PR #376)

Version 1.2.0

05 Jul 06:07
v1.2.0
Compare
Choose a tag to compare

Added:

  • core: implement Device.__eq__() (#147)

Changed:

  • libusb0: implement is_kernel_driver_active() for FreeBSD and DragonFly BSD (#365)
  • libusb0: implement is_kernel_driver_active() for Mac OS (#374)

Fixed:

  • setup: prevent installation on unsupported Python versions (PR #364)
  • control: fix undefined USBError (#372)
  • tests: fix legacy/hardware tests for Python 3.9 (#373)

Version 1.1.1

20 Jan 06:30
v1.1.1
a54ebc7
Compare
Choose a tag to compare

Note: This version was yanked on July 5, 2021, because it dropped support for Python 2.7/3.5 but failed to set python_requires='>=3.6.0'. For those on Python 3.6+, PyUSB v1.2.0 should be a safe replacement.


Patch release that fixes a couple of bugs; most notably it fixes compatibility with Python 3.9.

As of PyUSB 1.1.1 changes that break under Python 2.7 and 3.5 (both of which have reached end of life) are no longer considered regressions.

Users stuck on those Python versions, and distributions supporting such users, should evaluate each patch in this release individually.

Version 1.1.0

13 Sep 16:42
v1.1.0
Compare
Choose a tag to compare
v1.1.0

Version 1.1.0