Skip to content

install_ugreen_leds_controller v2.0.3

Choose a tag to compare

@0x556c79 0x556c79 released this 06 Jan 23:32
· 39 commits to main since this release

[2.0.3] - 2025-06-01

What's Changed

  • Complete support for TrueNAS SCALE 25.10 by @meyayl in #9
  • refactor: simplify TrueNAS version detection logic. Replace dual-check version validation with streamlined GitHub discovery.

Previously, the script performed redundant validation:

  • Fetched all supported versions from every codename directory
  • Used hardcoded version-to-codename mapping (if/elif chain)
  • Validated version against supported versions list

Now uses a single find_codename_for_version() function that:

  • Iterates through GitHub codename directories of the pre-compiled kernel modules at miskcoo's gh-actions branch
  • Checks which directory contains the current version
  • Falls back to hardcoded mapping only if GitHub is unreachable

Benefits:

  • Future-proof: automatically discovers new TrueNAS releases
  • Simpler: one check instead of two separate validations
  • More efficient: early exit on match
  • Maintainable: single function manages all detection logic

New Contributors

  • @meyayl made their first contribution in #9

Full Changelog: v2.0.2...v2.0.3