2017-04-26 06:00:43 -07:00
|
|
|
# Changelog
|
2016-07-29 17:06:55 -07:00
|
|
|
|
2019-11-04 17:41:50 -07:00
|
|
|
## 0.7.6-dev
|
|
|
|
|
2019-11-22 12:34:25 -07:00
|
|
|
Features
|
|
|
|
|
2019-11-26 21:21:48 -07:00
|
|
|
* Make `asdf plugin test` use the new `asdf latest` command. (#541)
|
|
|
|
|
|
|
|
If a plugin version is not given explicitly, we use `asdf latest` to
|
|
|
|
obtain the version of plugin to install for testing.
|
|
|
|
|
2019-11-26 21:02:39 -07:00
|
|
|
* `asdf --version` displays git revision when asdf_dir is a git clone.
|
|
|
|
|
|
|
|
This will allow better bug reports since people can now include the
|
|
|
|
git commit they are using.
|
|
|
|
|
2019-11-25 01:24:46 -07:00
|
|
|
* Add support for asdf extension commands.
|
|
|
|
|
|
|
|
When a plugin provides custom executables or bash-scripts under its `bin/` directory,
|
|
|
|
it's now possible to invoke them with:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
asdf nodejs import-release-team-keyring
|
|
|
|
|
|
|
|
# instead of people having to know where the executable is installed:
|
|
|
|
~/.asdf/plugins/nodejs/bin/import-release-team-keyring
|
|
|
|
```
|
|
|
|
|
|
|
|
As in nodejs case, plugin authors can use this feature to provide utilities,
|
|
|
|
or people can create plugins that are just extensions to asdf itself.
|
|
|
|
|
|
|
|
See `docs/plugins-create.md` for more info.
|
|
|
|
|
2019-11-22 12:34:25 -07:00
|
|
|
* Add support for installing the latest stable version of a tool (#216, #575)
|
|
|
|
|
|
|
|
```shell
|
|
|
|
asdf install python latest
|
|
|
|
asdf install python latest:3.7 # installs latest Python 3.7 version
|
|
|
|
```
|
|
|
|
|
|
|
|
* Add `asdf latest` command to display the latest stable version of a tool (#575)
|
|
|
|
|
|
|
|
```shell
|
|
|
|
asdf latest python
|
|
|
|
asdf latest python 3.7 # displays latest Python 3.7 version
|
|
|
|
```
|
|
|
|
|
|
|
|
* Add support for filtering versions returned by `asdf list-all` (#575)
|
|
|
|
|
|
|
|
```shell
|
|
|
|
asdf list-all python 3.7 # lists available Python 3.7 versions
|
|
|
|
````
|
|
|
|
|
2019-11-04 17:41:50 -07:00
|
|
|
## 0.7.5
|
|
|
|
|
|
|
|
Features
|
|
|
|
|
|
|
|
* Add AppVeyor config for builds on Windows, for eventual Windows support (#450, #451)
|
|
|
|
* Add `--unset` flag to shell command (#563)
|
|
|
|
|
|
|
|
Fixed Bugs
|
|
|
|
|
|
|
|
* Fix multiple version install (#540, #585)
|
|
|
|
* Handle dashes in executable/shim names properly (#565, #589)
|
|
|
|
* Fix bug in sed command so `path:...` versions are handled correctly (#559, #591)
|
2019-08-14 19:41:43 -07:00
|
|
|
|
|
|
|
## 0.7.4
|
|
|
|
|
|
|
|
Features
|
|
|
|
|
|
|
|
* Add quite flag to git clone (#546)
|
|
|
|
* Improve docs for Homebrew (#553, #554)
|
|
|
|
|
|
|
|
Fixed Bugs
|
|
|
|
|
|
|
|
* Don't include the current directory in `PATH` variable in `asdf env` environment (#543, #560)
|
|
|
|
* Fix `asdf plugin-test` dependency on Git when installed via Homebrew (#509, #556)
|
2019-07-13 14:31:29 -07:00
|
|
|
|
|
|
|
## 0.7.3
|
|
|
|
|
|
|
|
Features
|
|
|
|
|
|
|
|
* Make `asdf install` check for versions in legacy files (#533, #539)
|
|
|
|
|
|
|
|
Fixed Bugs
|
|
|
|
|
|
|
|
* Address shellcheck warning and use shell globbing instead of `ls` (#525)
|
2019-05-18 13:31:09 -07:00
|
|
|
|
|
|
|
## 0.7.2
|
|
|
|
|
|
|
|
Features
|
|
|
|
|
|
|
|
* Add unit tests for untested code in asdf.sh and asdf.fish (#286, #507, #508)
|
|
|
|
* Switched to a maintained version of BATS (#521)
|
2019-03-31 12:52:25 -07:00
|
|
|
|
|
|
|
Fixed Bugs
|
|
|
|
|
2019-05-18 13:31:09 -07:00
|
|
|
* Don't iterate on output of `ls` (#513)
|
|
|
|
* Check shims for full tool version so adding new versions to a shim works properly (#517, #524)
|
|
|
|
|
2019-03-31 12:52:25 -07:00
|
|
|
## 0.7.1
|
2019-01-19 07:13:36 -07:00
|
|
|
|
2019-03-16 13:00:30 -07:00
|
|
|
Features
|
|
|
|
|
2019-03-31 12:52:25 -07:00
|
|
|
* Add mksh support
|
2019-03-16 13:00:30 -07:00
|
|
|
* Add documentation about using multiple versions of the same plugin
|
2019-03-31 13:15:14 -07:00
|
|
|
* Remove post_COMMAND hooks
|
2019-06-03 10:14:11 -07:00
|
|
|
* Add `asdf shell` command to set a version for the current shell (#480)
|
2019-05-18 13:31:09 -07:00
|
|
|
* Ignore comments in .tool-versions (#498, #504)
|
2019-03-16 13:00:30 -07:00
|
|
|
|
2019-03-02 07:43:41 -07:00
|
|
|
Fixed Bugs
|
|
|
|
|
2019-03-31 12:52:25 -07:00
|
|
|
* Avoid modifying `fish_user_paths`
|
|
|
|
* Restore support for legacy file version (#484)
|
|
|
|
* Restore support for multiple versions
|
|
|
|
* Fix bug when trying to locate shim (#488)
|
|
|
|
* Run executable using `exec` (#502)
|
2019-03-16 13:00:30 -07:00
|
|
|
|
2019-03-02 07:43:41 -07:00
|
|
|
## 0.7.0
|
2019-01-19 03:12:52 -07:00
|
|
|
|
2019-03-02 07:43:41 -07:00
|
|
|
Features
|
2019-01-19 19:09:53 -07:00
|
|
|
|
2019-01-19 19:59:27 -07:00
|
|
|
* Shims can be invoked directly via `asdf exec <command> [args...]` without requiring to have all shims on path (#374).
|
2019-03-02 07:43:41 -07:00
|
|
|
* New `asdf env <command>` can be used to print or execute with the env that would be used to execute a shim. (#435)
|
|
|
|
* Configurable command hooks from `.asdfrc` (#432, #434)
|
2019-01-19 12:00:33 -07:00
|
|
|
Suppose a `foo` plugin is installed and provides a `bar` executable,
|
|
|
|
The following hooks will be executed when set:
|
|
|
|
|
|
|
|
```shell
|
2019-01-19 12:16:13 -07:00
|
|
|
pre_asdf_install_foo = echo will install foo version ${1}
|
2019-01-19 12:00:33 -07:00
|
|
|
post_asdf_install_foo = echo installed foo version ${1}
|
2019-01-19 12:16:13 -07:00
|
|
|
|
|
|
|
pre_asdf_reshim_foo = echo will reshim foo version ${1}
|
2019-01-19 12:00:33 -07:00
|
|
|
post_asdf_reshim_foo = echo reshimmed foo version ${1}
|
2019-03-02 07:43:41 -07:00
|
|
|
|
2019-01-19 12:00:33 -07:00
|
|
|
pre_foo_bar = echo about to execute command bar from foo with args: ${@}
|
|
|
|
post_foo_bar = echo just executed command bar from foo with args: ${@}
|
2019-01-19 12:48:21 -07:00
|
|
|
|
|
|
|
pre_asdf_uninstall_foo = echo will remove foo version ${1}
|
|
|
|
post_asdf_uninstall_foo = echo removed foo version ${1}
|
2019-01-19 12:00:33 -07:00
|
|
|
```
|
2019-01-19 03:12:52 -07:00
|
|
|
* New shim version meta-data allows shims to not depend on a particular plugin
|
|
|
|
nor on its relative executable path (#431)
|
|
|
|
Upgrading requires shim re-generation and should happen automatically by `asdf-exec`:
|
|
|
|
`rm -rf ~/.asdf/shims/` followed by `asdf reshim`
|
|
|
|
* Added lots of tests for shim execution.
|
|
|
|
We now make sure that shim execution obeys plugins hooks like `list-bin-paths` and
|
2019-03-02 07:43:41 -07:00
|
|
|
`exec-path`.
|
2019-01-19 19:59:27 -07:00
|
|
|
* Shims now are thin wrappers around `asdf exec` that might be faster
|
2019-01-19 03:12:52 -07:00
|
|
|
for most common use case: (versions on local .tool-versions file) but fallbacks to
|
|
|
|
slower `get_preset_version_for` which takes legacy formats into account.
|
|
|
|
* Shim exec recommends which plugins or versions to set when command is not found.
|
2019-01-19 03:42:16 -07:00
|
|
|
* `asdf reshim` without arguments now reshims all installed plugins (#407)
|
2019-01-19 03:48:22 -07:00
|
|
|
* Add `asdf shim-versions <executable>` to list on which plugins and versions is a command
|
2019-03-02 07:43:41 -07:00
|
|
|
available. (#380, #433)
|
|
|
|
* Add documentation on installing dependencies via Spack (#471)
|
2019-01-19 03:12:52 -07:00
|
|
|
|
|
|
|
Fixed Bugs
|
|
|
|
|
2019-03-02 07:43:41 -07:00
|
|
|
* Fix `update` command so it doesn't crash when used on Brew installations (#429, #474, #439, #436)
|
2019-01-19 03:12:52 -07:00
|
|
|
|
2019-01-19 12:27:48 -07:00
|
|
|
## 0.6.3
|
|
|
|
|
|
|
|
Features
|
|
|
|
|
|
|
|
* Make `which` command work with any binary included in a plugin installation (#205, #382)
|
|
|
|
* Add documentation for documentation website (#274, #396, #422, #423, #427, #430)
|
|
|
|
|
|
|
|
Fixed Bugs
|
|
|
|
|
|
|
|
* Silence errors during tab completion (#404)
|
|
|
|
* Remove unused asdf shims directory from `PATH` (#408)
|
|
|
|
* Fix issues with update command that prevented updates for installations in custom locations (#411)
|
|
|
|
* Fix shellcheck warnings on OSX (#416)
|
|
|
|
* Add tests for versions set by environment variables (#417, #327)
|
|
|
|
* Continue `list` output even when version is not found (#419)
|
|
|
|
* Fixed user paths for fish (#420, #421)
|
|
|
|
* Custom exec path tests (#324, #424)
|
|
|
|
|
2018-11-26 18:57:41 -07:00
|
|
|
## 0.6.2
|
|
|
|
|
|
|
|
Fixed Bugs
|
|
|
|
|
2019-01-19 07:13:36 -07:00
|
|
|
* Fix `system` logic so shims directory is removed from `PATH` properly (#402, #406)
|
|
|
|
* Support `.tool-versions` files that don't end in a newline (#403)
|
2018-11-13 18:07:15 -07:00
|
|
|
|
|
|
|
## 0.6.1
|
|
|
|
|
|
|
|
Features
|
|
|
|
|
|
|
|
* Make `where` command default to current version (#389)
|
|
|
|
* Optimize code for listing all plugins (#388)
|
|
|
|
* Document `$TRAVIS_BUILD_DIR` in the plugin guide (#386)
|
|
|
|
* Add `--asdf-tool-version` flag to plugin-test command (#381)
|
|
|
|
* Add `-p` flag to `local` command (#377)
|
|
|
|
|
|
|
|
Fixed Bugs
|
|
|
|
|
|
|
|
* Fix behavior of `current` command when multiple versions are set (#401)
|
|
|
|
* Fix fish shell init code (#392)
|
|
|
|
* Fix `plugin-test` command (#379)
|
|
|
|
* Add space before parenthesis in `current` command output (#371)
|
2018-10-07 19:31:04 -07:00
|
|
|
|
|
|
|
## 0.6.0
|
|
|
|
|
|
|
|
Features
|
|
|
|
|
|
|
|
* Add support for `ASDF_DATA_DIR` environment variable (#275, #335, #361, #364, #365)
|
|
|
|
|
|
|
|
Fixed Bugs
|
|
|
|
|
|
|
|
* Fix `asdf current` so it works when no versions are installed (#368, #353)
|
|
|
|
* Don't try to install system version (#369, #351)
|
|
|
|
* Make `resolve_symlink` function work with relative symlinks (#370, #366)
|
|
|
|
* Fix version changing code so it preserves symlinks (#329, #337)
|
|
|
|
* Fix ShellCheck warnings (#336)
|
2018-07-30 06:11:51 -07:00
|
|
|
|
|
|
|
## 0.5.1
|
|
|
|
|
|
|
|
Features
|
|
|
|
|
|
|
|
* Better formatting for `asdf list` output (#330, #331)
|
|
|
|
|
|
|
|
Fixed Bugs
|
|
|
|
|
|
|
|
* Correct environment variable name used for version lookup (#319, #326 #328)
|
|
|
|
* Remove unnecessary `cd` in `asdf.sh` (#333, #334)
|
|
|
|
* Correct Fish shell load script (#340)
|
2018-05-28 12:14:52 -07:00
|
|
|
|
|
|
|
## 0.5.0
|
2018-03-11 12:07:55 -07:00
|
|
|
|
2018-04-11 14:43:57 -07:00
|
|
|
Features
|
|
|
|
|
|
|
|
* Changed exit codes for shims so we use codes with special meanings when possible (#305, #310)
|
2018-05-01 05:45:17 -07:00
|
|
|
* Include plugin name in error message if plugin doesn't exist (#315)
|
2018-05-28 12:09:49 -07:00
|
|
|
* Add support for custom executable paths (#314)
|
|
|
|
* `asdf list` with no arguments should list all installed versions of all plugins (#311)
|
2018-04-11 14:43:57 -07:00
|
|
|
|
|
|
|
Fixed Bugs
|
|
|
|
|
2018-05-28 12:09:49 -07:00
|
|
|
* Print "No version set" message to stderr (#309)
|
|
|
|
* Fix check for asdf directories in path for Fish shell (#306)
|
|
|
|
|
2018-03-11 12:07:55 -07:00
|
|
|
## 0.4.3
|
|
|
|
|
|
|
|
Features
|
|
|
|
|
|
|
|
* Suggest action when no version is set (#291, #293)
|
|
|
|
|
|
|
|
Fixed Bugs
|
|
|
|
|
|
|
|
* Fix issue with asdf not always being added to beginning of `$PATH` (#288, #303, #304)
|
|
|
|
* Fix incorrect `ASDF_CONFIG_FILE` environment variable name (#300)
|
|
|
|
* Fix `asdf current` so it shows environment variables that are setting versions (#292, 294)
|
2018-02-11 15:45:30 -07:00
|
|
|
|
|
|
|
## 0.4.2
|
2017-12-26 09:01:08 -07:00
|
|
|
|
2018-02-11 13:32:38 -07:00
|
|
|
Features
|
|
|
|
|
2018-02-11 15:34:29 -07:00
|
|
|
* Add support for `ASDF_DEFAULT_TOOL_VERSIONS_FILENAME` environment variable (#201, #228)
|
2018-02-11 13:32:38 -07:00
|
|
|
* Only add asdf to `PATH` once (#261, #271)
|
2018-02-11 13:38:50 -07:00
|
|
|
* Add `--urls` flag to `plugin-list` commands (#273)
|
2018-02-11 13:32:38 -07:00
|
|
|
|
2017-12-26 09:01:08 -07:00
|
|
|
Fixed Bugs
|
|
|
|
|
2018-02-11 13:19:22 -07:00
|
|
|
* Incorrect `grep` command caused version command to look at the wrong tool when reporting the version (#262)
|
|
|
|
|
2017-12-26 09:01:08 -07:00
|
|
|
## 0.4.1
|
2017-09-12 15:22:26 -07:00
|
|
|
|
2017-10-18 00:25:53 -07:00
|
|
|
Features
|
|
|
|
|
|
|
|
* `asdf install` will also search for `.tool-versions` in parent directories (#237)
|
|
|
|
|
|
|
|
Fixed Bugs
|
|
|
|
|
2017-12-26 09:01:08 -07:00
|
|
|
* bad use of `sed` caused shims and `.tool-versions` to be duplicated with `-e` (#242, #250)
|
2017-10-24 16:32:45 -07:00
|
|
|
* `asdf list` now outputs ref-versions as used on `.tool-versions` file (#243)
|
2017-10-18 00:25:53 -07:00
|
|
|
* `asdf update` will explicitly use the `origin` remote when updating tags (#231)
|
|
|
|
* All code is now linted by shellcheck (#223)
|
2017-12-26 09:01:08 -07:00
|
|
|
* Add test to fail builds if banned commands are found (#251)
|
2017-10-18 00:25:53 -07:00
|
|
|
|
2017-09-19 15:02:07 -07:00
|
|
|
## 0.4.0
|
2017-03-08 14:37:23 -07:00
|
|
|
|
2017-08-08 11:19:23 -07:00
|
|
|
Features
|
|
|
|
|
2017-09-12 15:22:26 -07:00
|
|
|
* Add CONTRIBUTING guidelines and GitHub issue and pull request templates (#217)
|
2017-09-03 18:42:28 -07:00
|
|
|
* Add `plugin-list-all` command to list plugins from asdf-plugins repo. (#221)
|
|
|
|
* `asdf current` shows all current tool versions when given no args (#219)
|
|
|
|
* Add asdf-plugin-version metadata to shims (#212)
|
2017-09-12 15:22:26 -07:00
|
|
|
* Add release.sh script to automate release of new versions (#220)
|
2017-08-08 11:19:23 -07:00
|
|
|
|
|
|
|
Fixed Bugs
|
|
|
|
|
2017-09-03 18:42:28 -07:00
|
|
|
* Allow spaces on path containing the `.tool-versions` file (#224)
|
2017-09-12 15:22:26 -07:00
|
|
|
* Fixed bug in `--version` functionality so it works regardless of how asdf was installed (#198)
|
2017-09-03 18:42:28 -07:00
|
|
|
|
2017-04-26 06:00:43 -07:00
|
|
|
## 0.3.0
|
2016-12-18 11:25:11 -07:00
|
|
|
|
2017-03-31 08:03:54 -07:00
|
|
|
Features
|
|
|
|
|
|
|
|
* Add `update` command to make it easier to update asdf to the latest release (#172, #180)
|
|
|
|
* Add support for `system` version to allow passthrough to system installed tools (#55, #182)
|
|
|
|
|
2017-03-07 07:57:14 -07:00
|
|
|
Fixed Bugs
|
|
|
|
|
2017-03-07 11:36:58 -07:00
|
|
|
* Set `GREP_OPTIONS` and `GREP_COLORS` variables in util.sh so grep is always invoked with the correct settings (#170)
|
|
|
|
* Export `ASDF_DIR` variable so the Zsh plugin can locate asdf if it's in a custom location (#156)
|
2017-03-08 14:37:23 -07:00
|
|
|
* Don't add execute permission to files in a plugin's bin directory when adding the plugin (#124, #138, #154)
|
2017-03-07 07:57:14 -07:00
|
|
|
|
2017-04-26 06:00:43 -07:00
|
|
|
## 0.2.1
|
2016-07-29 17:06:55 -07:00
|
|
|
|
2016-11-03 08:43:17 -07:00
|
|
|
Features
|
|
|
|
|
|
|
|
* Determine global tool version even when used outside of home directory (#106)
|
|
|
|
|
2016-12-18 11:25:11 -07:00
|
|
|
Fixed Bugs
|
|
|
|
|
|
|
|
* Correct reading of `ref:` and `path:` versions (#112)
|
|
|
|
* Remove shims when uninstalling a version or removing a plugin (#122, #123, #125, #128, #131)
|
|
|
|
* Add a helpful error message to the install command (#135)
|
|
|
|
|
2017-04-26 06:00:43 -07:00
|
|
|
## 0.2.0
|
2016-10-22 11:55:58 -07:00
|
|
|
|
2016-07-29 17:06:55 -07:00
|
|
|
Features
|
|
|
|
|
2016-10-22 11:55:58 -07:00
|
|
|
* Improve plugin API for legacy file support (#87)
|
2016-07-29 17:06:55 -07:00
|
|
|
* Unify `asdf local` and `asdf global` version getters as `asdf current` (#83)
|
|
|
|
* Rename `asdf which` to `asdf current` (#78)
|
|
|
|
|
2016-10-22 11:55:58 -07:00
|
|
|
Fixed Bugs
|
|
|
|
|
|
|
|
* Fix bug that caused the `local` command to crash when the directory contains whitespace (#90)
|
|
|
|
* Misc typo corrections (#93, #99)
|
|
|
|
|
2017-04-26 06:00:43 -07:00
|
|
|
## 0.1.0
|
2016-07-29 17:06:55 -07:00
|
|
|
|
|
|
|
* First tagged release
|