Repository navigation
Release v14.3.9
Two new comprehensive rules help monitor native bridge performance by requiring the @MethodChannelInstrumented annotation on channel classes and ensuring those calls are wrapped in timing helpers like noteIfSlow. log
Added
- New rule:
require_method_channel_instrumented— flags classes that callMethodChannel.invokeMethod/invokeListMethod/invokeMapMethodwithout a@MethodChannelInstrumentedannotation, one diagnostic per class. Quick fix inserts the annotation. Comprehensive tier. - New rule:
prefer_method_channel_note_if_slow— flags bare invoke-method calls inside@MethodChannelInstrumentedclasses that are not wrapped innoteIfSlowor an equivalent timing helper. Comprehensive tier.
Maintenance
- Fix: rule packs UI in self-package — the Config Dashboard's "Enable all" and individual pack toggles produced misleading toasts ("already enabled" / "could not write") when the workspace is the saropa_lints package itself. The extension now detects the self-package via
name: saropa_lintsin pubspec, treats the implicit plugin load as configured, and creates aplugins: saropa_lints:block when no anchor exists forrule_packswrites. - CI: full clone for test job — the
health_history_testneeds git tags; shallow CI clones lacked them. Changed tofetch-depth: 0(full clone) so tags and history are always available. - Security: fix 3 Dependabot alerts — upgraded
shell-quote1.8.4 → 1.10.0 (quadratic DoS inparse()), replaced abandonednpm-run-allwith maintainednpm-run-all2@8, and overrodebrace-expansionto patched versions (exponential DoS). All dev-only dependencies. - Dependabot: grouped weekly schedule — added
.github/dependabot.ymlto batch all extension npm security updates into a single weekly PR (Mondays) instead of one PR per alert. - i18n engine: NLLB → Qwen — the extension's machine-translation pipeline now uses Qwen 3 via local Ollama as the primary engine, with Google Translate as the per-string fallback. NLLB is deprecated; existing NLLB-provenance translations are treated as low-quality and re-translated on the next
--mode upgraderun. No user action required.