docs: 补充 v2.2.21 changelog 中遗漏的迭代安全修复 (#272)

This commit is contained in:
yhh
2025-12-05 16:17:18 +08:00
parent b2b8df9340
commit fe96d72ac6
2 changed files with 10 additions and 0 deletions

View File

@@ -6,6 +6,11 @@
## v2.2.21 (2025-12-05) ## v2.2.21 (2025-12-05)
### Bug Fixes
- **迭代安全修复**: 修复 `process`/`lateProcess` 迭代时组件变化导致跳过实体的问题 (#272)
- 在系统处理过程中添加/移除组件不再导致实体被意外跳过
### Performance ### Performance
- **HierarchySystem 性能优化**: 优化层级系统避免每帧遍历所有实体 (#279) - **HierarchySystem 性能优化**: 优化层级系统避免每帧遍历所有实体 (#279)

View File

@@ -6,6 +6,11 @@ This document records the version update history of the `@esengine/ecs-framework
## v2.2.21 (2025-12-05) ## v2.2.21 (2025-12-05)
### Bug Fixes
- **Iteration safety fix**: Fix issue where component changes during `process`/`lateProcess` iteration caused entities to be skipped (#272)
- Adding/removing components during system processing no longer causes entities to be unexpectedly skipped
### Performance ### Performance
- **HierarchySystem optimization**: Optimize hierarchy system to avoid iterating all entities every frame (#279) - **HierarchySystem optimization**: Optimize hierarchy system to avoid iterating all entities every frame (#279)