Skip to content

V3.8.9 backport from 4.0.0 alpha.8 - #19205

Merged
star-e merged 19 commits into
cocos:v3.8.9from
star-e:v3.8.9-4.0.0-alpha.8
Aug 22, 2026
Merged

V3.8.9 backport from 4.0.0 alpha.8#19205
star-e merged 19 commits into
cocos:v3.8.9from
star-e:v3.8.9-4.0.0-alpha.8

Conversation

@star-e

@star-e star-e commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Re: #

Changelog


Continuous Integration

This pull request:

  • needs automatic test cases check.

    Manual trigger with @cocos-robot run test cases afterward.

  • does not change any runtime related code or build configuration

    If any reviewer thinks the CI checks are needed, please uncheck this option, then close and reopen the issue.


Compatibility Check

This pull request:

  • changes public API, and have ensured backward compatibility with deprecated features.
  • affects platform compatibility, e.g. system version, browser version, platform sdk version, platform toolchain, language version, hardware compatibility etc.
  • affects file structure of the build package or build configuration which requires user project upgrade.
  • introduces breaking changes, please list all changes, affected features and the scope of violation.

orchid-world and others added 17 commits August 7, 2026 00:00
…fter calling initDefault on a texture, resulting in the inability to retrieve texture.image. (#59)
* Fix memory leaks in Spine resource parsing on the web-side.

* update external version
# Conflicts:
#	native/external-config.json
…with the implementations of Vec2 and Vec4. (#57)

* Fix the issue that the implementation of Vec3 equals is inconsistent with the implementations of Vec2 and Vec4.

* Change approxEquals method to return boolean

* Fix formatting of approxEquals method

---------

Co-authored-by: hyde zhou <zlzhou.sh@outlook.com>
* Remove unneed function

* Reorder import statement for approx in model.ts

---------

Co-authored-by: hyde zhou <zlzhou.sh@outlook.com>
… be released last. (#75)

* Fix out of memory for spine4.2

* update external version
…lution in 2.4.16

* 参考2.4.16,解决cocos在字节小游戏上下载文件,每隔2秒掉帧到30-40帧的问题。原因是_write方法里使用writeFileSync方法在字节小游戏上可能时长700ms,卡主游戏。修改方法是改成2.x的版本使用异步方法writeFile,cache-manager基本改成和2.4.16一样了

* 解决cocos在字节小游戏上下载文件,每隔2秒掉帧到30-40帧的问题。
…mismatch (#89)

* 1.基于 Box2D JSB 的2D物理系统 结束碰撞但不回调 2.回调个数BeginContact和EndContact不一致。

* recover logic of physics-2d/box2d-jsb/platform/physics-contact-listener.ts

* add physics-2d/box2d-jsb/physics-contact-manager.ts
* the logic is consistent with box2d-jsb & box2d

* Add return type to register/unregisterContactFixture, fix lint

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@star-e star-e closed this Aug 14, 2026
@star-e star-e reopened this Aug 14, 2026

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@star-e

star-e commented Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

@cocos-robot run test cases

@github-actions

Copy link
Copy Markdown

Code Size Check Report

Wechat (WASM) Before After Diff
2D Empty (legacy pipeline) 1009838 bytes 1009914 bytes ⚠️ +76 bytes
2D All (legacy pipeline) 2675490 bytes 2676381 bytes ⚠️ +891 bytes
2D All (new pipeline) 2767226 bytes 2768117 bytes ⚠️ +891 bytes
(2D + 3D) All 10024224 bytes 10025305 bytes ⚠️ +1081 bytes
Web (WASM + ASMJS) Before After Diff
(2D + 3D) All 16843286 bytes 16845449 bytes ⚠️ +2163 bytes

Interface Check Report

! WARNING this pull request has changed these public interfaces:

@@ -19896,9 +19896,9 @@
         export class frustum extends Frustum {
             constructor();
         }
     }
-    export const VERSION = "3.8.8";
+    export const VERSION = "3.8.9";
     /**
      * @en
      * The main namespace of Cocos engine, all engine core classes, functions, properties and constants are defined in this namespace.
      * @zh
@@ -25064,9 +25064,9 @@
          * @param x X axis position
          * @param y Y axis position
          * @param z Z axis position
          */
-        setWorldPosition(x: number, y: number, z: number): void;
+        setWorldPosition(x: number, y: number, z?: number): void;
         /**
          * @en Get position in world coordinate system, please try to pass `out` vector and reuse it to avoid garbage.
          * @zh 获取世界坐标,注意,尽可能传递复用的 [[Vec3]] 以避免产生垃圾。
          * @param out Set the result to out vector

@github-actions

Copy link
Copy Markdown

@star-e, Please check the result of run test cases:

Task Details

@github-actions

Copy link
Copy Markdown

@star-e, Please check the result of run test cases:

Task Details

@star-e star-e closed this Aug 22, 2026
@star-e star-e reopened this Aug 22, 2026

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@star-e
star-e merged commit f148468 into cocos:v3.8.9 Aug 22, 2026
106 of 111 checks passed
star-e pushed a commit that referenced this pull request Aug 22, 2026
…19209)

Co-authored-by: cocos-robot <cocos-robot@cocos.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants