Skip to content

v1.6.6

Choose a tag to compare

@github-actions github-actions released this 29 May 21:42

What's Changed

Bug Fixes

  • Fix feed-based install (#7) — ./scripts/feeds install -p trafficctl luci-app-trafficctl was failing with target pattern contains no '%' because OpenWrt's find -L … -mindepth 1 skips the repository-root Makefile. The package source is now in a luci-app-trafficctl/ subdirectory — the standard layout used by openwrt/packages and other community feeds.
  • Fix /etc/config/trafficctl clobbering on opkg --force-reinstall — runtime state files (shapes.json, telegram_known.json) were listed as conffiles, which made opkg refuse to install on a fresh device. Conffiles now contain only /etc/config/trafficctl.
  • Stop renaming /etc/trafficmon/ to /etc/trafficctl/ in postinst — the migration code could collide with other trafficmon-named packages on the same router. Postinst no longer touches the old directory; existing installations should migrate manually if needed.

CI hardening

  • New OpenWrt SDK feed-install regression test (×3 SDK versions) reproduces the user-facing path that issue #7 was about.
  • New upgrade test (×2 SDK versions) installs the previous release, marks the config, installs the new build, and asserts the marker survives.
  • New dependency test (×3 versions) verifies that missing deps fail cleanly and that opkg update / apk update resolves them.
  • APK signing migrated from RSA to NIST P-256 (EC) keys — matches what apk-tools v3 actually requires.
  • snapshot/x86-64 compat job now tolerates upstream rpcd-mod-luci / rpcd-mod-ucode post-install hook noise that doesn't affect our package.
  • Full compatibility matrix is 61/61 green across OpenWrt 21.02 → snapshot × 8 architectures.

Installation

File OpenWrt Install command
luci-app-trafficctl.ipk 21.02 – 24.10 opkg install <file>
luci-app-trafficctl.apk 25.12+ apk add --allow-untrusted <file>

Stable URLs (always point to the latest release):

wget https://github.com/YusDyr/luci-app-trafficctl/releases/latest/download/luci-app-trafficctl.ipk
wget https://github.com/YusDyr/luci-app-trafficctl/releases/latest/download/luci-app-trafficctl.apk

Upgrading from v1.5.0 / v1.6.5

opkg upgrade luci-app-trafficctl (or apk upgrade) works in place — your /etc/config/trafficctl is preserved. No feature additions vs v1.5.0; this release exists to make the feed-install path documented in the README actually work.

Full Changelog: v1.6.5...v1.6.6