zoxide/CHANGELOG.md

497 lines
13 KiB
Markdown
Raw Permalink Normal View History

2021-09-17 19:59:46 +00:00
<!-- markdownlint-disable-file MD024 -->
2020-03-29 23:55:56 +00:00
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
2024-02-20 23:06:08 +00:00
## [0.9.4] - 2024-02-21
2024-02-20 20:15:20 +00:00
### Changed
- zsh: improved Space-Tab completions.
2024-02-12 21:43:22 +00:00
## [0.9.3] - 2024-02-13
### Added
- Nushell: support for v0.89.0.
2023-08-04 02:27:38 +00:00
## [0.9.2] - 2023-08-04
2023-05-08 19:21:26 +00:00
### Added
- Short option `-a` for `zoxide query --all`.
### Fixed
- PowerShell: use `global` scope for variables / functions.
2023-05-07 15:20:21 +00:00
## [0.9.1] - 2023-05-07
2023-01-08 02:21:03 +00:00
### Added
2023-04-14 18:38:16 +00:00
- Fish/Zsh: aliases on `__zoxide_z` will now use completions.
2023-11-19 13:22:15 +00:00
- Nushell: support for v0.78.0.
2023-04-14 18:38:16 +00:00
- Fish: plugin now works on older versions.
- PowerShell: warn when PowerShell version is too old for `z -` and `z +`.
- PowerShell: support for PWD hooks on all versions.
2023-01-08 02:21:03 +00:00
2023-05-06 15:18:19 +00:00
### Fixed
- Fish: not providing `cd` completions when there is a space in the path.
- Bash/Fish/Zsh: providing `z` completions when the last argument starts with `z!`.
- Bash/Fish/Zsh: attempting to `cd` when the last argument is `z!`.
2023-01-07 23:05:54 +00:00
## [0.9.0] - 2023-01-08
2023-01-07 17:28:10 +00:00
### Added
- `edit` subcommand to adjust the scores of entries.
### Fixed
- Zsh: completions clashing with `zsh-autocomplete`.
- Fzf: 'invalid option' on macOS.
- PowerShell: handle UTF-8 encoding correctly.
- Zsh: don't hide output from `chpwd` hooks.
2022-12-08 17:54:43 +00:00
- Nushell: upgrade minimum supported version to v0.73.0.
- Zsh: fix extra space in interactive completions when no match is found.
- Fzf: various improvements, upgrade minimum supported version to v0.33.0.
- Nushell: accidental redefinition of hooks when initialized twice.
2023-01-07 17:28:10 +00:00
### Removed
- `remove -i` subcommand: use `edit` instead.
2022-09-02 09:03:49 +00:00
## [0.8.3] - 2022-09-02
2022-08-12 20:32:43 +00:00
### Added
- Nushell: support for `z -`.
- Nushell: support for PWD hooks.
### Changed
- Fish: change fuzzy completion prefix to `z!`.
- Zsh: allow `z` to navigate dirstack via `+n` and `-n`.
2022-07-27 08:31:14 +00:00
- Fzf: improved preview window.
### Fixed
- Bash: double forward slash in completions.
2022-06-25 19:22:42 +00:00
## [0.8.2] - 2022-06-26
2022-04-26 14:39:17 +00:00
### Changed
- Fzf: show preview window below results.
2022-04-26 14:40:27 +00:00
### Fixed
2023-01-26 17:05:43 +00:00
- Bash/Fish/POSIX/Zsh: paths on Cygwin.
- Fish: completions not working on certain systems.
- Bash: completions not escaping spaces correctly.
2022-04-26 14:40:27 +00:00
2022-04-23 01:09:14 +00:00
## [0.8.1] - 2021-04-23
2021-12-26 20:45:05 +00:00
### Changed
2022-02-25 04:19:45 +00:00
- Manpages: moved to `man/man1/*.1`.
2022-04-10 22:11:51 +00:00
- Replace `--no-aliases` with `--no-cmd`.
2022-04-22 07:41:11 +00:00
- Elvish: upgrade minimum supported version to v0.18.0.
- Nushell: upgrade minimum supported version to v0.61.0.
2021-12-26 20:45:05 +00:00
2021-12-28 18:10:10 +00:00
### Fixed
- Bash/Zsh: rename `_z` completion function to avoid conflicts with other shell
plugins.
- Fzf: added `--keep-right` option by default, upgrade minimum supported version
to v0.21.0.
2022-03-08 05:23:30 +00:00
- Bash: only enable completions on 4.4+.
- Fzf: bypass `ls` alias in preview window.
- Retain ownership of database file.
- `zoxide query --interactive` should not conflict with `--score`.
2021-12-28 18:10:10 +00:00
2021-12-24 22:33:18 +00:00
## [0.8.0] - 2021-12-25
2021-11-10 20:52:23 +00:00
2021-12-05 08:58:31 +00:00
### Added
- Zsh: completions for `z` command.
2021-11-30 21:48:33 +00:00
### Changed
2021-12-05 08:58:31 +00:00
- Fzf: better default options.
- Fish: interactive completions are only triggered when the last argument is
empty.
2021-12-14 19:43:45 +00:00
- PowerShell: installation instructions.
2021-11-30 21:48:33 +00:00
2021-11-10 20:52:23 +00:00
### Fixed
- PowerShell: use global scope for aliases.
2021-11-19 20:22:15 +00:00
- Zsh: fix errors with `set -eu`.
2021-12-05 08:58:31 +00:00
- Fzf: handle early selection.
2021-12-13 06:46:12 +00:00
- PowerShell: correctly handle escape characters in paths.
2021-12-14 19:43:45 +00:00
- Parse error on Cygwin/MSYS due to CRLF line endings.
- Fzf: handle spaces correctly in preview window.
- Bash: avoid initializing completions on older versions.
2021-12-24 09:29:42 +00:00
- Fzf: avoid launching binary from current directory on Windows.
2021-11-10 20:52:23 +00:00
2021-11-01 21:21:08 +00:00
## [0.7.9] - 2021-11-02
2021-10-31 12:03:15 +00:00
### Changed
2021-10-31 14:46:40 +00:00
- Bash/Fish: improved completions for `z` command.
2021-10-31 12:03:15 +00:00
### Fixed
- Fish: error erasing completions on older versions.
2021-10-28 06:38:57 +00:00
- PowerShell: enable `--cmd cd` to replace the `cd` command.
2021-11-01 21:21:08 +00:00
## [0.7.8] - 2021-10-21
2021-10-20 18:31:06 +00:00
2021-10-20 22:23:20 +00:00
### Added
- Auto-generated completions for [Fig](https://fig.io/).
2021-10-20 18:31:06 +00:00
### Fixed
- Compile error with `clap v3.0.0-beta.5`.
2021-10-20 18:31:06 +00:00
2021-10-15 03:01:42 +00:00
## [0.7.7] - 2021-10-15
### Fixed
- PowerShell: hook not initializing correctly.
2021-10-15 03:01:42 +00:00
## [0.7.6] - 2021-10-13
2021-09-17 20:13:59 +00:00
### Changed
- Nushell: upgrade minimum supported version to v0.37.0.
2021-10-05 10:26:04 +00:00
### Fixed
- Xonsh: error messages in `zi`.
- Xonsh: configuration environment variables not being handled correctly.
2021-10-15 03:01:42 +00:00
## [0.7.5] - 2021-09-09
2021-08-23 20:30:34 +00:00
### Added
- Bash/Elvish: completions for `z` command.
2021-08-31 10:59:57 +00:00
### Changed
- Nushell: upgrade minimum supported version to v0.36.0.
- Nushell: easier installation instructions.
2021-08-23 20:30:34 +00:00
### Fixed
- Elvish: unable to `z` into directories by path.
- Elvish: don't show traceback when `z` or `zi` fails.
2021-08-31 10:59:57 +00:00
- Elvish: nested shells do not initialize correctly.
2021-08-23 20:30:34 +00:00
2021-10-15 03:01:42 +00:00
## [0.7.4] - 2021-08-15
2021-08-15 12:05:03 +00:00
### Fixed
- Compile error with `clap v3.0.0-beta.4`.
2021-10-15 03:01:42 +00:00
## [0.7.3] - 2021-08-05
2021-06-30 20:41:46 +00:00
### Added
- `zoxide add` and `zoxide remove` now accept multiple arguments.
2021-06-30 20:41:46 +00:00
### Fixed
- Nushell: errors on 0.33.0.
- PowerShell: errors when initializing in `StrictMode`.
- Bash/POSIX: remove conflicting alias definitions when initializing.
- Bash: remove extra semicolon when setting `$PROMPT_COMMAND`.
- Xonsh: use shell environment instead of `os.environ`.
2021-06-30 20:41:46 +00:00
2021-06-10 03:15:59 +00:00
## [0.7.2] - 2021-06-10
### Fixed
- `zoxide -V` not printing version.
2021-06-09 16:42:37 +00:00
## [0.7.1] - 2021-06-09
2021-05-04 06:15:28 +00:00
### Added
- Auto-generated shell completions.
2021-05-08 03:05:34 +00:00
- `zoxide query --all` for listing deleted directories.
- Lazy deletion for removed directories that have not been accessed in > 90
days.
2021-06-02 21:19:21 +00:00
- Nushell: support for 0.32.0+.
2021-05-04 06:15:28 +00:00
### Fixed
2021-05-18 02:28:16 +00:00
- Nushell: avoid calling `__zoxide_hook` on non-filesystem subshells.
2021-06-02 21:19:21 +00:00
- Fish: `alias cd=z` now works, but it must be done after calling `zoxide init`.
2021-05-18 02:28:16 +00:00
- PowerShell: avoid calling `__zoxide_hook` on non-filesystem providers.
- Fish: avoid calling `__zoxide_hook` in private mode.
2021-05-04 06:15:28 +00:00
2021-05-01 21:56:12 +00:00
## [0.7.0] - 2021-05-02
2021-04-12 20:27:36 +00:00
### Added
- Manpages for all subcommands.
2021-04-27 12:07:38 +00:00
- Default prompt for Nushell.
### Changed
- `zoxide remove -i` now accepts multiple selections.
- `zoxide add` no longer accepts zero parameters.
- `$_ZO_EXCLUDE_DIRS` now defaults to `"$HOME"`.
2021-05-01 21:56:12 +00:00
- Binary releases now use `.zip` on Windows, `.tar.gz` otherwise.
2021-04-12 20:27:36 +00:00
### Fixed
- `cd -` on fish shells.
- `__zoxide_hook` no longer changes value of `$?` within `$PROMPT_COMMAND` on
bash.
2021-04-12 20:27:36 +00:00
2021-05-01 21:56:12 +00:00
### Removed
- GitHub install script.
2021-05-05 23:01:57 +00:00
- Release binaries built with `glibc`, use `musl` instead.
2021-05-01 21:56:12 +00:00
2021-04-08 18:52:07 +00:00
## [0.6.0] - 2021-04-09
2021-01-29 21:36:18 +00:00
2021-03-31 16:45:43 +00:00
### Added
- Support for [Nushell](https://www.nushell.sh/).
2021-04-08 18:35:42 +00:00
- Support for [Elvish](https://elv.sh/).
### Changed
- `z` now excludes the current directory from search results.
2021-03-31 16:45:43 +00:00
2021-01-29 21:36:18 +00:00
### Fixed
2021-03-13 21:34:30 +00:00
- Removed backtraces on Rust nightly.
2021-04-08 18:52:07 +00:00
- Generated shell code avoids using aliased builtins.
2021-01-29 21:36:18 +00:00
- Handle broken pipe errors gracefully when writing to streams.
2021-03-01 06:10:10 +00:00
- NUL file appearing in working directory on Windows.
2021-03-13 21:34:30 +00:00
- Accidental redefinition of hooks when initialized twice on some shells.
2021-03-31 16:45:43 +00:00
- zoxide unable to find itself on Xonsh shells.
2021-03-13 21:34:30 +00:00
### Removed
2021-09-17 19:59:46 +00:00
- Aliases: `za`, `zq`, `zqi`, `zr`, `zri`. These are trivial aliases that can
easily be defined manually, and aren't very useful to most users.
2021-01-29 21:36:18 +00:00
2020-10-30 18:52:09 +00:00
## [0.5.0] - 2020-10-30
2020-08-27 20:04:05 +00:00
### Added
2020-09-15 21:20:58 +00:00
- `$_ZO_EXCLUDE_DIRS` now supports globs.
- `zoxide init` now defines `__zoxide_z*` functions that can be aliased as
needed.
2020-10-30 18:52:09 +00:00
- Support for the [xonsh](https://xon.sh/) shell.
- `zoxide import` can now import from Autojump.
2020-08-27 20:04:05 +00:00
### Changed
- `zoxide init --no-aliases` no longer generates `z` or `zi`.
### Fixed
2020-10-30 18:52:09 +00:00
- Clobber conflicting alias definitions in bash/fish/zsh/POSIX shells.
2020-10-18 09:22:13 +00:00
### Removed
- Deprecated PWD hooks for POSIX shells.
2021-09-17 19:59:46 +00:00
- Lazy deletion for inaccessible directories.
2020-10-18 09:22:13 +00:00
2020-07-04 08:04:10 +00:00
## [0.4.3] - 2020-07-04
### Fixed
- Bug in Fish init script
2020-07-03 18:07:36 +00:00
## [0.4.2] - 2020-07-03
2020-05-27 00:10:55 +00:00
2020-05-29 20:30:38 +00:00
### Added
- `$_ZO_FZF_OPTS` to specify custom options for `fzf`
- `zoxide query --list` to list all matches
- `zoxide query --score` to show score along with result
2020-05-29 20:30:38 +00:00
2020-05-27 00:10:55 +00:00
### Changed
2020-07-03 06:38:29 +00:00
- Increased default value of `$_ZO_MAXAGE` to `10000`.
2021-09-17 19:59:46 +00:00
- Symlinks are treated as separate directories by default, this can be changed
by setting `_ZO_RESOLVE_SYMLINKS=1`.
2020-05-27 00:10:55 +00:00
### Removed
- Help menus for `z` and `zri`.
2020-08-23 21:31:02 +00:00
- `zoxide remove -i` is replaced with `zri`.
2020-05-24 21:25:00 +00:00
## [0.4.1] - 2020-05-25
2020-05-03 19:40:43 +00:00
2020-05-06 06:03:06 +00:00
### Added
2021-03-31 16:45:43 +00:00
- Support for powershell.
2020-05-06 06:03:06 +00:00
2020-05-03 19:40:43 +00:00
### Removed
- Backward compatibility with `v0.2.x` databases.
2020-05-24 21:25:00 +00:00
- Support for paths with invalid UTF-8.
2020-05-03 19:40:43 +00:00
2020-05-03 12:41:35 +00:00
## [0.4.0] - 2020-05-03
2020-04-06 03:11:23 +00:00
### Added
- Interactive mode for removing entries (`zoxide remove -i`).
2020-05-02 11:04:55 +00:00
- Aliases for interactive `query` and `remove` (`zqi` and `zri` respectively).
- PWD hooks for POSIX shells.
2020-04-06 03:11:23 +00:00
### Changed
- `zoxide remove` now throws an error if there was no match in the database.
2021-09-17 19:59:46 +00:00
- Interactive mode in `zoxide` no longer errors out if `fzf` exits gracefully.
- Canonicalize to regular paths instead of UNC paths on Windows.
2020-05-02 11:04:55 +00:00
- `zoxide init` now uses PWD hooks by default for better performance.
- `$_ZO_ECHO` now only works when set to `1`.
2020-05-03 09:45:40 +00:00
- Using the `--z-cmd` flag now also renames the associated aliases.
- The `--z-cmd` flag has been renamed to `--cmd`.
2020-05-03 12:41:35 +00:00
- The `--no-define-aliases` flag has been renamed to `--no-aliases`.
2020-04-06 03:11:23 +00:00
### Fixed
- fish no longer `cd`s to the user's home when no match is found.
2020-04-03 13:14:38 +00:00
## [0.3.1] - 2020-04-03
2020-03-29 23:55:56 +00:00
2020-03-31 21:54:45 +00:00
### Added
- Version output displays `git` revision information.
2020-04-03 13:02:31 +00:00
- `--z-cmd` flag for `zoxide init` to rename the `z` command to something else.
### Changed
2021-09-17 19:59:46 +00:00
- `zoxide query` output no longer has the `query:` prefix.
2020-04-03 13:02:31 +00:00
### Fixed
- Queries now also include checks for if the top level directory matches.
2020-03-31 21:54:45 +00:00
2020-03-29 23:55:56 +00:00
## [0.3.0] - 2020-03-30
### Added
- Automatic migration from `v0.2.x` databases.
2021-09-17 19:59:46 +00:00
- `$_ZO_EXCLUDE_DIRS` to prevent directories from being added to the database.
2020-03-29 23:55:56 +00:00
- Support for POSIX-compliant shells.
### Changed
- Database location defaults to user's local data directory.
- Database schema now includes a version number.
- `migrate` subcommand renamed to `import`.
### Fixed
2021-09-17 19:59:46 +00:00
- Thread safety using unique tempfile names for each `zoxide` instance.
2020-03-29 23:55:56 +00:00
- Incomprehensive "could not allocate" message on database corruption.
## [0.2.2] - 2020-03-20
### Fixed
- Incorrect exit codes in `z` command on fish.
2020-03-29 23:55:56 +00:00
### Removed
- File locks on database.
## [0.2.1] - 2020-03-16
### Added
- `$_ZO_ECHO` to echo match before `cd`ing.
- Minimal `ranger` plugin.
- PWD hook to only update the database when the current directory is changed.
- Support for bash.
2020-03-29 23:55:56 +00:00
- `migrate` subcommand to allow users to migrate from `z`.
### Fixed
- Interactive queries causing other open shells to hang.
## [0.2.0] - 2020-03-11
### Added
- `init` subcommand to remove dependency on shell plugin managers.
- Support for `z -` command to go to previous directory.
- `Cargo.lock` for more reproducible builds.
- Support for the fish shell.
2020-03-29 23:55:56 +00:00
### Fixed
- `_zoxide_precmd` overriding other precmd hooks on zsh.
2020-03-29 23:55:56 +00:00
## [0.1.1] - 2020-03-08
### Added
- Install script for Linux/macOS users.
- Aging algorithm to remove stale entries.
### Changed
- Database schema now uses `f64` values for rank instead of `i32`.
### Fixed
- Multiple hooks being added upon initializing `zoxide` multiple times.
## [0.1.0] - 2020-03-05
### Added
- GitHub Actions pipeline to build and upload releases.
- Support for zsh.
2020-03-29 23:55:56 +00:00
2024-02-20 23:06:08 +00:00
[0.9.4]: https://github.com/ajeetdsouza/zoxide/compare/v0.9.3...v0.9.4
2024-02-12 21:43:22 +00:00
[0.9.3]: https://github.com/ajeetdsouza/zoxide/compare/v0.9.2...v0.9.3
2023-08-04 02:27:38 +00:00
[0.9.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.9.1...v0.9.2
2023-05-07 15:20:21 +00:00
[0.9.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.9.0...v0.9.1
2023-01-07 23:05:54 +00:00
[0.9.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.8.3...v0.9.0
2022-09-02 09:03:49 +00:00
[0.8.3]: https://github.com/ajeetdsouza/zoxide/compare/v0.8.2...v0.8.3
2022-06-25 19:22:42 +00:00
[0.8.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.8.1...v0.8.2
2022-04-23 01:09:14 +00:00
[0.8.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.8.0...v0.8.1
2021-12-24 22:33:18 +00:00
[0.8.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.9...v0.8.0
2021-11-01 21:21:08 +00:00
[0.7.9]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.8...v0.7.9
[0.7.8]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.7...v0.7.8
2021-10-15 03:01:42 +00:00
[0.7.7]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.6...v0.7.7
2021-10-13 10:10:57 +00:00
[0.7.6]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.5...v0.7.6
2021-09-09 14:56:31 +00:00
[0.7.5]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.4...v0.7.5
2021-08-15 12:05:03 +00:00
[0.7.4]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.3...v0.7.4
2021-08-05 13:52:13 +00:00
[0.7.3]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.2...v0.7.3
2021-06-10 03:15:59 +00:00
[0.7.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.1...v0.7.2
2021-06-09 16:42:37 +00:00
[0.7.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.0...v0.7.1
2021-05-01 21:56:12 +00:00
[0.7.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.6.0...v0.7.0
2021-04-08 18:52:07 +00:00
[0.6.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.5.0...v0.6.0
2020-10-30 18:52:09 +00:00
[0.5.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.3...v0.5.0
2020-07-04 08:04:10 +00:00
[0.4.3]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.2...v0.4.3
2020-07-03 18:07:36 +00:00
[0.4.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.1...v0.4.2
2020-05-24 21:25:00 +00:00
[0.4.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.0...v0.4.1
2020-05-03 12:41:35 +00:00
[0.4.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.3.1...v0.4.0
2020-04-03 13:14:38 +00:00
[0.3.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.3.0...v0.3.1
2020-03-29 23:55:56 +00:00
[0.3.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.2.2...v0.3.0
[0.2.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.2.1...v0.2.2
[0.2.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.1.1...v0.2.0
[0.1.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/ajeetdsouza/zoxide/commits/v0.1.0