Closed yiiqii closed 2 months ago
[!CAUTION]
Review failed
The pull request is closed.
The recent changes involve version updates across multiple packages, primarily from 1.6.2
to 1.6.4
. Key improvements include the addition of WeChat Mini Program support, fixes for plugin functionalities, and adjustments to scaling logic in the SpineComponent
class. These enhancements collectively improve compatibility and performance within the software package, ensuring a smoother user experience.
Files | Change Summary |
---|---|
CHANGELOG-zh_CN.md , CHANGELOG.md |
Added entries for versions 1.6.4 and 1.6.3, detailing plugin fixes and enhancements. |
packages/effects-core/package.json , |
Updated version from 1.6.2 to 1.6.4 for multiple packages, indicating minor updates. |
packages/effects-helper/package.json , |
|
packages/effects-threejs/package.json , |
|
packages/effects-webgl/package.json , |
|
packages/effects/package.json , |
|
plugin-packages/alipay-downgrade/package.json , |
|
plugin-packages/editor-gizmo/package.json , |
|
plugin-packages/model/package.json |
Updated version and added WeChat Mini Program export. |
plugin-packages/orientation-transformer/package.json , |
|
plugin-packages/spine/package.json |
Updated version and added WeChat Mini Program export. |
plugin-packages/model/rollup.appx.config.js , |
Added support for WeChat Mini Programs in build configuration. |
plugin-packages/spine/rollup.appx.config.js |
Added support for WeChat Mini Programs in build configuration. |
plugin-packages/spine/src/spine-component.ts |
Enhanced the scaleFactor logic based on camera clipping mode for improved scaling. |
sequenceDiagram
participant User
participant Plugin
participant Camera
participant WeChat
User->>Plugin: Request rendering
Plugin->>Camera: Get inverse viewport ratio
Camera-->>Plugin: Return rx, ry
alt Portrait mode
Plugin->>Plugin: Calculate scaleFactor = rx / 1500
else Other mode
Plugin->>Plugin: Calculate scaleFactor = ry / 3248
end
Plugin->>User: Render output
π In the meadow, changes hop,
New features sprout, they never stop!
WeChat's support, a joyful cheer,
Scaling magic, far and near.
Bugs squashed tight, like carrots in a pot,
Hooray for upgrades, letβs celebrate a lot! πΌ
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