Releases: Unity-Technologies/unity-gaming-services-cli
Releases · Unity-Technologies/unity-gaming-services-cli
v1.0.0-beta.5
Added
- Added Batching to import and deploy to help prevent "Too Many Requests" error.
- Cloud Code Modules now supports
import
andexport
commands. - Cloud Code Scripts now supports
import
andexport
commands. - Lobby now supports
import
andexport
commands. - Leaderboard now supports
import
andexport
commands. - Remote Config now supports
import
andexport
commands. - Alpine build now added to the release.
- New option
--services
to deploy and fetch commands. This option perform commands only to specified services.- [Breaking Change] This option is mandatory when using the
--reconcile
flag.
- [Breaking Change] This option is mandatory when using the
Changed
- [Breaking Change] CloudCode
list
command for Modules and Scripts is more descriptive. - Using standardized output for all Import/Export implementations.
- Plain text Deploy/Fetch Output now prints full path.
- This is to disambiguate output regarding files with same name, but different path.
- [Breaking Change] Messages are directed to StdErr and Output into Stdout.
- This allows to pipe individual parts such as
ugs cmd 1>output 2>logs.txt
. - In both json and regular formats.
- This allows to pipe individual parts such as
- [Breaking Change] Cloud Code create, delete, get, list, new-file, publish and update commands are now under a parent command
scripts
and can be called withcloud-code scripts <command>
.
Fixed
- CloudCode files that failed to read now reported properly in the output.
- CloudCode deleted files properly reported in the Deploy output.
- RemoteConfig Entries properly reported in the Deploy output.
- RemoteConfig Fetch properly bubbles issues in loading files.
- [Breaking Change] Deploy and Fetch output have been modified to match each other.
- Status have been updated to reflect what is happening in the editor.
- An issue where fetching a file from Cloud Code that had no parameters would keep appending
module.exports.parameters = {}
. - Using Cloud Code fetch and deploy multiple times does not keep appending new lines anymore.
- Improved error handling to provide more detail on certain unhandled exceptions.
- Cloud Code script with invalid parameters will fail to fetch and show in the "failed" result section.
v1.0.0-beta.4
Added
- npm distribution. Install the CLI by running
npm install -g ugs
. ugs fetch
now supports cloud code scripts.- Get player command in Player Module. Run
ugs player get -h
to show usage. - List player command in Player Module. Run
ugs player list -h
to show usage.
Changed
- [Breaking Change] CLI binary release assets are no longer zipped (use
chmod +x <path_to_executable>
on macos and linux to mark it as executable after downloading, or usenpm install -g ugs
to install). - [Breaking Change] Replace Jint with Node.js for cloud code javascript parameter parsing. User will need to install Node.js with
version > 14.0.0 to parse cloud code javascript. - Updated Diagnostics to use UnityAnalyticSender instead of TelemetrySender
Fixed
- Cloud Code script with invalid parameter will fail to deploy and show in deploy result in failed catagory.
- Deploying Cloud Code C# Modules that are empty or over the size limit of 10 MB doesn't fail silently anymore.
ugs fetch
with--reconcile
on empty folder with Remote Config contents now will not showObject reference not set to an instance
error.
v1.0.0-beta.3
Added
- Player Management Service commands. Run
ugs player -h
to show usage. - Access Module Service commands. Run
ugs access -h
to show usage. - Cloud Code C# Modules subcommands. Run
ugs cloud-code modules -h
to show usage. ugs deploy
now supports Cloud Code C# modules.- Reconcile option for Deploy command
- Added dry-run option for Deploy command
- This allows to check what the expected outcome of a given deploy will be
Changed
- Updated environment name validation to prevent using uppercase
- Documentation is now hosted on https://services.docs.unity.com/guides/ugs-cli/latest/general/overview
- Tweaked memory and cpu usage restrictions for Cloud Code parsing related commands
v1.0.0-beta.2
Added
- Remote Config new-file command to create a default remote config file.
- Deploy Module with
fetch
command to fetch files from all services that implementIFetchService
- Currently supports RemoteConfig only
- Command metrics tracking
Changed
- Subcommands are now sorted in alphabetical order
Fixed
- Cancelling
ugs deploy <your-path-to-deploy>
doesn't logs stacktraces anymore. -e/--environment-name
and-p/--project-id
options enabled fordeploy
command.ugs deploy
with duplicate path will remove duplicate and deploy.ugs deploy
with directory missing permission will log correct error.
v1.0.0-beta.1
Added
- CLI Core Module: Configuration, Service Account Authentication Commands.
- Cloud Code Service commands
- Deploy command supporting Cloud Code and Remote Config services.
- Environment Service commands
- Lobby Service commands