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).
|
|
|
|
|
2021-01-29 21:36:18 +00:00
|
|
|
## Unreleased
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Removed unnecessary backtraces on Rust nightly.
|
|
|
|
- Fixed generated shell code to avoid accidentally using aliased builtins.
|
|
|
|
- Handle broken pipe errors gracefully when writing to streams.
|
|
|
|
|
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-17 19:30:37 +00:00
|
|
|
- Inaccessible directories are no longer removed; zoxide can now remember paths on removable devices.
|
2020-09-15 21:20:58 +00:00
|
|
|
- `$_ZO_EXCLUDE_DIRS` now supports globs.
|
2020-09-17 19:30:37 +00:00
|
|
|
- `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`.
|
|
|
|
|
2020-10-24 14:53:10 +00:00
|
|
|
### Fixed
|
|
|
|
|
2020-10-30 18:52:09 +00:00
|
|
|
- Clobber conflicting alias definitions in bash/fish/zsh/POSIX shells.
|
2020-10-24 14:53:10 +00:00
|
|
|
|
2020-10-18 09:22:13 +00:00
|
|
|
### Removed
|
|
|
|
|
|
|
|
- Deprecated PWD hooks for POSIX shells.
|
|
|
|
|
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
|
2020-06-10 12:30:22 +00:00
|
|
|
- `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`.
|
|
|
|
- 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
|
|
|
|
2020-05-27 23:45:06 +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-27 23:45:06 +00:00
|
|
|
|
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
|
|
|
|
|
|
|
|
- Support for PowerShell.
|
|
|
|
|
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.
|
|
|
|
- Interactive mode in `zoxide` no longer throws an error if `fzf` exits gracefully.
|
2020-04-09 18:43:16 +00:00
|
|
|
- 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.
|
2020-05-02 21:12:36 +00:00
|
|
|
- `$_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
|
|
|
|
2020-04-11 04:39:34 +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
|
|
|
|
|
|
|
|
- Query output no longer has the `query:` prefix, so `$(zq)` can now be used as an argument to commands.
|
|
|
|
|
|
|
|
### 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.
|
|
|
|
- `$_ZO_EXCLUDE_DIRS` to prevent certain directories from being added to the database.
|
|
|
|
- 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
|
|
|
|
|
|
|
|
- Achieve thread safety using unique temporary database file names for each `zoxide` instance.
|
|
|
|
- Incomprehensive "could not allocate" message on database corruption.
|
|
|
|
|
|
|
|
## [0.2.2] - 2020-03-20
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Incorrect exit codes in `z` command on `fish`.
|
|
|
|
|
|
|
|
### 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 the `bash` shell.
|
|
|
|
- `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.
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- `_zoxide_precmd` overriding other precmd hooks on `zsh`.
|
|
|
|
|
|
|
|
## [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 the `zsh` shell.
|
|
|
|
|
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
|