Changelog
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.
[2.4.0] - 2023-05-12
Added
- Added subscription methods for player-specific and project-wide push messages from Cloud Code C# Modules.
[2.3.2] - 2023-03-24
Changed
- Increased timeout from 10 seconds to 25 seconds.
- Scripts are no longer cached, which would previously prevent deployments without a local change.
Fixed
- 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+.
[2.3.1] - 2023-03-21
Fixed
- Fixed an issue with
null
paths on cloud code scripts.
[2.3.0] - 2023-03-14
Added
- Added the ability to bundle JS scripts that are deployed from the editor.
- Added CallModuleEndpointAsync to the Cloud Code Service for calling C# Modules
[2.2.4] - 2023-02-07
Fixed
- Fixed corrupted npm libraries used for services.
[2.2.2] - 2022-12-07
Fixed
- Missing logs in some failure cases are now handled
- Added more verbose logging for diagnostics behind a preprocessor directive
[2.2.1] - 2022-12-07
Fixed
- 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
[2.1.2] - 2022-10-27
Fixed
- Rate limiting triggered in some cases
[2.1.1] - 2022-09-27
Fixed
- 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
Added
- Integration with the
Deployment
package for config-as-code which allows to edit and configure CloudCode scripts directly from the editor
[2.0.1] - 2022-06-13
Fixed
- Missing XmlDoc on public ICloudCodeService interface
[2.0.0] - 2022-06-01
- Moving out of Beta!
[2.0.0-pre.4] - 2022-04-16
Breaking Changes:
- 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
Fixed
- Installation and Analytics IDs not being forwarded to Cloud Code server (causing incorrect tracking downstream)
Added
- Project Settings tab with link to Cloud Code dashboard
- Cloud Code exceptions now include a Reason enum which is machine-readable
[1.0.0-pre.7] - 2021-12-07
Fixed
- 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
[1.0.0-pre.6] - 2021-09-22
- Fixes a crash that could occur with certain exceptions returned from the API
Known Issues
- 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
[1.0.0-pre.5] - 2021-09-17
- 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
[1.0.0-pre.4] - 2021-08-19
- Updated readme and changelog to be more descriptive.
- Updated package description to better highlight the usages of Cloud Code.
[1.0.0-pre.1] - 2021-08-10
- 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.
[1.0.0-pre.1] - 2021-08-10
- 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.
[0.0.3-preview] - 2021-06-17
- Updated depedencies of Core and Authentication to latest versions.
[0.0.2-preview] - 2021-05-27
- Update documentation and license
[0.0.1-preview] - 2021-05-10
Package Setup for Cloud Code.
- Creating the package skeleton.