From 2f1ab9d90c9efa0de661ee0ef1a0092da7120099 Mon Sep 17 00:00:00 2001 From: minggo Date: Mon, 8 Jul 2024 18:27:43 +0800 Subject: [PATCH] change version to v3.8.4 (#17332) --- cocos/core/global-exports.ts | 2 +- cocos/tween/actions/action.ts | 2 +- cocos/tween/tween.ts | 12 ++++++------ native/cocos/cocos-version.h | 12 ++++++------ package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/cocos/core/global-exports.ts b/cocos/core/global-exports.ts index 25a4e32a6a2..0e59bf5bd68 100644 --- a/cocos/core/global-exports.ts +++ b/cocos/core/global-exports.ts @@ -46,7 +46,7 @@ if (DEV) { legacyCC._Test = {}; } -const engineVersion = '3.8.5'; +const engineVersion = '3.8.4'; /** * @en diff --git a/cocos/tween/actions/action.ts b/cocos/tween/actions/action.ts index 9b225fd2700..d585f37493e 100644 --- a/cocos/tween/actions/action.ts +++ b/cocos/tween/actions/action.ts @@ -52,7 +52,7 @@ export abstract class Action { protected target: unknown = null; /** - * The `workerTarget` was added from Cocos Creator 3.8.5 and it's used for nest `Tween` functionality. + * The `workerTarget` was added from Cocos Creator 3.8.4 and it's used for nest `Tween` functionality. * It stores the target of sub-tween and its value may be different from `target`. * * Example 1: diff --git a/cocos/tween/tween.ts b/cocos/tween/tween.ts index ab9967a3f81..5de19ea3b9e 100644 --- a/cocos/tween/tween.ts +++ b/cocos/tween/tween.ts @@ -60,12 +60,12 @@ export interface ITweenCustomProperty { value: MaybeUnionStringNumber | (() => MaybeUnionStringNumber); progress?: TweenCustomProgress; easing?: TweenCustomEasing; - convert?: ExtendsReturnResultOrNever number | string>; // Supported from v3.8.5 - clone?: ExtendsReturnResultOrNever Value>; // Supported from v3.8.5 - add?: (a: Value, b: Value) => Value; // Supported from v3.8.5 - sub?: (a: Value, b: Value) => Value; // Supported from v3.8.5 - legacyProgress?: ExtendsReturnResultOrNever; // Supported from v3.8.5, the default value is true for compatiblity - toFixed?: ExtendsReturnResultOrNever; // Supported from v3.8.5 + convert?: ExtendsReturnResultOrNever number | string>; // Supported from v3.8.4 + clone?: ExtendsReturnResultOrNever Value>; // Supported from v3.8.4 + add?: (a: Value, b: Value) => Value; // Supported from v3.8.4 + sub?: (a: Value, b: Value) => Value; // Supported from v3.8.4 + legacyProgress?: ExtendsReturnResultOrNever; // Supported from v3.8.4, the default value is true for compatiblity + toFixed?: ExtendsReturnResultOrNever; // Supported from v3.8.4 onStart?: (param: ITweenCustomPropertyStartParameter) => void; onStop?: () => void; onComplete?: () => void; diff --git a/native/cocos/cocos-version.h b/native/cocos/cocos-version.h index 510c8e0eb46..d7dbb25f319 100644 --- a/native/cocos/cocos-version.h +++ b/native/cocos/cocos-version.h @@ -23,11 +23,11 @@ THE SOFTWARE. ****************************************************************************/ #pragma once -#define COCOS_MAJOR_VERSION 3 -#define COCOS_MINJOR_VERSION 8 -#define COCOS_PATCH_VERSION 5 -#define COCOS_VERSION_STRING "3.8.5" -#define COCOS_VERSION_DEFINED 1 -#define COCOS_VERSION 30805 +#define COCOS_MAJOR_VERSION 3 +#define COCOS_MINJOR_VERSION 8 +#define COCOS_PATCH_VERSION 4 +#define COCOS_VERSION_STRING "3.8.4" +#define COCOS_VERSION_DEFINED 1 +#define COCOS_VERSION 30804 // #define COCOS_PRE_RELEASE "release" diff --git a/package-lock.json b/package-lock.json index d278a273821..e6002deb004 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cocos-creator", - "version": "3.8.5", + "version": "3.8.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cocos-creator", - "version": "3.8.5", + "version": "3.8.4", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 3ac577c98fd..027050cb83b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cocos-creator", - "version": "3.8.5", + "version": "3.8.4", "description": "Cocos Creator is a cross-platform 2D & 3D game engine written in C++ and TypeScript, licensed under MIT.", "homepage": "http://www.cocos.com", "license": "MIT",