zoxide/CHANGELOG.md

509 lines
13 KiB
Markdown
Raw Normal View History

2021-09-18 01:29:46 +05:30
<!-- markdownlint-disable-file MD024 -->
2020-03-30 05:25:56 +05:30
# 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-24 04:00:38 +05:30
## Unreleased
### Fixed
- zsh: Space-Tab completion repeating output multiple times when matching single
directory
2024-02-24 04:00:38 +05:30
- fish: detect infinite loop when using `alias cd=z`.
- fish / Nushell / PowerShell: handle queries that look like args (e.g. `z -x`).
- zsh: better cd completions.
- elvish: `z -` now work as expected.
- Lazily delete excluded directories from the database.
2024-02-24 04:00:38 +05:30
2024-02-21 04:36:08 +05:30
## [0.9.4] - 2024-02-21
2024-02-21 01:45:20 +05:30
### Changed
- zsh: improved Space-Tab completions.
2024-02-13 03:13:22 +05:30
## [0.9.3] - 2024-02-13
### Added
- Nushell: support for v0.89.0.
2023-08-04 07:57:38 +05:30
## [0.9.2] - 2023-08-04
2023-05-09 00:51:26 +05:30
### Added
- Short option `-a` for `zoxide query --all`.
### Fixed
- PowerShell: use `global` scope for variables / functions.
2023-05-07 20:50:21 +05:30
## [0.9.1] - 2023-05-07
2023-01-08 07:51:03 +05:30
### Added
2023-04-15 00:08:16 +05:30
- Fish/Zsh: aliases on `__zoxide_z` will now use completions.
2023-11-19 18:52:15 +05:30
- Nushell: support for v0.78.0.
2023-04-15 00:08:16 +05:30
- 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 07:51:03 +05:30
2023-05-06 20:48:19 +05:30
### 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-08 04:35:54 +05:30
## [0.9.0] - 2023-01-08
2023-01-07 22:58:10 +05:30
### 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 23:24:43 +05:30
- 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 22:58:10 +05:30
### Removed
- `remove -i` subcommand: use `edit` instead.
2022-09-02 14:33:49 +05:30
## [0.8.3] - 2022-09-02
2022-08-13 02:02:43 +05:30
### 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 14:01:14 +05:30
- Fzf: improved preview window.
### Fixed
- Bash: double forward slash in completions.
2022-06-26 00:52:42 +05:30
## [0.8.2] - 2022-06-26
2022-04-26 20:09:17 +05:30
### Changed
- Fzf: show preview window below results.
2022-04-26 20:10:27 +05:30
### Fixed
2023-01-26 22:35:43 +05:30
- Bash/Fish/POSIX/Zsh: paths on Cygwin.
- Fish: completions not working on certain systems.
- Bash: completions not escaping spaces correctly.
2022-04-26 20:10:27 +05:30
2022-04-23 06:39:14 +05:30
## [0.8.1] - 2021-04-23
2021-12-27 02:15:05 +05:30
### Changed
2022-02-25 09:49:45 +05:30
- Manpages: moved to `man/man1/*.1`.
2022-04-11 03:41:51 +05:30
- Replace `--no-aliases` with `--no-cmd`.
2022-04-22 13:11:11 +05:30
- Elvish: upgrade minimum supported version to v0.18.0.
- Nushell: upgrade minimum supported version to v0.61.0.
2021-12-27 02:15:05 +05:30
2021-12-28 23:40:10 +05:30
### 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 10:53:30 +05:30
- 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 23:40:10 +05:30
2021-12-25 04:03:18 +05:30
## [0.8.0] - 2021-12-25
2021-11-11 02:22:23 +05:30
2021-12-05 14:28:31 +05:30
### Added
- Zsh: completions for `z` command.
2021-12-01 03:18:33 +05:30
### Changed
2021-12-05 14:28:31 +05:30
- Fzf: better default options.
- Fish: interactive completions are only triggered when the last argument is
empty.
2021-12-15 01:13:45 +05:30
- PowerShell: installation instructions.
2021-12-01 03:18:33 +05:30
2021-11-11 02:22:23 +05:30
### Fixed
- PowerShell: use global scope for aliases.
2021-11-20 07:22:15 +11:00
- Zsh: fix errors with `set -eu`.
2021-12-05 14:28:31 +05:30
- Fzf: handle early selection.
2021-12-13 12:16:12 +05:30
- PowerShell: correctly handle escape characters in paths.
2021-12-15 01:13:45 +05:30
- 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 14:59:42 +05:30
- Fzf: avoid launching binary from current directory on Windows.
2021-11-11 02:22:23 +05:30
2021-11-02 02:51:08 +05:30
## [0.7.9] - 2021-11-02
2021-10-31 17:33:15 +05:30
### Changed
2021-10-31 20:16:40 +05:30
- Bash/Fish: improved completions for `z` command.
2021-10-31 17:33:15 +05:30
### Fixed
- Fish: error erasing completions on older versions.
2021-10-28 12:08:57 +05:30
- PowerShell: enable `--cmd cd` to replace the `cd` command.
2021-11-02 02:51:08 +05:30
## [0.7.8] - 2021-10-21
2021-10-21 00:01:06 +05:30
2021-10-21 03:53:20 +05:30
### Added
- Auto-generated completions for [Fig](https://fig.io/).
2021-10-21 00:01:06 +05:30
### Fixed
- Compile error with `clap v3.0.0-beta.5`.
2021-10-21 00:01:06 +05:30
2021-10-15 08:31:42 +05:30
## [0.7.7] - 2021-10-15
### Fixed
- PowerShell: hook not initializing correctly.
2021-10-15 08:31:42 +05:30
## [0.7.6] - 2021-10-13
2021-09-18 01:43:59 +05:30
### Changed
- Nushell: upgrade minimum supported version to v0.37.0.
2021-10-05 15:56:04 +05:30
### Fixed
- Xonsh: error messages in `zi`.
- Xonsh: configuration environment variables not being handled correctly.
2021-10-15 08:31:42 +05:30
## [0.7.5] - 2021-09-09
2021-08-24 02:00:34 +05:30
### Added
- Bash/Elvish: completions for `z` command.
2021-08-31 16:29:57 +05:30
### Changed
- Nushell: upgrade minimum supported version to v0.36.0.
- Nushell: easier installation instructions.
2021-08-24 02:00:34 +05:30
### Fixed
- Elvish: unable to `z` into directories by path.
- Elvish: don't show traceback when `z` or `zi` fails.
2021-08-31 16:29:57 +05:30
- Elvish: nested shells do not initialize correctly.
2021-08-24 02:00:34 +05:30
2021-10-15 08:31:42 +05:30
## [0.7.4] - 2021-08-15
2021-08-15 17:35:03 +05:30
### Fixed
- Compile error with `clap v3.0.0-beta.4`.
2021-10-15 08:31:42 +05:30
## [0.7.3] - 2021-08-05
2021-07-01 02:11:46 +05:30
### Added
- `zoxide add` and `zoxide remove` now accept multiple arguments.
2021-07-01 02:11:46 +05:30
### 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-07-01 02:11:46 +05:30
2021-06-10 08:45:59 +05:30
## [0.7.2] - 2021-06-10
### Fixed
- `zoxide -V` not printing version.
2021-06-09 22:12:37 +05:30
## [0.7.1] - 2021-06-09
2021-05-04 11:45:28 +05:30
### Added
- Auto-generated shell completions.
2021-05-08 08:35:34 +05:30
- `zoxide query --all` for listing deleted directories.
- Lazy deletion for removed directories that have not been accessed in > 90
days.
2021-06-03 02:49:21 +05:30
- Nushell: support for 0.32.0+.
2021-05-04 11:45:28 +05:30
### Fixed
2021-05-18 07:58:16 +05:30
- Nushell: avoid calling `__zoxide_hook` on non-filesystem subshells.
2021-06-03 02:49:21 +05:30
- Fish: `alias cd=z` now works, but it must be done after calling `zoxide init`.
2021-05-18 07:58:16 +05:30
- PowerShell: avoid calling `__zoxide_hook` on non-filesystem providers.
- Fish: avoid calling `__zoxide_hook` in private mode.
2021-05-04 11:45:28 +05:30
2021-05-02 03:26:12 +05:30
## [0.7.0] - 2021-05-02
2021-04-13 01:57:36 +05:30
### Added
- Manpages for all subcommands.
2021-04-27 17:37:38 +05:30
- 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-02 03:26:12 +05:30
- Binary releases now use `.zip` on Windows, `.tar.gz` otherwise.
2021-04-13 01:57:36 +05:30
### Fixed
- `cd -` on fish shells.
- `__zoxide_hook` no longer changes value of `$?` within `$PROMPT_COMMAND` on
bash.
2021-04-13 01:57:36 +05:30
2021-05-02 03:26:12 +05:30
### Removed
- GitHub install script.
2021-05-06 04:31:57 +05:30
- Release binaries built with `glibc`, use `musl` instead.
2021-05-02 03:26:12 +05:30
2021-04-09 00:22:07 +05:30
## [0.6.0] - 2021-04-09
2021-01-30 03:06:18 +05:30
2021-03-31 22:15:43 +05:30
### Added
- Support for [Nushell](https://www.nushell.sh/).
2021-04-09 00:05:42 +05:30
- Support for [Elvish](https://elv.sh/).
### Changed
- `z` now excludes the current directory from search results.
2021-03-31 22:15:43 +05:30
2021-01-30 03:06:18 +05:30
### Fixed
2021-03-14 03:04:30 +05:30
- Removed backtraces on Rust nightly.
2021-04-09 00:22:07 +05:30
- Generated shell code avoids using aliased builtins.
2021-01-30 03:06:18 +05:30
- Handle broken pipe errors gracefully when writing to streams.
2021-03-01 11:40:10 +05:30
- NUL file appearing in working directory on Windows.
2021-03-14 03:04:30 +05:30
- Accidental redefinition of hooks when initialized twice on some shells.
2021-03-31 22:15:43 +05:30
- zoxide unable to find itself on Xonsh shells.
2021-03-14 03:04:30 +05:30
### Removed
2021-09-18 01:29:46 +05:30
- 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-30 03:06:18 +05:30
2020-10-31 00:22:09 +05:30
## [0.5.0] - 2020-10-30
2020-08-28 01:34:05 +05:30
### Added
2020-09-16 02:50:58 +05:30
- `$_ZO_EXCLUDE_DIRS` now supports globs.
- `zoxide init` now defines `__zoxide_z*` functions that can be aliased as
needed.
2020-10-31 00:22:09 +05:30
- Support for the [xonsh](https://xon.sh/) shell.
- `zoxide import` can now import from Autojump.
2020-08-28 01:34:05 +05:30
### Changed
- `zoxide init --no-aliases` no longer generates `z` or `zi`.
### Fixed
2020-10-31 00:22:09 +05:30
- Clobber conflicting alias definitions in bash/fish/zsh/POSIX shells.
2020-10-18 14:52:13 +05:30
### Removed
- Deprecated PWD hooks for POSIX shells.
2021-09-18 01:29:46 +05:30
- Lazy deletion for inaccessible directories.
2020-10-18 14:52:13 +05:30
2020-07-04 13:34:10 +05:30
## [0.4.3] - 2020-07-04
### Fixed
- Bug in Fish init script
2020-07-03 23:37:36 +05:30
## [0.4.2] - 2020-07-03
2020-05-27 05:40:55 +05:30
2020-05-30 02:00:38 +05:30
### 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-30 02:00:38 +05:30
2020-05-27 05:40:55 +05:30
### Changed
2020-07-03 12:08:29 +05:30
- Increased default value of `$_ZO_MAXAGE` to `10000`.
2021-09-18 01:29:46 +05:30
- Symlinks are treated as separate directories by default, this can be changed
by setting `_ZO_RESOLVE_SYMLINKS=1`.
2020-05-27 05:40:55 +05:30
### Removed
- Help menus for `z` and `zri`.
2020-08-24 03:01:02 +05:30
- `zoxide remove -i` is replaced with `zri`.
2020-05-25 02:55:00 +05:30
## [0.4.1] - 2020-05-25
2020-05-04 01:10:43 +05:30
2020-05-05 23:03:06 -07:00
### Added
2021-03-31 22:15:43 +05:30
- Support for powershell.
2020-05-05 23:03:06 -07:00
2020-05-04 01:10:43 +05:30
### Removed
- Backward compatibility with `v0.2.x` databases.
2020-05-25 02:55:00 +05:30
- Support for paths with invalid UTF-8.
2020-05-04 01:10:43 +05:30
2020-05-03 18:11:35 +05:30
## [0.4.0] - 2020-05-03
2020-04-06 08:41:23 +05:30
### Added
- Interactive mode for removing entries (`zoxide remove -i`).
2020-05-02 16:34:55 +05:30
- Aliases for interactive `query` and `remove` (`zqi` and `zri` respectively).
- PWD hooks for POSIX shells.
2020-04-06 08:41:23 +05:30
### Changed
- `zoxide remove` now throws an error if there was no match in the database.
2021-09-18 01:29:46 +05:30
- 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 16:34:55 +05:30
- `zoxide init` now uses PWD hooks by default for better performance.
- `$_ZO_ECHO` now only works when set to `1`.
2020-05-03 15:15:40 +05:30
- Using the `--z-cmd` flag now also renames the associated aliases.
- The `--z-cmd` flag has been renamed to `--cmd`.
2020-05-03 18:11:35 +05:30
- The `--no-define-aliases` flag has been renamed to `--no-aliases`.
2020-04-06 08:41:23 +05:30
### Fixed
- fish no longer `cd`s to the user's home when no match is found.
2020-04-03 18:44:38 +05:30
## [0.3.1] - 2020-04-03
2020-03-30 05:25:56 +05:30
2020-03-31 14:54:45 -07:00
### Added
- Version output displays `git` revision information.
2020-04-03 18:32:31 +05:30
- `--z-cmd` flag for `zoxide init` to rename the `z` command to something else.
### Changed
2021-09-18 01:29:46 +05:30
- `zoxide query` output no longer has the `query:` prefix.
2020-04-03 18:32:31 +05:30
### Fixed
- Queries now also include checks for if the top level directory matches.
2020-03-31 14:54:45 -07:00
2020-03-30 05:25:56 +05:30
## [0.3.0] - 2020-03-30
### Added
- Automatic migration from `v0.2.x` databases.
2021-09-18 01:29:46 +05:30
- `$_ZO_EXCLUDE_DIRS` to prevent directories from being added to the database.
2020-03-30 05:25:56 +05:30
- 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-18 01:29:46 +05:30
- Thread safety using unique tempfile names for each `zoxide` instance.
2020-03-30 05:25:56 +05:30
- 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-30 05:25:56 +05:30
### 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-30 05:25:56 +05:30
- `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-30 05:25:56 +05:30
### Fixed
- `_zoxide_precmd` overriding other precmd hooks on zsh.
2020-03-30 05:25:56 +05:30
## [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-30 05:25:56 +05:30
2024-02-21 04:36:08 +05:30
[0.9.4]: https://github.com/ajeetdsouza/zoxide/compare/v0.9.3...v0.9.4
2024-02-13 03:13:22 +05:30
[0.9.3]: https://github.com/ajeetdsouza/zoxide/compare/v0.9.2...v0.9.3
2023-08-04 07:57:38 +05:30
[0.9.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.9.1...v0.9.2
2023-05-07 20:50:21 +05:30
[0.9.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.9.0...v0.9.1
2023-01-08 04:35:54 +05:30
[0.9.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.8.3...v0.9.0
2022-09-02 14:33:49 +05:30
[0.8.3]: https://github.com/ajeetdsouza/zoxide/compare/v0.8.2...v0.8.3
2022-06-26 00:52:42 +05:30
[0.8.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.8.1...v0.8.2
2022-04-23 06:39:14 +05:30
[0.8.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.8.0...v0.8.1
2021-12-25 04:03:18 +05:30
[0.8.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.9...v0.8.0
2021-11-02 02:51:08 +05:30
[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 08:31:42 +05:30
[0.7.7]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.6...v0.7.7
2021-10-13 15:40:57 +05:30
[0.7.6]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.5...v0.7.6
2021-09-09 20:26:31 +05:30
[0.7.5]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.4...v0.7.5
2021-08-15 17:35:03 +05:30
[0.7.4]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.3...v0.7.4
2021-08-05 19:22:13 +05:30
[0.7.3]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.2...v0.7.3
2021-06-10 08:45:59 +05:30
[0.7.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.1...v0.7.2
2021-06-09 22:12:37 +05:30
[0.7.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.0...v0.7.1
2021-05-02 03:26:12 +05:30
[0.7.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.6.0...v0.7.0
2021-04-09 00:22:07 +05:30
[0.6.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.5.0...v0.6.0
2020-10-31 00:22:09 +05:30
[0.5.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.3...v0.5.0
2020-07-04 13:34:10 +05:30
[0.4.3]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.2...v0.4.3
2020-07-03 23:37:36 +05:30
[0.4.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.1...v0.4.2
2020-05-25 02:55:00 +05:30
[0.4.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.0...v0.4.1
2020-05-03 18:11:35 +05:30
[0.4.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.3.1...v0.4.0
2020-04-03 18:44:38 +05:30
[0.3.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.3.0...v0.3.1
2020-03-30 05:25:56 +05:30
[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