Skip to content
This repository was archived by the owner on Oct 10, 2023. It is now read-only.

Releases: Gadgetoid/libgpiod-python

Version 2.0.0

Choose a tag to compare

@Gadgetoid Gadgetoid released this 28 Sep 13:59

Actually 2.0.2, but "gpiod/version.py" is reporting the incorrect version.

libgpiod v2.0.2

Bug fixes:

  • fix a segfault in the GLib wrapper around libgpiosim
  • fix a race condition in libgpiosim
  • remove an implicit dependency on ncurses in gpio-tools tests
  • make value toggling in gpio-tools tests more reliable by removing hard-coded
    sleeps in favor of actively waiting for value changes

libgpiod v2.0.1

Bug fixes:

  • sanitize the arguments in gpiod_line_config_set_output_values()
  • make the chip file descriptor blocking in the core library so that calls to
    gpiod_chip_read_info_event() behave as advertised in the docs
  • fix setting the event clock type in gpiomon
  • fix the regex pattern for version strings

libgpiod v2.0

This is a major release that breaks compatiblity with the v1.6.x series. The
entire data model has been overhauled in order to make using the library more
intuitive and less cumbersome, while also making the code future-proof and
extensible. Please refer to the documentation for details.

New features:

  • rework the entire API: core C library as well as C++ and Python bindings
  • rework the command-line tools in order to make them more line-name-oriented
  • drop gpiofind as tools can now resolve line names on their own
  • add the interactive mode to gpioset
  • add Rust bindings
  • make tests work with the gpio-sim kernel module

Version 1.6.3

Choose a tag to compare

@Gadgetoid Gadgetoid released this 28 Sep 17:17

Legacy release of v1.6.3 to match package shipped on Raspberry Pi OS Bookworm.

⚠️ This version is defunct and represents an old, deprecated API. Please use v2.0.0 unless you have a specific reason to want compatibility with Bookworm's v1.6.3 - https://github.com/Gadgetoid/libgpiod-python/releases/tag/2.0.0

Bug fixes:

  • fix uninitialized default_vals being passed to gpiod_LineBulk_request()
    in Python bindings
  • fix building C++ bindings with clang
  • fix one of the line request test cases

Version 1.2.1

Choose a tag to compare

@Gadgetoid Gadgetoid released this 28 Sep 17:36

Should be roughly equivalent to the package in Raspberry Pi OS Buster. Maybe.

⚠️ This version is defunct and represents an old, deprecated API. Please use v2.0.0 unless you have a specific reason to want compatibility with Busters's v1.2.x - https://github.com/Gadgetoid/libgpiod-python/releases/tag/2.0.0

Bug fixes:

  • fix a segfault causing bug in C++ bindings
  • make bitset_cmp::operator() const as this is required by C++17