From e2fd52fc731e96e5313b64dadddbe900623ae76d Mon Sep 17 00:00:00 2001 From: Robin Date: Fri, 26 Apr 2024 21:22:19 +0200 Subject: [PATCH] docs: show (new) info about 2.0 rewrite --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 09dfaf5..d78a30c 100644 --- a/README.md +++ b/README.md @@ -22,15 +22,16 @@ uvx Run `uvx` without any arguments to see all possible subcommands. -## Note - pending replacement +## Note - Version 2.0 Now Available + +Version `2.0.0` of uvx has been released and is now available. This new release has been rewritten in Rust to address performance concerns with the previous Python implementation, notably reducing startup time. Version `2.0.0` directly utilizes some APIs of `uv`, enhancing performance by avoiding the need to spawn a separate process in some cases. + +Despite the availability of this new version, the repository and the existing Python implementation of uvx 1.x will continue to be maintained for bug fixes and to ensure (backwards) compatibility across different system architectures. + +For users on supported Linux platforms with x86_64 (amd64) or aarch64 (ARM64) architectures, version 2.0 can be installed via pip or compiled manually from source if necessary. This version is not available through PyPI for other platforms, which can still utilize uvx 1.x or opt for manual compilation of uvx 2.0. + +Discover more about the new features and enhancements by visiting the new project repository at [robinvandernoord/uvx2](https://github.com/robinvandernoord/uvx2/). -Although version `1.0.0` was recently released, work has already begun on version `2.0.0`, which is being developed -at [robinvandernoord/uvx2](https://github.com/robinvandernoord/uvx2/). The decision to undertake this new version is -driven by performance concerns with the current Python implementation, which has a startup time of 200ms. To address -this, `uvx 2.0` is being rewritten in Rust. This transition will enable `uvx` to utilize some of the APIs of `uv` -directly, without the need to spawn a separate process (in some cases), thus enhancing performance further. -Despite this rewrite, both the repository and the existing Python implementation will be maintained, -particularly for bug fixes, because it may have a larger (backwards) compatibility across system architectures. ## License @@ -38,4 +39,4 @@ particularly for bug fixes, because it may have a larger (backwards) compatibili ## Changelog -See `CHANGELOG.md` [on GitHub](https://github.com/robinvandernoord/uvx/blob/master/CHANGELOG.md) \ No newline at end of file +See `CHANGELOG.md` [on GitHub](https://github.com/robinvandernoord/uvx/blob/master/CHANGELOG.md)