Skip to content

Commit d4e35fc

Browse files
committed
Bump to 2.12.0, update changelog
1 parent c9439a0 commit d4e35fc

File tree

4 files changed

+44
-17
lines changed

4 files changed

+44
-17
lines changed

Changelog.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

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

Command/Command.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</PropertyGroup>
1111

1212
<PropertyGroup Label="Package">
13-
<Version>2.11.1</Version>
13+
<Version>2.12.0</Version>
1414
<Authors>Adrian Stutz (sttz.ch)</Authors>
1515
<Product>install-unity CLI</Product>
1616
<Description>CLI for install-unity unofficial Unity installer library</Description>

Readme.md

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -114,17 +114,19 @@ The project will use Unity's default setup, including packages. Alternatively, y
114114
## CLI Help
115115

116116
````
117-
install-unity v2.11.1
117+
install-unity v2.12.0
118118
119119
USAGE: install-unity [--help] [--version] [--verbose...] [--yes] [--update]
120-
[--data-path <path>] [--opt <name>=<value>...] <action>
120+
[--clear-cache] [--data-path <path>]
121+
[--opt <name>=<value>...] <action>
121122
122123
GLOBAL OPTIONS:
123124
-h, --help Show this help
124125
--version Print the version of this program
125126
-v, --verbose Increase verbosity of output, can be repeated
126127
-y, --yes Don't prompt for confirmation (use with care)
127128
-u, --update Force an update of the versions cache
129+
--clear-cache Clear the versions cache before running any commands
128130
--data-path <path> Store all data at the given path, also don't delete
129131
packages after install
130132
--opt <name>=<value> Set additional options. Use '--opt list' to show all
@@ -139,8 +141,9 @@ ACTIONS:
139141
140142
USAGE: install-unity [options] [install] [--packages <name,name>...]
141143
[--download] [--install] [--upgrade]
142-
[--platform none|macosintel|macosarm|windows|linux]
143-
[--yolo] [<version>]
144+
[--platform none|mac_os|linux|windows|all]
145+
[--arch none|x86_64|arm64|all] [--redownload] [--yolo]
146+
[<version>]
144147
145148
OPTIONS:
146149
<version> Pattern to match Unity version or release notes / unity hub
@@ -152,38 +155,45 @@ OPTIONS:
152155
'--data-path')
153156
--upgrade Replace existing matching Unity installation after successful
154157
install
155-
--platform none|macosintel|macosarm|windows|linux Platform to download
156-
the packages for (only valid with '--download', default =
157-
current platform)
158+
--platform none|mac_os|linux|windows|all Platform to download the
159+
packages for (only valid with '--download', default = current
160+
platform)
161+
--arch none|x86_64|arm64|all Architecture to download the packages for
162+
(default = current architecture)
163+
--redownload Force redownloading all files
158164
--yolo Skip size and hash checks of downloaded files
159165
160166
161167
---- LIST:
162168
Get an overview of available or installed Unity versions
163169
164170
USAGE: install-unity [options] list [--installed]
165-
[--platform none|macosintel|macosarm|windows|linux]
166-
[<version>]
171+
[--platform none|mac_os|linux|windows|all]
172+
[--arch none|x86_64|arm64|all] [<version>]
167173
168174
OPTIONS:
169175
<version> Pattern to match Unity version
170176
-i, --installed List installed versions of Unity
171-
--platform none|macosintel|macosarm|windows|linux Platform to list the
172-
versions for (default = current platform)
177+
--platform none|mac_os|linux|windows|all Platform to list the versions
178+
for (default = current platform)
179+
--arch none|x86_64|arm64|all Architecture to list the versions for
180+
(default = current architecture)
173181
174182
175183
---- DETAILS:
176184
Show version information and all its available packages
177185
178186
USAGE: install-unity [options] details
179-
[--platform none|macosintel|macosarm|windows|linux]
180-
[<version>]
187+
[--platform none|mac_os|linux|windows|all]
188+
[--arch none|x86_64|arm64|all] [<version>]
181189
182190
OPTIONS:
183191
<version> Pattern to match Unity version or release notes / unity hub
184192
url
185-
--platform none|macosintel|macosarm|windows|linux Platform to show the
186-
details for (default = current platform)
193+
--platform none|mac_os|linux|windows|all Platform to show the details for
194+
(default = current platform)
195+
--arch none|x86_64|arm64|all Architecture to show the details for
196+
(default = current architecture)
187197
188198
189199
---- UNINSTALL:

sttz.InstallUnity/sttz.InstallUnity.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<PropertyGroup Label="Package">
10-
<Version>2.11.1</Version>
10+
<Version>2.12.0</Version>
1111
<Authors>Adrian Stutz (sttz.ch)</Authors>
1212
<Product>install-unity</Product>
1313
<Description>install-unity unofficial Unity installer library</Description>

0 commit comments

Comments
 (0)