Skip to content

Releases: Rakosn1cek/mend

v0.8.4 - Early mutation typo fix

Choose a tag to compare

@Rakosn1cek Rakosn1cek released this 21 May 07:08

[0.8.4] - 2026-05-21

Fixed

  • Optimised shell history matching pool logic within functions/history to resolve early mutation typos (e.g., ccd instead of cd). Implemented a deterministic single-character prefix filter that preserves argument matching inside trailing directories while preventing wide-pool history pollution from unrelated commands.

Known Issue

  • Mend will not be able to match a typo and suggest fix if it happens at the very first character. This is a sacrifice that has been well thought through during testing to limit unrelated outputs in the fuzzy-search.

Full Changelog: v0.8.3...v0.8.4

v0.8.3: Git Deployment Wizard & History Assistant Rewrite

Choose a tag to compare

@Rakosn1cek Rakosn1cek released this 18 May 21:53

[0.8.3] - 2026-05-18

Added

  • New interactive deployment module (mend -git) featuring a fully non-destructive fzf TUI for repository initialization, remote tracking layout configuration, commit compilation, and annotated release tagging.
  • Automated next-point release version prediction inside the Git deployment tag selection stream.
  • Comprehensive user documentation entries for the Git deployment tool inside the README usage and help systems.

Fixed

  • Re-architected the history assistant (mend -h) to eliminate duplicate suggestion entries by dropping parallel array appending loops.
  • Replaced strict fuzzy query locking with a lightweight two-character prefix constraint, dropping background command noise while resolving hidden match bugs for directory path and package manager typos.
  • Corrected terminal buffer flooding and Zsh 1-index subscript failures within the proximity sorting pipeline.
  • Resolved execution path calculation failures across standard desktop workspaces by dynamically targeting context layout blocks inside the master wrapper.

Full Changelog: v0.8.2...v0.8.3

v0.8.2: Fix to mend -h function and database expanded

Choose a tag to compare

@Rakosn1cek Rakosn1cek released this 14 May 08:41

[0.8.2] - 2026-05-14

Added

  • Expanded hardware.db with legacy support for NVIDIA NVS 3100M and Intel 5 Series chipset components.
  • Added mapping for Intel Centrino Advanced-N 6200 wireless and 82577LM Gigabit networking.

Fixed

  • Function mend -h has been fixed and is fully working. It still depends on history to find the correct string/command.

Full Changelog: v0.8.1...v0.8.2

v0.8.1: AUR support and hardware expansion"

Choose a tag to compare

@Rakosn1cek Rakosn1cek released this 11 May 10:26

[0.8.1] - 2026-05-11

Added

  • AUR Integration: Formal support for zsh-mend-git package installation.
  • Hardware Expansion: Added new mappings for Realtek Wi-Fi 6 (rtw89), NVIDIA 3070 Mobile, and Renesas USB controllers to hardware.db.
  • Path Validation: Added a safety check for $HISTFILE presence to prevent errors during history purging

Fixed

  • Path Portability: Migrated all internal logic from hardcoded home directory paths to dynamic $MEND_DIR and $MEND_DATA_DIR variables.
  • Environment Visibility: Implemented variable exporting in the plugin entry point to ensure sourced sub-modules inherit the correct data paths.
  • System Path Fallback: Added logic to automatically detect and use /usr/share/zsh/plugins/mend/ when running as a system-wide package.

Changed

  • Plugin Structure: Removed legacy rtfm bridge and default fix alias to allow for cleaner system-level integration and user customisation.
  • Refined Dependencies: Updated requirements to include pciutils and util-linux for better reliability on minimal installations.

Full Changelog: v0.8.0...v0.8.1

0.8.0: Hardware scanning and multi-distro support

Choose a tag to compare

@Rakosn1cek Rakosn1cek released this 10 May 22:14

[0.8.0] - 2026-05-10

Added

  • New hardware scanner feature (mend -s).
  • Support for Audio, Ethernet, and USB/Bluetooth controllers.
  • Mapping logic for pacman, apt, dnf, and zypper.
  • Expanded hardware.db with Intel, AMD, and Realtek IDs.

Changed

  • Updated lspci filtering to include a wider range of essential hardware.
  • Refined fzf interface for better package previews.

Full Changelog: v0.7.0...v0.8.0

v0.7.0: Smarter history search and automatic typo cleanup

Choose a tag to compare

@Rakosn1cek Rakosn1cek released this 14 Apr 12:14

[0.7.0] - 2026-04-14

Added

  • New mend -h flag to trigger an interactive history-based correction mode.
  • Automatic history purging: selecting a correction now removes all instances of that specific typo from the Zsh history file and internal buffer.
  • Integrated fzf scoring with a specific history scheme to better rank long command strings and complex arguments.

Improved

  • Refactored history search to use a prefix-based fuzzy match, significantly reducing noise from unrelated commands.
  • Optimised history handling for large files (20,000+ entries) by using native Zsh buffer management.
  • Enhanced typo detection by utilising the full string length for weighted ranking in the suggestion menu.

Fixed

  • Resolved an issue where repeated typos would persist in the history list even after being corrected.
  • Fixed a bug causing history inflation when syncing buffers across multiple terminal sessions.
  • Corrected a scoring scheme error in fzf to ensure compatibility with standard Arch Linux installations.

Full Changelog: v0.6.0...v0.7.0

v0.6.0 The Cross-Distro Expansion

Choose a tag to compare

@Rakosn1cek Rakosn1cek released this 06 Apr 22:45

[v0.6.0] - 2026-04-06

Added

  • Distro-Agnostic Core: Full rewrite to support Arch (pacman), openSUSE (zypper), Fedora (dnf), and Ubuntu/Mint (apt).
  • Dynamic Driver Setup: Automatic package manager detection and path mapping for locks, queries, and installs.
  • Unified Knowledge Base: Migrated error descriptions and Wiki links into a modular MEND_KB associative array for all supported distributions.
  • Agnostic Library Search: New provider extraction logic that handles different table formats across apt-file, zypper, and dnf repoquery.
  • The Janitor (Multi-Distro): Added orphan cleanup support for apt autoremove, dnf autoremove, and zypper packages --unneeded.

Fixed

  • Table Parsing: Implemented robust header-skipping and column-index logic to handle padded output from Zypper and DNF.
  • Clean Selection: Added xargs and Zsh parameter stripping to ensure package names are passed to the installer without accidental spaces or colons.

Changed

  • Documentation: Simplified the README to focus on readable instructions and universal requirements.

Full Changelog: v0.5.0...v0.6.0

v0.5.0 Shared Library Restoration & Version Fallback

Choose a tag to compare

@Rakosn1cek Rakosn1cek released this 27 Mar 22:27

[v0.5.0] - 2026-03-27

Added

  • Shared Library Repair: New detection engine for error while loading shared libraries.
  • Intelligent Version Fallback: Implemented automatic base-name searching (e.g., libalpm.so.13 → libalpm.so) to resolve rolling-release version increments.
  • Physical File Verification: Added a pre-search check for files in /usr/lib/ and /lib/ to confirm a library is truly missing before suggesting repairs.
  • Database Age Nudge: Integrated a check for pacman -Fy database metadata. Mend now warns if the sync database is missing or older than 7 days.
  • Arch Wiki Shortcut: Added [w] keybinding to the library provider menu, linking directly to System Maintenance documentation.

Fixed

  • Search Noise: Filtered out "private" bundled libraries (e.g., /opt/teamspeak3/) by prioritising system-wide library paths in the provider search.
  • String Parsing: Replaced brittle awk/sed pipes with native Zsh parameter expansion for safer package name extraction.
  • FZF Preview: Corrected the preview command to ensure pacman -Si always receives a clean package name string.

Changed

  • Internal Logic: Optimised the library search to use a single while loop with internal Zsh splitting, reducing subshell overhead.
  • README: Migrated full version history to CHANGELOG.md and streamlined the main documentation for better readability.

Full Changelog: v0.4.0...v0.5.0

v0.4.0 - Arch Wiki Deep-Linking & KB Engine

Choose a tag to compare

@Rakosn1cek Rakosn1cek released this 22 Mar 22:39

The KB Engine Update

Mend v0.4.0 introduces a centralised Knowledge Base (MEND_KB) and deep-linking to the Arch Wiki, bridging the gap between terminal failures and official documentation.

Key Highlights:

  • Wiki Integration: Instant access to troubleshooting guides via the [w] key during any fix prompt.
  • KB Engine: Unified metadata handling for Database Locks, PGP verification, and Mirror failures.
  • TUI Stability: Solved the long-standing "double-print" bug by normalizing terminal buffers and process backgrounding.
  • Refined Logic: High-performance Zsh string expansion and isolated variable scoping for multi-error scenarios.

Mend v0.4.0 is now the standard for proactive Arch Linux command recovery.

Full Changelog: v0.3.0...v0.4.0

v0.3.0 - The Janitor & Detective Update

Choose a tag to compare

@Rakosn1cek Rakosn1cek released this 19 Mar 00:14

v0.3.0: Smart Cleanup & Deep Detection

This release moves Mend beyond simple error fixing and into proactive system maintenance.

Key Highlights:

  • Orphan Cleanup: Mend now identifies unused dependencies after you uninstall packages and offers to sweep them away.
  • Mirrorlist Health: If your internet or mirrors fail during a sync, Mend can now trigger reflector to find the fastest mirrors automatically.
  • Smarter Scanning: New recursive logic allows Mend to find errors even if they are buried under dozens of lines of terminal "noise."
  • Ghost-Window Fix: Fixed the annoying issue where an empty FZF window would appear after a successful command.

New Optional Dependency:

  • reflector: Required if you want to use the automated mirrorlist refresh feature.

Ownership & License:

  • Added a formal metadata header to the source to establish project ownership and MIT licensing.

Full Changelog: v0.2.1...v0.3.0