Skip to content

Releases: Unity-Technologies/unity-gaming-services-cli

v1.0.0-beta.5

28 Jun 19:18
Compare
Choose a tag to compare

Added

  • Added Batching to import and deploy to help prevent "Too Many Requests" error.
  • Cloud Code Modules now supports import and export commands.
  • Cloud Code Scripts now supports import and export commands.
  • Lobby now supports import and export commands.
  • Leaderboard now supports import and export commands.
  • Remote Config now supports import and export 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.

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.
  • [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 with cloud-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

24 Apr 18:16
Compare
Choose a tag to compare

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 use npm 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 show Object reference not set to an instance error.

v1.0.0-beta.3

17 Mar 15:12
Compare
Choose a tag to compare

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

v1.0.0-beta.2

17 Mar 14:50
Compare
Choose a tag to compare

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 implement IFetchService
  • 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 for deploy 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

13 Jan 17:45
Compare
Choose a tag to compare

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

This is the first release of UGS CLI.