From 25db9414f97478924d6e36bf2f205360254cf388 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 18 May 2024 18:07:38 +0200 Subject: [PATCH 1/3] Adding section of changes in README.md --- README.md | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aa61c28..12a065d 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ Warp is written in Rust and is supported on Linux, Windows and macOS. + [Performance](#performance) + [Packages cache location](#packages-cache-location) + [Runners cache location](#runners-cache-location) + * [Changes in v1.0.0](#changes-in-v1.0.0) * [Authors](#authors) * [License](#license) @@ -550,8 +551,41 @@ The performance characteristics of the generated self-contained application is r - macOS: `$HOME/Library/Application Support/warp/runners` - Windows: `%LOCALAPPDATA%\warp\runners` +## Changes in v1.0.0 + +Version 1.0.0 introduces several breaking changes and new features, implemented via a cherry-pick from the [forked project](https://github.com/Reisz/warp). You can see the detailed differences in the [comparison](https://github.com/dgiagio/warp/compare/master...Reisz:warp:master). + +### Breaking Changes +Until version 0.3.0, the default invocation of the program was: +```sh +warp-packer ... +``` +From version 1.0.0 onwards, the default invocation has changed to: +```sh +warp-packer pack ... +``` + +### New Options in 1.0.0 +Version 1.0.0 introduces the following new options: + +```sh + -i, --input-dir Sets the input directory containing the application and dependencies + -q, --unique-id Generate a unique ID for each package build + -p, --prefix Use a prefix instead of the single-file executable name + -n, --no-clean When using unique-id, do not clean obsolete versions with the same prefix from the cache +``` + +### Detailed Explanation of New Options +- **`-i, --input-dir `**: In previous versions, this option was specified as `--input_dir`. It sets the directory containing the application and its dependencies. + +- **`-q, --unique-id`**: Instead of using a static folder name for the extracted application, a UUID will be used as the folder name. This is useful for shipping or testing different versions of your application without overwriting the old one. For example, `/warp/packages//`. + +- **`-p, --prefix `**: This option allows you to use a specified prefix as the folder name in the cache location where the application will be extracted. For example, `/warp/packages//`. + +- **`-n, --no-clean`**: By default, the folder with the autogenerated UUID and its content will be replaced with the new extracted files. If this option is set, the executable application will not delete the old extracted files in the cache location. + ## Authors -- Diego Giagio `` +- Diego Giagio `` ( ## License This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details -- 2.45.2 From d3742a6978213e7cc0fe24704c063f1d71fcd6d6 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 18 May 2024 18:08:48 +0200 Subject: [PATCH 2/3] Fixing anchor of new section --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 12a065d..f530cab 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Warp is written in Rust and is supported on Linux, Windows and macOS. + [Performance](#performance) + [Packages cache location](#packages-cache-location) + [Runners cache location](#runners-cache-location) - * [Changes in v1.0.0](#changes-in-v1.0.0) + * [Changes in v1.0.0](#changes-in-v100) * [Authors](#authors) * [License](#license) -- 2.45.2 From ad0a73946d34c6d65bcb2186bf46b6ae18f6fbdc Mon Sep 17 00:00:00 2001 From: david Date: Sat, 18 May 2024 18:17:10 +0200 Subject: [PATCH 3/3] Fixing typo in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f530cab..391172c 100644 --- a/README.md +++ b/README.md @@ -585,7 +585,7 @@ Version 1.0.0 introduces the following new options: - **`-n, --no-clean`**: By default, the folder with the autogenerated UUID and its content will be replaced with the new extracted files. If this option is set, the executable application will not delete the old extracted files in the cache location. ## Authors -- Diego Giagio `` ( +- Diego Giagio `` ## License This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details -- 2.45.2