All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Updated the minimum supported Editor version to 2021.3.
- Fixed Help URLs for Cloud Code Module and Cloud Code Script
- Fixed inspector loading for service assets, below Unity 6
- Fixed an issue that might cause the CloudCode scripts inspector to spam calls to the admin API
- Fixed an issue that causes the progress bar to revert during Cloud Code Module deployment
- Fixed compatibility wih Deployment 1.3
- View in Deployment Window button in
.ccmr
and.js
files, dependent on Deployment package version 1.4.0. - View in Dashboard button in inspector for
.ccmr
and.js
files. - View in Dashboard context menu in Deployment Window for
.ccmr
and.js
files. - Add
Open Solution
button to.ccmr
inspector. - Add Enum support for Cloud Code Bindings generation.
- Fixed support for various primitive types in Cloud Code Modules binding generation
- In-script parameters analysis throws an exception in Unity 6
Browse...
button in.ccmr
inspector now opens the current solution folder properly.- Fixed Cloud Code Binding generation of primitive types
- Binding Generation will attempt to run in the latest available runtime.
- This can be disabled with CLOUD_CODE_AUTHORING_DISABLE_VERSION_DETECT flag
- A MessageBytesReceived callback has been added to the available subscription event callbacks
- Adding service registration to the core services registry
- Adding service access through the core services registry (
UnityServices.Instance.GetCloudCodeService()
) - Added a button to browse your files when choosing a path for a Cloud Code Module
- The MessageReceived callback will no longer be fired upon receiving bytes via the event subscription
- Bindings generation is broken when ILogger dependency injection is used
- Cloud Code modules now cleans up compilation artifacts after deploying or generating bindings
- Cloud Code runtime timeout increased to 30 seconds
- Moved create Cloud Code Asset menu items under "Services"
- Added privacy manifest
- An issue that would cache Npm and Node path at startup instead of reading them from the settings
- Fixed JS script import when Node project is not initialized
- Improved in-script parameter parsing error feedback
- Added references of the latest javascript services SDKs for autocompletion
- Cloud Code bindings generation
- Fixed error when selecting CloudCodeModuleReference assets in the Project window
- Fixed Cloud Code C# modules authoring support for solutions with multiple projects.
- Editor support for Cloud Code C# Modules deploy.
- Added subscription methods for player-specific and project-wide push messages from Cloud Code C# Modules.
- Increased timeout from 10 seconds to 25 seconds.
- Scripts are no longer cached, which would previously prevent deployments without a local change.
- When using JS Bundling, modifying an imported file will enable re-deployment for the main script.
- Selecting multiple .js files using in-script parameters, the inspector will now remain disabled for editing.
- When selecting multiple .js files or deployment definitions, the inspector will now properly refer to their actual types.
- Deployable assets (.js) not appearing on load in the Deployment Window with Unity 2022+.
- Fixed an issue with
null
paths on cloud code scripts.
- Added the ability to bundle JS scripts that are deployed from the editor.
- Added CallModuleEndpointAsync to the Cloud Code Service for calling C# Modules
- Fixed corrupted npm libraries used for services.
- Missing logs in some failure cases are now handled
- Added more verbose logging for diagnostics behind a preprocessor directive
- Duplicate file in the deployment window now appear as a warning instead of an error
- Updated the com.unity.services.deployment.api version to be used for config as code
- Rate limiting triggered in some cases
- Void type now allowed as return type for CloudCode scripts
- Removed requirement for function arguments when calling an endpoint. Now, it's possible to provide either null or omit them
- Integration with the
Deployment
package for config-as-code which allows to edit and configure CloudCode scripts directly from the editor
- Missing XmlDoc on public ICloudCodeService interface
- Moving out of Beta!
- The interface provided by CloudCode has been replaced by CloudCodeService.Instance, and should be accessed from there instead. The old API will be removed in an upcoming release
- Cloud Code methods now take a Dictionary<string, object> containing the script parameters instead of an object with named fields (the dictionary can still be null if the script does not have any parameters). The old API will be removed in an upcoming release
- When a rate limit error occurs, a specific CloudCodeRateLimitedException will now be thrown which includes the RetryAfter value (in seconds)
- Clarity and structure of some error messages has been improved
- Some classes that were accidentally made public are now internal
- Installation and Analytics IDs not being forwarded to Cloud Code server (causing incorrect tracking downstream)
- Project Settings tab with link to Cloud Code dashboard
- Cloud Code exceptions now include a Reason enum which is machine-readable
- NullReferenceException being thrown instead of some service errors
- Documentation URL in package manifest
- Deprecated some elements that should not have been public, these will be deleted in a later release
- Fixes a crash that could occur with certain exceptions returned from the API
- When a cloud code function that hasn't been published yet is called from the SDK, the SDK will throw a Null Reference Exception rather than a normal CloudCodeException
- No longer throws on null function parameter values
- No longer throws on null api return values
- Corrected exception types
- Removed tests from public package
- Fixed code examples in documentation
- Updated readme and changelog to be more descriptive.
- Updated package description to better highlight the usages of Cloud Code.
- Updated documentation in preperation for release.
- Updated dependencies (Core and Authentication) to latest versions.
- Updated internals for more stability.
- Added a new API that returns string, in order to support custom user serialization of return values.
- Updated documentation in preperation for release.
- Updated dependencies (Core and Authentication) to latest versions.
- Updated internals for more stability.
- Added a new API that returns string, in order to support custom user serialization of return values.
- Updated depedencies of Core and Authentication to latest versions.
- Update documentation and license
- Creating the package skeleton.