Skip to content

Latest commit

 

History

History
87 lines (52 loc) · 5.18 KB

File metadata and controls

87 lines (52 loc) · 5.18 KB

Changelog

All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.

2.1.1 (2026-03-09)

Bug Fixes

  • add libgpiod v1.x compatibility (1134374), closes #1
  • replace which gpiomon with command -v gpiomon (fdef03e), closes #2

Maintenance

  • add lint-staged and simple-git-hooks for pre-commit linting (e11cbbe)
  • add missing devDependency @eslint/js (c2304ba)
  • add type + correct homepage and contributors format (22ee792)
  • rename logo image to get it into the module list (627adbd)
  • update devDependencies (c19d1b1)
  • update ESLint config (ff4765a)
  • update keywords in package.json (e53fbb1)

Documentation

  • reorganize installation instructions (b7aa52e)

2.1.0 (2025-12-14)

Features

  • add debug logging for button press/release events and gpiomon output (46c348b)
  • add optional frontend debug view (3c3df12)
  • configure GPIO bias (pull-up/pull-down) automatically (908174b)

Bug Fixes

  • access longPress array correctly for alert display (69003ec)
  • increase maxShortPressTime default from 500ms to 1000ms (3d7f047)

Maintenance

  • add commit-and-tag-version for automated releases (3a2e73e)
  • add ESLint config and modernize codebase (ebe85c9)
  • add spellcheck and fix typos (7124b66)
  • change Dependabot update interval from weekly to monthly (2f75a10)

Documentation

  • add Code of Conduct (4f602e1)
  • add screenshots and optimize config example (bec1002)
  • add update instructions to README (366a815)
  • update repository URL in installation instructions (d7e6e99)

Code Refactoring

  • fix ESLint errors in MMM-Buttons.js (33d15a2)
  • simplify frontend defaults (726954c)
  • use hardware debouncing via gpiomon instead of software debounce (e2e38b2)

2.0.0 (2025-12-13)

⚠ BREAKING CHANGES

  • This module now uses gpiod tools instead of npm dependencies. On Raspberry Pi OS, gpiod is usually pre-installed. If not, run sudo apt install gpiod. No more npm install or electron-rebuild required.

Code Refactoring

  • replace native onoff module with gpiod CLI tools (954177e)
    • Remove onoff, nan, and @electron/rebuild dependencies
    • Use gpiomon child process for GPIO event monitoring
    • Add platform detection (Linux only, graceful skip on Windows/Mac)
    • Add gpiod availability check at startup with clear error messages
    • Simplify RPi5 support using gpiochip4 instead of pin offset hack
    • Add proper cleanup of gpiomon processes on module stop
    • Update README with new installation instructions

Previous Changes

See git history for previous changes.