Files
pay-respects/CHANGELOG.md
2025-08-26 18:42:01 +02:00

9.3 KiB

Changelog

All notable changes to components of this project since 0.5.14 will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

0.7.9 - 2025-08-26

Changed

  • Install command is now explicit
  • Nix and Guix: Default installation for missing commands changed to shell
  • Nix: Adding nix-search as package query tool in addition to nix-index

0.7.8 - 2025-06-12

Fixed

  • Nix: Shell install via nix-shell

0.7.7 - 2025-06-11

Added

  • Configuration file, allowing to customize some parameters
    • (Nix/Guix): Installation method as shell, without installing to system profile
    • Option for let the working shell be responsible for the suggestions

Changed

  • Terminal environment variable for locales now has higher priority than system locales (MacOS or Windows that have different locales between system and LANG)

Fixed

  • MacOS: Fixed arguments not available in MacOS

0.7.6 - 2025-04-22

Added

  • Compile-time variable to specify package manager (to be set by each distribution)
  • Rules for size and brew
  • General rule parsing for runtime-rules

Changed

  • Re-enabled filtering when selecting candidate (jk does not work as Vim mode is also enabled)
    • Workaround to move terminal cursor away from last line (cannot hide as inquire controls the cursor)

Fixed

  • Fixed panics for commands starting with a character more than 1 byte
  • Fish: Don't run CNF mode recursively (in case that user's config does not have an early return in non-interactive session)

0.7.5 - 2025-04-10

Fixed

  • Multi-line suggestions are run multiple times in the last release instead of adding to history

0.7.4 - 2025-04-10 [YANKED]

Added

  • Adding executed commands to history for Bash, Zsh, and Fish

Fixed

  • PowerShell's init wasn't executing returned commands to be evaluated

0.7.3 - 2025-04-09

Added

  • Regex support for conditions matching
    • , cannot be used though

Changed

  • Using Damerau variation for string comparison

Fixed

  • Panics in core and runtime-rules module
  • Removed duplicated characters in stream output

Removed

  • exe_contains rule as it can be done with regex

0.7.2 - 2025-04-08

Added

  • Streaming output support for AI module
    • Wasn't easy as my brain is pretty much dead at the time of writing
  • guix support in package installation by gs-101

Fixed

Removed

  • No longer depends on libcurl. Now using rustls

0.7.1 - 2025-04-06

Added

  • Support reasoning AI models (can take more than 20 seconds)
  • Allow adding additional prompts for role-playing with perversion or whatever
  • exe_contains condition to check if the command contains the argument

Fixed

  • Parsing command environment variables (e.g. LANG=ja_JP.UTF-8 pacman will work as intended)
  • Not getting command-not-found's output as it goes into stderr

0.7.0 - 2025-04-05

Breaking

  • Manual aliasing no longer supported

Added

  • noconfirm mode: Run suggestions without confirmation
  • Suggestion tests

Fixed

  • PowerShell's initialization for versions that does not support Get-Error

Changed

  • Reimplemented initialization with templates

0.6.14 - 2025-03-13

Added

  • Nushell: Added alias support
    • Also allows arbitrary shell to provide support
  • echo mode: Only print suggestion

Fixed

  • No longer having newlines when expanding alias

Changed

  • (Windows) Separator for _PR_LIB has changed to ; by codyduong

0.6.13 - 2025-02-12

Changed

  • CI binaries now use statically linked musl library
  • Multi-suggest format changed to unordered bullet list
  • Single suggests merged into multi-suggest

0.6.12 - 2025-01-26

Fixed

Changed

  • Executables environment variable passed to modules is now limited to 100k characters
  • Changed the format for multi-suggest

0.6.11 - 2025-01-18

Fixed

  • No longer panics when interrupting multi-suggest
  • Bash & Zsh: Reverted function based initialization to alias

0.6.10 - 2025-01-07

Fixed

  • Wrong starting distance when including all candidates
  • Spacings for opt placeholder

Changed

  • Merged exes placeholder of last version into new select placeholder

0.6.9 - 2025-01-06

Added

  • Include all candidates with the same distances for executable typos

Changed

  • Running standard modules in a separated thread
  • Bash init: use fc instead of history

0.6.8 - 2025-01-02

Fixed

  • Broken rule for git in the last version

Removed

  • Removed binary files from history. Hash of all relevant commits will change

0.6.7 - 2024-12-31

Fixed

  • No longer running get_error in CNF mode (makes PowerShell hang with recursive calls)
  • Not showing sudo in successive suggestions (although they were applied)

Changed

  • Licenses for libraries changed to MPL-2.0 from AGPL-3.0

0.6.6 - 2024-12-18

Added

  • RPM packaging

Fixed

  • Panic on sudo input command

0.6.5 - 2024-12-13

Added

  • AI module: Show raw body on parse failure (sometime the AI forgets a bracket)

Fixed

  • Not getting stderr from command-not-found

0.6.4 - 2024-12-12

Added

  • Flakes install in nix
  • Override package manager using _PR_PACKAGE_MANAGER
  • AI module:
    • Allow multiple suggestions
    • More default values

Changed

  • Compile-time _PR_LIB changed to _DEF_PR_LIB to be explicit

0.6.3 - 2024-12-11

Added

  • FHS 3.0 compliance: Compile-time and runtime environment variable _PR_LIB specifying lib directories for storing modules, separated by :
    • Search in PATH if not provided

0.6.2 - 2024-12-10

Added

  • Aliases matching to command-not-found
  • Relative path command fixes
    • Does not work in bash and zsh: Not considered a command

Changed

  • BREAKING: Executable list passed to modules is now a space instead of a comma ,
  • Skip privilege elevation for nix

0.6.1 - 2024-12-09

Added

  • Custom priority for modules

Changed

  • --nocnf option in docs wasn't the same as in the code --noncf. They are normalized to --nocnf

0.6.0 - 2024-12-08

Added

  • Modular system
  • Package manager integration for apt (also snap and pkg via command-not-found), dnf, portage, nix, yum
  • Adding aliases to executable match

Changed

  • Heavy project refactoring
  • runtime-rules and request-ai are now modules instead of features

0.5.15 - 2024-12-07

Added

  • PowerShell support by artiga033
  • MSYS2 fix by mokurin000
  • Command not found mode: Run pay-respects automatically by shell
    • Suggest command if a good match is found
    • If no good match is found, search if package manager (pacman only) has a binary with the same name and prompt to install
  • Multiple suggestions

Changed

  • Major project refactoring
  • Default request-AI API
  • i18n updates

0.5.14 - 2024-11-23

History start.