Closed yiiqii closed 4 months ago
The update introduces support for the Alipay Mini App platform across various packages, refactors error handling and logging, and optimizes shader precision. It also reorganizes imports, updates dependencies, and enhances compatibility with specific environments. Additionally, new functionalities like checking the environment and handling downgrades for mini-programs are included.
File/Path | Change Summary |
---|---|
packages/effects-core/package.json |
Updated dependency version of @galacean/effects-specification to 1.3.0-alpha.0 . |
packages/effects-core/src/asset-manager.ts |
Modified error message construction within catch block to include specific error message. |
packages/effects-core/src/utils/device.ts |
Added isAlipayMiniApp function to check if the environment is an Alipay Mini App. |
packages/effects-webgl/src/gl-program.ts |
Changed initialization of blockUniformNames and added a conditional check for vao.vao in GLProgram class. |
packages/effects-webgl/src/gl-renderer-internal.ts |
Reordered imports, removed redundant imports, and simplified dispose method by removing haltGL parameter. |
packages/effects-webgl/src/gl-renderer.ts |
Reorganized imports, added GLEngine import, and modified dispose method by removing haltGL parameter. |
packages/effects/package.json |
Added new entry for "./alipay" with corresponding paths. |
packages/effects/rollup.appx.config.js |
Added alipay to adapterList and export platforms list, along with new variables for various functionalities. |
plugin-packages/alipay-downgrade/demo/src/status.ts |
Updated to include new imports and function calls related to Alipay downgrade and system information retrieval. |
plugin-packages/alipay-downgrade/package.json |
Added entry for "./alipay" with import, require, and types paths. |
plugin-packages/alipay-downgrade/rollup.appx.config.js |
Introduced configuration for compiling a mini-program artifact, defining adapter lists and build process. |
plugin-packages/alipay-downgrade/rollup.config.js |
Imported appxConfig and modified export structure to include appxConfig in final configuration. |
plugin-packages/alipay-downgrade/src/native-log.ts |
Added isAlipayMiniApp import, introduced content object for logging, and refactored logging functions. |
plugin-packages/alipay-downgrade/src/utils.ts |
Added isAlipayMiniApp import, modified getDeviceName , updated checkDowngrade , and introduced downgradeForMiniprogram function. |
plugin-packages/model/package.json |
Added entry for ./alipay with specific import, require, and types paths. |
plugin-packages/model/rollup.appx.config.js |
Introduced configuration for compiling a mini-program artifact with platform-specific settings. |
plugin-packages/model/rollup.config.js |
Imported appxConfig and modified export statement to include merging plugins from appxConfig . |
plugin-packages/model/src/runtime/shader-libs/standard/skybox.frag.glsl |
Added precision highp float; at the beginning of the file for shader precision. |
plugin-packages/orientation-transformer/package.json |
Added entry for "alipay" in typesVersions section. |
plugin-packages/orientation-transformer/rollup.appx.config.js |
Introduced configuration for compiling a mini-program artifact, defining adapter lists and build process. |
plugin-packages/orientation-transformer/rollup.config.js |
Imported appxConfig , modified return statement to include multiple configurations, and utilized appxConfig values. |
plugin-packages/orientation-transformer/src/composition-transformer-acceler.ts |
Removed commented-out console.log statement. |
plugin-packages/orientation-transformer/src/device-orientation.ts |
Modified import and condition to include isMiniProgram check. |
plugin-packages/orientation-transformer/src/index.ts |
Exported additional entities OrientationPluginLoader and TransformVFXItem . |
plugin-packages/orientation-transformer/src/utils/device.ts |
Added isMiniProgram , isAlipayMiniApp , and isWechatMiniApp functions. |
plugin-packages/spine/demo/src/api-test.ts |
Changed assignment of files and updated value of 'startSize' . |
plugin-packages/spine/demo/src/files.ts |
Updated URLs for various assets and added new entities like cloudPot and snowglobe . |
plugin-packages/spine/demo/src/multi-comp.ts |
Removed commented-out URLs and added a comment for a specific data version. |
plugin-packages/spine/package.json |
Added entry for "./alipay" with paths and updated dependency version of "@esotericsoftware/spine-core" . |
plugin-packages/spine/rollup.appx.config.js |
Introduced configuration for compiling a mini-program artifact for the 'alipay' platform. |
plugin-packages/spine/rollup.config.js |
Imported appxConfig and modified export statement to include appxConfig . |
plugin-packages/spine/src/spine-vfx-item.ts |
Added resizeRule property to SpineVFXItem and modified resize method accordingly. |
web-packages/demo/src/single.ts |
Added hardcoded values (not fully detailed in summary). |
web-packages/test/memory/src/scene-list.ts |
Commented out sections related to specific entities and provided alternative URLs for testing. |
In the land of code where changes thrive,
Alipay Mini Apps now come alive.
Errors caught with messages clear,
Precision shaders bring us cheer.
Imports tidy, logs refined,
Compatibility we now find.
🎉 A bunny's joy in each commit,
Our software's now a perfect fit! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
AssetManager
class.skybox.frag.glsl
.Refactor
dispose
method inGLRendererInternal
andGLRenderer
classes.Chores
package.json
files.scene-list.ts
for testing purposes.