Release Notes
💥 Breaking
To ease the migration process, we've added a new migrate command. Simply run
proto migrate v0.24
after upgrading proto!
- Standardized configuration files.
- Merged
~/.proto/config.toml
functionality into.prototools
under a new[settings]
table. This means settings likeauto-clean
can be defined anywhere now. - Removed
~/.proto/config.toml
. Use~/.proto/.prototools
instead, which is now the new global config (via--global
arg). - Moved
node-intercept-globals
setting totools.node.intercept-globals
.
- Merged
- Reworked user configured aliases and default/global version.
- Moved values to
.prototools
(user managed) from~/.proto/tools/<name>/manifest.json
(internally managed). - Aliases are now stored in the
[tools.<name>]
, while the default version is at the root.node = "20.10.0" [tools.node.aliases] work = "^18"
- Moved values to
- Updated
proto alias
andproto unalias
to longer write to the global config by default. Now requires a--global
flag.- This change was made to align with
proto pin
,proto tool add
, andproto tool remove
.
- This change was made to align with
🚀 Updates
- Added a
proto migrate v0.24
command for migrating configs. We'll also log a warning if we detect the old configuration.- For some scenarios, we'll attempt to auto-migrate under the hood when applicable.
- Added support for defining configuration that can be passed to WASM plugins.
- Can be added to
.prototools
under a[tools.<name>]
table. - Moved Node.js specific settings into this new format.
[tools.node] bundled-npm = false intercept-globals = false
- Can be added to
- Updated non-latest plugins to be cached for 30 days, instead of forever.
- Updated cleaning to also remove old proto versions from
~/.proto/tools/proto
. - WASM API
- Added a
get_tool_config
function. Can be typed with a serde compatible struct. - Deprecated the
get_proto_user_config
function.
- Added a
🐞 Fixes
- Fixed an issue where resolving canary versions wouldn't work correctly.
🧩 Plugins
- Updated
bun_plugin
to v0.6. - Updated
deno_plugin
to v0.6. - Updated
go_plugin
to v0.6. - Updated
node_plugin
andnode_depman_plugin
to v0.6. - Updated
python_plugin
to v0.4. - Updated
rust_plugin
to v0.5. - Updated
schema_plugin
(TOML) to v0.6.
Download proto_cli 0.24.0
File | Platform | Checksum |
---|---|---|
proto_cli-aarch64-apple-darwin.tar.xz | macOS Apple Silicon | checksum |
proto_cli-x86_64-apple-darwin.tar.xz | macOS Intel | checksum |
proto_cli-x86_64-pc-windows-msvc.zip | Windows x64 | checksum |
proto_cli-x86_64-unknown-linux-gnu.tar.xz | Linux x64 | checksum |
proto_cli-x86_64-unknown-linux-musl.tar.xz | musl Linux x64 | checksum |