From 2bb4842c20e542c0f5d7305748dd713a14d00356 Mon Sep 17 00:00:00 2001 From: Miles Johnson Date: Mon, 18 Sep 2023 11:40:25 -0700 Subject: [PATCH] Add blog post. --- website/blog/2023-09-18_proto-v0.18.mdx | 67 +++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 website/blog/2023-09-18_proto-v0.18.mdx diff --git a/website/blog/2023-09-18_proto-v0.18.mdx b/website/blog/2023-09-18_proto-v0.18.mdx new file mode 100644 index 00000000000..8d76aeba604 --- /dev/null +++ b/website/blog/2023-09-18_proto-v0.18.mdx @@ -0,0 +1,67 @@ +--- +slug: proto-v0.18 +title: proto v0.18 - List installed tools and configure HTTP client +authors: [milesj] +tags: [proto, http] +# image: ./img/proto/v0.17.png +--- + +Today we've got a small release that includes some helpful features. + + + +## New `proto tools` command + +Are you curious what tools you have installed? And more specifically, which versions? What about +configured aliases? Until now, you had to manually check the `~/.proto/tools` directory for this +information, but now, you can simply run [`proto tools`](/docs/proto/commands/tools) to get a list +of all installed tools. + +This command will list all tools that have been installed, along with their installed versions, +relevant timestamps, available aliases, and store location. + +```shell +$ proto tools +go - Go + Store: ~/.proto/tools/go + Versions: + 1.20.0 - installed 08/24/23, last used 09/18/23 + 1.20.2 - installed 01/01/70, last used 09/18/23, default version + +node - Node.js + Store: ~/.proto/tools/node + Aliases: + ~20 = stable + Versions: + 18.0.0 - installed 09/03/23, last used 09/18/23, default version + 18.14.0 - installed 09/04/23, last used 09/04/23 + 18.17.1 - installed 09/04/23, last used 09/04/23 + 19.0.0 - installed 09/03/23 + 20.0.0 - installed 09/03/23 + 20.6.0 - installed 09/04/23, last used 09/18/23 +``` + +> This information can also be represented as JSON by passing the `--json` flag. + +## New `[http]` user settings + +Furthermore, we've added a new [`[http]` setting to `~/.proto/config.toml`](/docs/proto/config#http) +that allows you to configure aspects of the HTTP client, which is primarily used for downloading +tools. + +This may useful if you're behind a proxy, a VPN, or corporate network, and certain requests and +certificates are blocked. + +```toml title="~/.proto/config.toml" +[http] +proxies = ["http://intra.net/proxy"] +root-cert = "/path/to/root/cert.pem" +``` + +## Other changes + +View the [official release](https://github.com/moonrepo/proto/releases/tag/v0.18.0) for a full list +of changes. + +- For TOML plugins, we updated the schema internally to be represented as JSON instead of TOML, + which may cause breakages depending on a version mismatch between proto and the plugin.