Skip to content

0.5.0

Compare
Choose a tag to compare
@joshuacc joshuacc released this 11 Nov 14:32
· 30 commits to main since this release

0.5.0

This release of ahkpm brings several new features.

1. ahkpm now supports version ranges

So when installing a new package instead of having to specify an exact version like 1.2.3, you can write ahkpm install github.com/user/repo@1 to install the latest available version with major version 1.

This range will be saved to ahkpm.json so that when running ahkpm update github.com/user/repo in the future,
it will be updated to the latest version matching that range.

2. ahkpm now supports a gh: shortand for GitHub dependencies

When using ahkpm install or ahkpm update, you can now use the gh: shorthand for GitHub dependencies. So ahkpm install github.com/user/repo@1 can now be written as ahkpm install gh:user/repo@1

3. ahkpm install now supports specifying multiple dependencies

Now you can install multiple dependencies at once with ahkpm install gh:userA/repoA@1 gh:userB/repoB@1.

4. ahkpm now uses a --version flag to get the version of ahkpm

Previously this was ahkpm version, but it has moved to accommodate the following new feature.

5. There is now a ahkpm version command to simplify managing your package version

Running ahkpm version major will increment the major version of your package in ahkpm.json. Likewise for minor and patch. If you want to give a specific version, you can do that too with ahkpm version 2.5.6.

6. ahkpm now supports ahkpm list to display a list of your top level dependencies

Example output:

> ahkpm list
Name                                            Version
----------------------------------------        -------
github.com/G33kDude/Chrome.ahk                  tag:1.2
github.com/joshuacc/mock-ahkpm-package-a        1.3.x