Files
esengine/packages/framework/blueprint/CHANGELOG.md
github-actions[bot] c902dd7291 chore: release packages (#439)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-05 11:25:48 +08:00

5.2 KiB
Raw Blame History

@esengine/blueprint

4.4.0

Minor Changes

  • #438 0d33cf0 Thanks @esengine! - feat(node-editor): add visual group box for organizing nodes

    • Add NodeGroup model with dynamic bounds calculation based on node pin counts
    • Add GroupNodeComponent for rendering group boxes behind nodes
    • Groups automatically resize to wrap contained nodes
    • Dragging group header moves all nodes inside together
    • Support group serialization/deserialization
    • Export estimateNodeHeight and NodeBounds for accurate size calculation

    feat(blueprint): add comprehensive math and logic nodes

    Math nodes:

    • Modulo, Abs, Min, Max, Power, Sqrt
    • Floor, Ceil, Round, Sign, Negate
    • Sin, Cos, Tan, Asin, Acos, Atan, Atan2
    • DegToRad, RadToDeg, Lerp, InverseLerp
    • Clamp, Wrap, RandomRange, RandomInt

    Logic nodes:

    • Equal, NotEqual, GreaterThan, GreaterThanOrEqual
    • LessThan, LessThanOrEqual, InRange
    • AND, OR, NOT, XOR, NAND
    • IsNull, Select (ternary)

4.3.0

Minor Changes

  • #435 c2acd14 Thanks @esengine! - feat(blueprint): 添加 Add Component 节点支持 + 变量节点 + ECS 模式重构

    新功能:

    • 为每个 @BlueprintExpose 组件自动生成 Add_ComponentName 节点
    • Add 节点支持设置初始属性值
    • 添加通用 ECS_AddComponent 节点用于动态添加组件
    • @BlueprintExpose 装饰的组件自动注册,无需手动调用 registerComponentClass()
    • 添加变量节点GetVariable, SetVariable, GetBoolVariable, GetFloatVariable, GetIntVariable, GetStringVariable

    重构:

    • BlueprintComponent 使用 @ECSComponent 装饰器注册
    • BlueprintSystem 继承标准 System 基类
    • 简化组件 API优化 VM 生命周期管理
    • ExecutionContext.getComponentClass() 自动查找 @BlueprintExpose 注册的组件

4.2.0

Minor Changes

  • #433 2e84942 Thanks @esengine! - feat(blueprint): 添加 Add Component 节点支持 + ECS 模式重构

    新功能:

    • 为每个 @BlueprintExpose 组件自动生成 Add_ComponentName 节点
    • Add 节点支持设置初始属性值
    • 添加通用 ECS_AddComponent 节点用于动态添加组件
    • 添加 registerComponentClass() 用于手动注册组件类

    重构:

    • BlueprintComponent 使用 @ECSComponent 装饰器注册
    • BlueprintSystem 继承标准 System 基类
    • 简化组件 API优化 VM 生命周期管理

4.1.0

Minor Changes

  • #430 caf3be7 Thanks @esengine! - feat(blueprint): 重构装饰器系统,移除 Reflect 依赖 | Refactor decorator system, remove Reflect dependency

    @esengine/blueprint

    • 移除 Reflect.getMetadata 依赖,装饰器现在要求显式指定类型 | Removed Reflect.getMetadata dependency, decorators now require explicit type specification
    • 简化 BlueprintPropertyBlueprintMethod 装饰器的元数据结构 | Simplified metadata structure for BlueprintProperty and BlueprintMethod decorators
    • 新增 inferPinType 工具函数用于类型推断 | Added inferPinType utility function for type inference
    • 优化组件节点生成器以适配新的元数据结构 | Optimized component node generator for new metadata structure

4.0.1

Patch Changes

  • Updated dependencies [3e5b778]:
    • @esengine/ecs-framework@2.7.1

4.0.0

Patch Changes

  • Updated dependencies [1f3a76a]:
    • @esengine/ecs-framework@2.7.0

3.0.1

Patch Changes

  • Updated dependencies [04b08f3]:
    • @esengine/ecs-framework@2.6.1

3.0.0

Patch Changes

  • Updated dependencies []:
    • @esengine/ecs-framework@2.6.0

2.0.1

Patch Changes

  • Updated dependencies [a08a84b]:
    • @esengine/ecs-framework@2.5.1

2.0.0

Patch Changes

  • Updated dependencies [1f297ac]:
    • @esengine/ecs-framework@2.5.0

1.0.2

Patch Changes

  • Updated dependencies [7d74623]:
    • @esengine/ecs-framework@2.4.4

1.0.1

Patch Changes

  • Updated dependencies [ce2db4e]:
    • @esengine/ecs-framework@2.4.3