pay-respects/CHANGELOG.md

294 lines
7.4 KiB
Markdown
Raw Normal View History

2024-12-07 16:53:29 +01:00
# 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](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
2024-12-11 16:22:52 +01:00
## [Unreleased]
2025-04-08 20:57:41 +02:00
2025-04-10 17:48:59 +02:00
## [0.7.4] - 2025-04-10
2025-04-10 17:11:08 +02:00
### Added
- Adding executed commands to history for Bash, Zsh, and Fish
### Fixed
- PowerShell's init wasn't executing returned commands to be evaluated
2025-04-09 19:15:05 +02:00
## [0.7.3] - 2025-04-09
2025-04-09 17:36:35 +02:00
### Added
- Regex support for conditions matching
- `,` cannot be used though
### Changed
- Using Damerau variation for string comparison
2025-04-09 19:01:30 +02:00
### Fixed
- Panics in core and runtime-rules module
- Removed duplicated characters in stream output
2025-04-09 17:36:35 +02:00
### Removed
- `exe_contains` rule as it can be done with regex
2025-04-08 20:59:39 +02:00
## [0.7.2] - 2025-04-08
2025-04-08 20:57:41 +02:00
### 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](https://github.com/iffse/pay-respects/pull/44)
### Fixed
- Redundant packages from `nix-index` by [SigmaSquadron](https://github.com/iffse/pay-respects/pull/45)
2024-12-11 16:22:52 +01:00
2025-04-08 21:07:21 +02:00
### Removed
2025-04-10 17:11:08 +02:00
- No longer depends on `libcurl`. Now using `rustls`
2025-04-08 21:07:21 +02:00
2025-04-06 18:02:31 +02:00
## [0.7.1] - 2025-04-06
2025-04-06 16:58:52 +02:00
### Added
2025-04-06 17:53:27 +02:00
- Support reasoning AI models (can take more than 20 seconds)
- Allow adding additional prompts for role-playing with perversion or whatever
2025-04-06 16:58:52 +02:00
- `exe_contains` condition to check if the command contains the argument
2025-04-06 16:14:31 +02:00
### Fixed
- Parsing command environment variables (e.g. `LANG=ja_JP.UTF-8 pacman` will work as intended)
2025-04-06 16:14:31 +02:00
- Not getting `command-not-found`'s output as it goes into `stderr`
2025-04-05 19:50:39 +02:00
## [0.7.0] - 2025-04-05
2025-04-05 19:25:37 +02:00
### 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
2025-03-13 21:39:15 +01:00
## [0.6.14] - 2025-03-13
2025-03-13 21:13:30 +01:00
### Added
- Nushell: Added alias support
- Also allows arbitrary shell to provide support
2025-03-13 21:33:13 +01:00
- `echo` mode: Only print suggestion
2025-03-13 21:13:30 +01:00
### Fixed
- No longer having newlines when expanding alias
### Changed
- (Windows) Separator for `_PR_LIB` has changed to `;` by [codyduong](https://github.com/iffse/pay-respects/pull/37)
2025-02-12 17:30:16 +01:00
## [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
2025-01-26 18:51:50 +01:00
## [0.6.12] - 2025-01-26
2025-01-26 18:46:53 +01:00
### Fixed
- `nix-index` panic by [jakobhellermann](https://github.com/iffse/pay-respects/pull/31)
### Changed
- Executables environment variable passed to modules is now limited to 100k characters
- Changed the format for multi-suggest
2025-01-26 18:51:50 +01:00
## [0.6.11] - 2025-01-18
2025-01-18 11:17:38 +01:00
2025-01-07 11:47:16 +01:00
### Fixed
- No longer panics when interrupting multi-suggest
2025-01-18 11:17:38 +01:00
- Bash & Zsh: Reverted function based initialization to alias
2025-01-07 11:47:16 +01:00
2025-01-07 01:59:43 +01:00
## [0.6.10] - 2025-01-07
2025-01-07 01:16:54 +01:00
### Fixed
- Wrong starting distance when including all candidates
- Spacings for `opt` placeholder
2025-01-07 01:52:35 +01:00
### Changed
- Merged `exes` placeholder of last version into new `select` placeholder
2025-01-06 16:27:25 +01:00
## [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
2025-01-06 13:35:19 +01:00
- Bash init: use `fc` instead of history
2025-01-02 16:32:06 +01:00
## [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
2024-12-31 15:23:52 +01:00
### 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
2025-01-02 16:32:06 +01:00
## [0.6.6] - 2024-12-18
2024-12-18 00:14:14 +01:00
### Added
- RPM packaging
### Fixed
- Panic on `sudo` input command
2025-01-02 16:32:06 +01:00
## [0.6.5] - 2024-12-13
2024-12-13 12:29:48 +01:00
2024-12-13 12:27:27 +01:00
### Added
- AI module: Show raw body on parse failure (sometime the AI forgets a bracket)
### Fixed
- Not getting `stderr` from command-not-found
2025-01-02 16:32:06 +01:00
## [0.6.4] - 2024-12-12
2024-12-12 16:38:47 +01:00
2024-12-11 16:22:52 +01:00
### Added
- Flakes install in `nix`
- Override package manager using `_PR_PACKAGE_MANAGER`
2024-12-12 16:38:47 +01:00
- AI module:
- Allow multiple suggestions
- More default values
2024-12-12 16:52:11 +01:00
### Changed
2024-12-12 16:38:47 +01:00
- Compile-time `_PR_LIB` changed to `_DEF_PR_LIB` to be explicit
2024-12-11 16:22:52 +01:00
2025-01-02 16:32:06 +01:00
## [0.6.3] - 2024-12-11
2024-12-10 02:33:02 +01:00
### Added
2024-12-10 15:00:55 +01:00
- 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
2024-12-10 02:33:02 +01:00
2024-12-09 16:58:46 +01:00
## [0.6.2] - 2024-12-10
2024-12-09 01:16:27 +01:00
### Added
- Aliases matching to command-not-found
2024-12-09 16:48:17 +01:00
- Relative path command fixes
2024-12-09 17:06:00 +01:00
- Does not work in `bash` and `zsh`: Not considered a command
2024-12-09 01:16:27 +01:00
### Changed
2024-12-09 01:30:17 +01:00
- **BREAKING:** Executable list passed to modules is now a space ` ` instead of a comma `,`
2024-12-09 01:16:27 +01:00
- Skip privilege elevation for `nix`
2024-12-08 22:56:43 +01:00
## [0.6.1] - 2024-12-09
### Added
- Custom priority for modules
2024-12-08 21:20:39 +01:00
### 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
2024-12-08 00:35:21 +01:00
2024-12-08 01:44:41 +01:00
### Added
2024-12-08 00:35:21 +01:00
2024-12-08 16:48:06 +01:00
- Modular system
2024-12-08 21:20:39 +01:00
- Package manager integration for `apt` (also `snap` and `pkg` via `command-not-found`), `dnf`, `portage`, `nix`, `yum`
2024-12-08 09:43:35 +01:00
- Adding aliases to executable match
2024-12-08 00:35:21 +01:00
2024-12-08 16:48:06 +01:00
### Changed
- Heavy project refactoring
- `runtime-rules` and `request-ai` are now modules instead of features
2024-12-08 21:20:39 +01:00
## [0.5.15] - 2024-12-07
2024-12-07 16:53:29 +01:00
### Added
- PowerShell support by [artiga033](https://github.com/iffse/pay-respects/pull/15)
- MSYS2 fix by [mokurin000](https://github.com/iffse/pay-respects/pull/12)
- Command not found mode: Run `pay-respects` automatically by shell
- Suggest command if a good match is found
2024-12-08 11:34:01 +01:00
- If no good match is found, search if package manager (`pacman` only) has a binary with the same name and prompt to install
2024-12-07 16:53:29 +01:00
- Multiple suggestions
### Changed
- Major project refactoring
- Default request-AI API
- i18n updates
2024-12-08 21:20:39 +01:00
## [0.5.14] - 2024-11-23
2024-12-07 16:53:29 +01:00
History start.
2025-04-10 17:48:59 +02:00
[unreleased]: https://github.com/iffse/pay-respects/compare/v0.7.4..HEAD
[0.7.4]: https://github.com/iffse/pay-respects/compare/v0.7.3..v0.7.4
2025-04-09 19:15:05 +02:00
[0.7.3]: https://github.com/iffse/pay-respects/compare/v0.7.2..v0.7.3
2025-04-08 22:12:49 +02:00
[0.7.2]: https://github.com/iffse/pay-respects/compare/v0.7.1..v0.7.2
2025-04-06 18:02:31 +02:00
[0.7.1]: https://github.com/iffse/pay-respects/compare/v0.7.0..v0.7.1
2025-04-05 19:50:39 +02:00
[0.7.0]: https://github.com/iffse/pay-respects/compare/v0.6.14..v0.7.0
2025-03-13 21:39:15 +01:00
[0.6.14]: https://github.com/iffse/pay-respects/compare/v0.6.13..v0.6.14
2025-02-12 17:30:16 +01:00
[0.6.13]: https://github.com/iffse/pay-respects/compare/v0.6.12..v0.6.13
2025-01-26 18:51:50 +01:00
[0.6.12]: https://github.com/iffse/pay-respects/compare/v0.6.11..v0.6.12
2025-01-18 11:17:38 +01:00
[0.6.11]: https://github.com/iffse/pay-respects/compare/v0.6.10..v0.6.11
2025-01-07 01:59:43 +01:00
[0.6.10]: https://github.com/iffse/pay-respects/compare/v0.6.9..v0.6.10
2025-01-06 16:27:25 +01:00
[0.6.9]: https://github.com/iffse/pay-respects/compare/v0.6.8..v0.6.9
[0.6.8]: https://github.com/iffse/pay-respects/compare/v0.6.7..v0.6.8
2024-12-31 15:23:52 +01:00
[0.6.7]: https://github.com/iffse/pay-respects/compare/v0.6.6..v0.6.7
2024-12-18 00:36:40 +01:00
[0.6.6]: https://github.com/iffse/pay-respects/compare/v0.6.5..v0.6.6
2024-12-13 12:29:48 +01:00
[0.6.5]: https://github.com/iffse/pay-respects/compare/v0.6.4..v0.6.5
2024-12-12 17:23:22 +01:00
[0.6.4]: https://github.com/iffse/pay-respects/compare/v0.6.3..v0.6.4
2024-12-10 22:35:18 +01:00
[0.6.3]: https://github.com/iffse/pay-respects/compare/v0.6.2..v0.6.3
2024-12-09 16:58:46 +01:00
[0.6.2]: https://github.com/iffse/pay-respects/compare/v0.6.1..v0.6.2
2024-12-08 22:56:43 +01:00
[0.6.1]: https://github.com/iffse/pay-respects/compare/v0.6.0..v0.6.1
2024-12-08 18:08:08 +01:00
[0.6.0]: https://github.com/iffse/pay-respects/compare/v0.5.15..v0.6.0
2024-12-07 17:59:55 +01:00
[0.5.15]: https://github.com/iffse/pay-respects/compare/v0.5.14..v0.5.15
2024-12-07 16:53:29 +01:00
[0.5.14]: https://github.com/iffse/pay-respects/commits/v0.5.14