Skip to content

Commit

Permalink
change version to v3.8.4 (cocos#17332)
Browse files Browse the repository at this point in the history
  • Loading branch information
minggo committed Jul 8, 2024
1 parent 46e8a20 commit 2f1ab9d
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion cocos/core/global-exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if (DEV) {
legacyCC._Test = {};
}

const engineVersion = '3.8.5';
const engineVersion = '3.8.4';

/**
* @en
Expand Down
2 changes: 1 addition & 1 deletion cocos/tween/actions/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
12 changes: 6 additions & 6 deletions cocos/tween/tween.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ export interface ITweenCustomProperty<Value> {
value: MaybeUnionStringNumber<Value> | (() => MaybeUnionStringNumber<Value>);
progress?: TweenCustomProgress;
easing?: TweenCustomEasing;
convert?: ExtendsReturnResultOrNever<Value, string, (v: string) => number | string>; // Supported from v3.8.5
clone?: ExtendsReturnResultOrNever<Value, object, (v: Value) => 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<Value, object, boolean>; // Supported from v3.8.5, the default value is true for compatiblity
toFixed?: ExtendsReturnResultOrNever<Value, string, number>; // Supported from v3.8.5
convert?: ExtendsReturnResultOrNever<Value, string, (v: string) => number | string>; // Supported from v3.8.4
clone?: ExtendsReturnResultOrNever<Value, object, (v: Value) => 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<Value, object, boolean>; // Supported from v3.8.4, the default value is true for compatiblity
toFixed?: ExtendsReturnResultOrNever<Value, string, number>; // Supported from v3.8.4
onStart?: (param: ITweenCustomPropertyStartParameter<Value>) => void;
onStop?: () => void;
onComplete?: () => void;
Expand Down
12 changes: 6 additions & 6 deletions native/cocos/cocos-version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 2f1ab9d

Please sign in to comment.