Skip to content

WarpParse Weekly Update Announce #171

Description

@seeker-zuo

WarpParse Weekly Update (1st Week of Feb 2026)

WarpParse V0.17.0-alpha

[0.17.0] - 2026-02-07

Added

  • WPL Pipe Functions: Add not() wrapper function for inverting pipe function results
    Syntax: | not(f_chars_has(dev_type, NDS)) succeeds when dev_type ≠ NDS
  • Supports wrapping any field pipe function (f_has, f_chars_has, chars_has, etc.)
  • Preserves field value - only inverts success/failure result
  • Supports nested negation: not(not(...)) for double negation logic
  • Sinks/File: Add sync parameter to control immediate disk flushing
  • WPL not() Group: Add not() group wrapper for negative assertion in field parsing
  • OML Static Blocks: Introduce static { ... } sections for model-scoped constants and template caching
    Static expressions are executed only once during model loading
  • OML Enable Configuration: Add enable configuration option to support disabling OML models

Changed

  • Sinks/Logging: Unify event ID naming across the codebase for end-to-end tracing
  • Sinks/Infrastructure: Optimize infrastructure sink data flow to maintain batch processing
  • Sinks/File: Supported output formats: json, csv, kv, show, raw, proto-text

Fixed

  • WP-OML Tests: Fix DataRecord initialization for compatibility with wp-model-core 0.7.2
  • WPL Pipe Functions: Fix f_chars_not_has and chars_not_has type checking bug
    Previously: Non-Chars fields (e.g., Digit) incorrectly returned FALSE
  • Now: Non-Chars fields correctly return TRUE (they are "not the target Chars value")

Chinese Version

WarpParse V0.17.0-alpha

[0.17.0] - 2026-02-07

Added(新增)

  • WPL 管道函数: 新增 not() 包装函数用于反转管道函数结果
    语法:| not(f_chars_has(dev_type, NDS)) 当 dev_type ≠ NDS 时成功

  • 支持包装任何字段管道函数(f_has、f_chars_has、chars_has 等)

  • Sinks/File: 新增 sync 参数控制磁盘即时刷新

  • WPL not() 分组: 新增 not() 组包装器用于字段解析中的否定断言

  • OML 静态代码块: 引入 static { ... } 语法用于模型范围的常量和模板缓存
    静态表达式在模型加载时仅执行一次,结果存储在常量池中供所有记录复用

Changed(变更)

  • Sinks/Logging:统一整个代码库的事件 ID 命名以支持端到端追踪
  • Sinks/基础设施:优化基础设施 sink 数据流,维持批处理能力
  • Sinks/File:移除 proto binary 格式支持
  • Sinks/File:支持的输出格式:json、csv、kv、show、raw、proto-text

Fixed(修复)

  • WP-OML 测试: 修复 DataRecord 初始化问题,以兼容 wp-model-core 0.7.2
  • WPL 管道函数: 修复 f_chars_not_has 和 chars_not_has 的类型检查 bug
    之前:非 Chars 字段(如 Digit)错误地返回 FALSE

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions