Skip to content

Commit

Permalink
Bump to 2.12.0, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
sttz committed May 13, 2023
1 parent c9439a0 commit d4e35fc
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 17 deletions.
17 changes: 17 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

### 2.12.0 (2023-05-??)
* Use Unity's official Release API to get release and package information
* Releases should appear quicker when Unity is slow to update their archive webpage
* Can directly request information of a specific Unity version from the API
* No need to load the whole archive, update can be stopped once the last known version is reached
* Reduces number of requests and amount of data transferred when updating cache
* Previously synthesized packages are now provided by Unity (Documentation, language packs and Android components)
* Legacy scraper and ini-based system can still be used for irregular Unity releases
* Split platform and architecture options (e.g. `--platform macOSIntel` becomes `--platform mac_os --arch x68_64`)
* Added `--clear-cache` to force clearing the versions and package cache
* Added `--redownload` to force redownloading all files
* Improve handling of already downloaded or partially downloaded files
* Speed up detecting of current platform (.Net now reports Apple Silicon properly)
* Speed up detecting installed Unity versions by keeping command line invocations to a minimum
* Removed support for Unity patch releases
* Update to .Net 7

### 2.11.1 (2023-02-05)
* Add warning when Spotlight is disabled and installations cannot be found
* Update Android packages for Unity 2023.1
Expand Down
2 changes: 1 addition & 1 deletion Command/Command.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<PropertyGroup Label="Package">
<Version>2.11.1</Version>
<Version>2.12.0</Version>
<Authors>Adrian Stutz (sttz.ch)</Authors>
<Product>install-unity CLI</Product>
<Description>CLI for install-unity unofficial Unity installer library</Description>
Expand Down
40 changes: 25 additions & 15 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,17 +114,19 @@ The project will use Unity's default setup, including packages. Alternatively, y
## CLI Help

````
install-unity v2.11.1
install-unity v2.12.0
USAGE: install-unity [--help] [--version] [--verbose...] [--yes] [--update]
[--data-path <path>] [--opt <name>=<value>...] <action>
[--clear-cache] [--data-path <path>]
[--opt <name>=<value>...] <action>
GLOBAL OPTIONS:
-h, --help Show this help
--version Print the version of this program
-v, --verbose Increase verbosity of output, can be repeated
-y, --yes Don't prompt for confirmation (use with care)
-u, --update Force an update of the versions cache
--clear-cache Clear the versions cache before running any commands
--data-path <path> Store all data at the given path, also don't delete
packages after install
--opt <name>=<value> Set additional options. Use '--opt list' to show all
Expand All @@ -139,8 +141,9 @@ ACTIONS:
USAGE: install-unity [options] [install] [--packages <name,name>...]
[--download] [--install] [--upgrade]
[--platform none|macosintel|macosarm|windows|linux]
[--yolo] [<version>]
[--platform none|mac_os|linux|windows|all]
[--arch none|x86_64|arm64|all] [--redownload] [--yolo]
[<version>]
OPTIONS:
<version> Pattern to match Unity version or release notes / unity hub
Expand All @@ -152,38 +155,45 @@ OPTIONS:
'--data-path')
--upgrade Replace existing matching Unity installation after successful
install
--platform none|macosintel|macosarm|windows|linux Platform to download
the packages for (only valid with '--download', default =
current platform)
--platform none|mac_os|linux|windows|all Platform to download the
packages for (only valid with '--download', default = current
platform)
--arch none|x86_64|arm64|all Architecture to download the packages for
(default = current architecture)
--redownload Force redownloading all files
--yolo Skip size and hash checks of downloaded files
---- LIST:
Get an overview of available or installed Unity versions
USAGE: install-unity [options] list [--installed]
[--platform none|macosintel|macosarm|windows|linux]
[<version>]
[--platform none|mac_os|linux|windows|all]
[--arch none|x86_64|arm64|all] [<version>]
OPTIONS:
<version> Pattern to match Unity version
-i, --installed List installed versions of Unity
--platform none|macosintel|macosarm|windows|linux Platform to list the
versions for (default = current platform)
--platform none|mac_os|linux|windows|all Platform to list the versions
for (default = current platform)
--arch none|x86_64|arm64|all Architecture to list the versions for
(default = current architecture)
---- DETAILS:
Show version information and all its available packages
USAGE: install-unity [options] details
[--platform none|macosintel|macosarm|windows|linux]
[<version>]
[--platform none|mac_os|linux|windows|all]
[--arch none|x86_64|arm64|all] [<version>]
OPTIONS:
<version> Pattern to match Unity version or release notes / unity hub
url
--platform none|macosintel|macosarm|windows|linux Platform to show the
details for (default = current platform)
--platform none|mac_os|linux|windows|all Platform to show the details for
(default = current platform)
--arch none|x86_64|arm64|all Architecture to show the details for
(default = current architecture)
---- UNINSTALL:
Expand Down
2 changes: 1 addition & 1 deletion sttz.InstallUnity/sttz.InstallUnity.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<PropertyGroup Label="Package">
<Version>2.11.1</Version>
<Version>2.12.0</Version>
<Authors>Adrian Stutz (sttz.ch)</Authors>
<Product>install-unity</Product>
<Description>install-unity unofficial Unity installer library</Description>
Expand Down

0 comments on commit d4e35fc

Please sign in to comment.