Releases: eva-engine/eva.js
Releases · eva-engine/eva.js
Release list
v2.0.1
Breaking Changes
Upgrade to PixiJS v8
- Upgraded pixi.js dependency from v4.8.9 to v8.17.0 with performance and feature improvements
- Refactored renderer code to adapt to PixiJS v8 API
Web Worker Support
- Added Web Worker runtime mode for multi-threaded rendering
- Implemented Worker event mapping and screen coordinate transformation
- Batch event sending to optimize main thread performance
Multi Canvas Support
- Support for multi-canvas rendering scenarios
New Features
Text Rendering Enhancements
- HTMLText Component: New HTMLText component with rich text formatting, custom styles, and dynamic updates
- Drop Shadow: Text and BitmapText components now support drop shadow effects
- Gradient Fill: Text component supports PixiJS v8 fill gradients
- Stroke Style: BitmapText now supports stroke properties with
processStrokeStylemethod for v8 compatibility - Font Resources: Support for async font resource loading and font family aliases
- Resolution Parameter: Render component now accepts a resolution parameter for improved text rendering clarity
Spine Skeletal Animation
- Added Spine 3.6 version support (plugin-renderer-spine36)
- Upgraded to pixi-spine 4.2
- Added
keepResourceproperty for optimized Spine resource management - Refactored slot object management
Lottie Animation
- Added Lottie animation support
- Support for dynamic Lottie data replacement
- Playback direction control
Audio
- Migrated to
@pixi/soundfor v8 audio system support - Added AAC format support
Scene Management
- Added
pauseScene/startScenemethods for scene lifecycle management - Added
resizeByScenemethod to adjust renderer size based on scene - Implemented name-based game object search across scenes
Other Features
- Mesh Plugin: New renderer-mesh plugin with perspective mesh and vertex count support
- NinePatch: Support for sprite resources with optimized texture loading
- Event System: Integrated canvas mapping event handling with canvas dimensions in event data
- GameObject: Added
childrengetter for accessing child game objects - Ticker: Implemented catch-up frame logic to maintain game time synchronization during RAF throttling
- Animation Events: Added update event callback
- KTX2 Compressed Texture support
Bug Fixes
- Fixed incomplete resource cleanup during game destruction
- Fixed world matrix calculation and Ticker shared instance issues
- Fixed resource loading error capture
- Fixed A11y system setTransform call
- Fixed BitmapText fontWeight/fontStyle type definitions
- Fixed type definition for
_flushPendingSlotObjectsmethod in Spine component
Engineering
- Removed miniapp-related packages and configurations
- Refactored type definition generation logic
- Enhanced component and system documentation with descriptions and examples
- Added benchmark example and canvas demo
- Added test scripts with improved test coverage for resource management and rendering systems
Total Changes: 269 files, +66,320 lines, -48,409 lines
v1.2.8
What's Changed
- Fix: #200 by @terrykingcha in #201
- Fix: typo for enableScroll of RendererSystemParams by @zfkun in #206
- Fix: mask by @fanmingfei in #199
- Fix: a shim of Object.values by @fanmingfei in commit a9740c
- Fix: Remove Dragonbone Ticker on destroy by @terrykingcha in commit 83ed7a
- Fix: Remove Sprite Images on destroy by @terrykingcha in commit 9b071b
New Contributors
Full Changelog: v1.2.7...v1.2.8
v1.2.7
What's Changed
- Fix: export settings/UPDATE_PRIORITY from miniprogram-pixi by @fanmingfei in #184
- Fix: bad component resource by @aspsnd in #183
- Feat: add draw call at stats plugin by @574495412 in #178
New Contributors
- @574495412 made their first contribution in #178
Full Changelog: v1.2.6...v1.2.7
v1.2.6
What's Changed
- fix: IIFE min file not have window variable. by @fanmingfei in #185
Full Changelog: v1.2.5...v1.2.6
v1.2.5
What's Changed
- fix: throw error addComponent to a destroyed gameObject by @fanmingfei in #174
Full Changelog: v1.2.4...v1.2.5
v1.2.4
What's Changed
Full Changelog: v1.2.3...v1.2.4
v1.2.3
v1.2.2
What's Changed
- fix: change error to console by @fanmingfei in #155
- Feat/spine bundle by @fanmingfei in #154
- Fix/iife by @fanmingfei in #153
- feat: frame info & stop at last frame by @fanmingfei in #151
- add localPosition on event data by @aspsnd in #158
- Fix/frame by @fanmingfei in #159
- Feat/ali miniprogram by @fanmingfei in #156
- fix: qrcode by @fanmingfei in #162
- Spine autoplay bug by @aspsnd in #164
- fix: resource can't loaded by @fanmingfei in #165
- fix: protect by @fanmingfei in #166
- fix: remove symbol by @fanmingfei in #167
Full Changelog: v1.2.0...v1.2.2
v1.2.0
Feature
- Support compressed texture
Fixed - Optimize a11y
- Solve the problem that spine38 uses the same resource to delete and immediately add an error