Skip to content

Commit a9c1cf0

Browse files
committed
Merge branch 'alpha' into beta
2 parents d49536d + 73015e6 commit a9c1cf0

File tree

9 files changed

+533
-211
lines changed

9 files changed

+533
-211
lines changed

.github/workflows/dependabot-branch-filter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
103103
- name: Comment and close PR
104104
if: steps.check.outputs.should_close == 'true'
105-
uses: actions/github-script@v7
105+
uses: actions/github-script@v8
106106
with:
107107
script: |
108108
const reason = '${{ steps.check.outputs.reason }}';

.github/workflows/release.yml

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -180,26 +180,19 @@ jobs:
180180
- name: Checkout repository
181181
uses: actions/checkout@v6
182182

183-
- name: Determine branch from tag
183+
- name: Determine branch
184184
id: branch
185185
run: |
186-
TAG="${{ github.ref_name }}"
187-
if [[ "$TAG" == *"-alpha"* ]]; then
186+
VERSION="${{ github.ref_name }}"
187+
if [[ "$VERSION" == *"-alpha"* ]]; then
188188
BRANCH="alpha"
189-
elif [[ "$TAG" == *"-beta"* ]]; then
190-
BRANCH="beta"
191-
elif [[ "$TAG" == *"-rc"* ]]; then
189+
elif [[ "$VERSION" == *"-beta"* ]]; then
192190
BRANCH="beta"
193191
else
194192
BRANCH="main"
195193
fi
196-
echo "name=$BRANCH" >> $GITHUB_OUTPUT
197-
echo "Tag: $TAG -> Branch: $BRANCH"
198-
199-
- name: Checkout branch for changelog
200-
uses: actions/checkout@v6
201-
with:
202-
ref: ${{ steps.branch.outputs.name }}
194+
echo "branch=$BRANCH" >> $GITHUB_OUTPUT
195+
echo "Using branch: $BRANCH"
203196
204197
- name: Extract changelog
205198
id: changelog
@@ -256,7 +249,7 @@ jobs:
256249
257250
### Quick Install Script
258251
```bash
259-
curl -fsSL https://raw.githubusercontent.com/wp-labs/warp-parse/main/scripts/install.sh | bash
252+
curl -fsSL https://raw.githubusercontent.com/wp-labs/warp-parse/${{ steps.branch.outputs.branch }}/scripts/install.sh | bash
260253
```
261254
262255
### Docker Image
@@ -283,9 +276,9 @@ jobs:
283276
284277
## 📚 Documentation
285278
286-
- [Release Management](https://github.com/wp-labs/warp-parse/blob/main/docs/RELEASE_MANAGEMENT.md)
287-
- [User Guide](https://github.com/wp-labs/warp-parse/tree/main/docs/user-guide)
288-
- [Performance Benchmarks](https://github.com/wp-labs/warp-parse/blob/main/docs/performance.md)
279+
- [Release Management](https://github.com/wp-labs/warp-parse/blob/${{ steps.branch.outputs.branch }}/docs/RELEASE_MANAGEMENT.md)
280+
- [User Guide](https://github.com/wp-labs/warp-parse/tree/${{ steps.branch.outputs.branch }}/docs/user-guide)
281+
- [Performance Benchmarks](https://github.com/wp-labs/warp-parse/blob/${{ steps.branch.outputs.branch }}/docs/performance.md)
289282
290283
## 🐛 Found an Issue?
291284

CHANGELOG.en.md

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,73 @@ All notable changes to this project will be documented in this file.
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
88
and the project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10-
## [0.15.6] - 2026-01-30
10+
## [0.17.1] - 2026-02-09
11+
12+
### Changed
13+
- Upgraded `wp-motor` core engine from v1.15.1 to v1.15.5 with key improvements:
14+
- **Documentation**: Added complete English WPL grammar reference documentation
15+
- **Performance**: OML batch processing performance improved by 12-17%
16+
- **Performance**: OML zero-copy optimization, multi-stage pipeline performance improved up to 32%
17+
- Updated project dependencies to latest versions
18+
19+
## [0.17.0] - 2026-02-07
20+
21+
### Changed
22+
- Upgraded `wp-motor` core engine to v1.15.1 with the following key changes:
23+
- **WPL Features**: Added `not()` wrapper function for inverting pipe function results
24+
- **WPL Features**: Added `not()` group wrapper for negative assertion in field parsing
25+
- **OML Features**: Introduced `static { ... }` sections for model-scoped constants and template caching to improve performance
26+
- **OML Configuration**: Added `enable` configuration option to support disabling OML models
27+
- **Sinks/File**: Added `sync` parameter to control disk flushing strategy (high-performance mode vs data safety mode)
28+
- **Sinks/File**: Removed proto binary format support; supported formats: json, csv, kv, show, raw, proto-text
29+
- **Bug Fixes**: Fixed `sync` parameter not forcing data to disk
30+
- **Bug Fixes**: Fixed type checking bug in WPL pipe functions `f_chars_not_has` and `chars_not_has`
31+
- Updated project dependencies to latest versions
32+
33+
## [0.16.1] - 2026-02-05
34+
35+
### Changed
36+
- Upgraded `wp-motor` core engine to v1.14.1-alpha with the following key changes:
37+
- **WPL Pipe Processor**: Added `strip/bom` processor for removing BOM (Byte Order Mark) from data
38+
- Supports UTF-8, UTF-16 LE/BE, and UTF-32 LE/BE BOM detection and removal
39+
- Fast O(1) detection by checking only first 2-4 bytes
40+
- Preserves input container type (String → String, Bytes → Bytes, ArcBytes → ArcBytes)
41+
42+
## [0.16.0] - 2026-02-04
43+
44+
### Changed
45+
- Upgraded `wp-motor` core engine to v1.14.0 with the following key changes:
46+
- **WPL Functions**: Added `starts_with` pipe function for efficient string prefix matching
47+
- **OML Pipe Functions**: Added `starts_with` function for prefix matching in OML query language
48+
- **OML Pipe Functions**: Added `map_to` function for type-aware conditional value assignment (supports string, integer, float, boolean)
49+
- **OML Match Expression**: Added function-based pattern matching support (`match read(field) { starts_with('prefix') => result }`)
50+
- String matching functions: `starts_with`, `ends_with`, `contains`, `regex_match`, `is_empty`, `iequals`
51+
- Numeric comparison functions: `gt`, `lt`, `eq`, `in_range`
52+
- **OML Parser**: Added quoted string support for `chars()` and other value constructors (single and double quotes)
53+
- **OML Transformer**: Added automatic temporary field filtering (fields starting with `__` are converted to ignore type)
54+
- **OML Syntax**: Made `pipe` keyword optional in pipe expressions (both `take(field) | func` and `pipe take(field) | func` supported)
55+
- **Bug Fixes**: Fixed `in_range` function parsing failure in OML match expressions
56+
- **Bug Fixes**: Fixed large integer precision loss in `map_to` parser
57+
- **Bug Fixes**: Fixed OML display output round-trip parsing compatibility
58+
59+
## [0.15.8] - 2026-02-03
60+
61+
### Changed
62+
- Upgraded `wp-motor` core engine to v1.13.3 with the following key changes:
63+
- **WPL Parser**: Added support for `\t` (tab) and `\S` (non-whitespace) separators in parsing expressions
64+
- **WPL Parser**: Added support for quoted field names with special characters (e.g., `"field.name"`, `"field-name"`)
65+
- **WPL Functions**: Added `regex_match` function for regex pattern matching
66+
- **WPL Functions**: Added `digit_range` function for numeric range validation
67+
- **WPL Functions**: Added `chars_replace` function for character-level string replacement
68+
- **Logging Optimization**: High-frequency log paths now use `log_enabled!` guard to eliminate loop overhead when log level is filtered
69+
- **Bug Fixes**: Fixed compilation errors in WPL pattern parser implementations
70+
- **Bug Fixes**: Fixed data rescue functionality data loss issue
71+
- **Bug Fixes**: Removed base64 encoding from Miss Sink raw data display to show actual content
72+
- Updated all dependencies to latest versions.
73+
- **License Change**: Project license changed from Elastic License 2.0 to Apache 2.0.
74+
- **Documentation**: Added CONTRIBUTING.md and updated README.md.
75+
76+
## [0.15.7] - 2026-01-30
1177

1278
### Changed
1379
- Upgraded `wp-motor` core engine to v1.13.1 with the following key changes:

CHANGELOG.md

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,73 @@ All notable changes to this project will be documented in this file.
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
88
and the project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10-
## [0.15.6] - 2026-01-30
10+
## [0.17.1] - 2026-02-09
11+
12+
### Changed
13+
- 升级 `wp-motor` 核心引擎从 v1.15.1 到 v1.15.5,主要变化包括:
14+
- **文档**:新增完整的英文 WPL 语法参考文档
15+
- **性能优化**:OML 批处理性能提升 12-17%
16+
- **性能优化**:OML 零拷贝优化,多阶段管道性能提升最高 32%
17+
- 更新项目依赖到最新版本
18+
19+
## [0.17.0] - 2026-02-07
20+
21+
### Changed
22+
- 升级 `wp-motor` 核心引擎到 v1.15.1 版本,主要变化包括:
23+
- **WPL 新增功能**:新增 `not()` 包装函数用于反转管道函数结果
24+
- **WPL 新增功能**:新增 `not()` 组包装器用于字段解析中的否定断言
25+
- **OML 新增功能**:引入 `static { ... }` 语法用于模型范围的常量和模板缓存,提升性能
26+
- **OML 配置**:新增 `enable` 配置选项,支持禁用 OML 模型
27+
- **Sinks/File**:新增 `sync` 参数控制磁盘刷新策略(高性能模式 vs 数据安全模式)
28+
- **Sinks/File**:移除 proto binary 格式支持,当前支持格式:json、csv、kv、show、raw、proto-text
29+
- **Bug 修复**:修复 `sync` 参数未强制数据写入磁盘的问题
30+
- **Bug 修复**:修复 WPL 管道函数 `f_chars_not_has``chars_not_has` 的类型检查 bug
31+
- 更新项目依赖到最新版本
32+
33+
## [0.16.1] - 2026-02-05
34+
35+
### Changed
36+
- 升级 `wp-motor` 核心引擎到 v1.14.1-alpha 版本,主要变化包括:
37+
- **WPL 管道处理器**:新增 `strip/bom` 处理器用于移除 BOM(字节顺序标记)
38+
- 支持 UTF-8、UTF-16 LE/BE、UTF-32 LE/BE BOM 检测和移除
39+
- O(1) 快速检测(仅检查前 2-4 字节)
40+
- 保留输入容器类型(String → String, Bytes → Bytes, ArcBytes → ArcBytes)
41+
42+
## [0.16.0] - 2026-02-04
43+
44+
### Changed
45+
- 升级 `wp-motor` 核心引擎到 v1.14.0 版本,主要变化包括:
46+
- **WPL 函数增强**:新增 `starts_with` 管道函数,用于高效字符串前缀匹配
47+
- **OML 管道函数**:新增 `starts_with` 函数用于前缀匹配
48+
- **OML 管道函数**:新增 `map_to` 函数用于类型感知的条件值分配(支持 string、integer、float、boolean)
49+
- **OML 匹配表达式**:支持基于函数的模式匹配(`match read(field) { starts_with('prefix') => result }`
50+
- 字符串匹配函数:`starts_with``ends_with``contains``regex_match``is_empty``iequals`
51+
- 数值比较函数:`gt``lt``eq``in_range`
52+
- **OML 解析器**:支持 `chars()` 等值构造器中的引号字符串(单引号和双引号)
53+
- **OML 转换器**:新增临时字段自动过滤功能(以 `__` 开头的字段自动转换为 ignore 类型)
54+
- **OML 语法简化**:管道表达式中 `pipe` 关键字现在为可选(`take(field) | func``pipe take(field) | func` 都支持)
55+
- **修复问题**:修复 OML 匹配表达式中 `in_range` 函数解析失败的问题
56+
- **修复问题**:修复 `map_to` 解析器中大整数精度丢失的问题
57+
- **修复问题**:修复 OML 显示输出的往返解析兼容性问题
58+
59+
## [0.15.8] - 2026-02-03
60+
61+
### Changed
62+
- 升级 `wp-motor` 核心引擎到 v1.13.3 版本,主要变化包括:
63+
- **WPL 解析器**:支持 `\t`(制表符)和 `\S`(非空白字符)分隔符
64+
- **WPL 解析器**:支持带引号的特殊字符字段名(如 `"field.name"``"field-name"`
65+
- **WPL 函数增强**:新增 `regex_match` 正则匹配函数
66+
- **WPL 函数增强**:新增 `digit_range` 数字范围验证函数
67+
- **WPL 函数增强**:新增 `chars_replace` 字符级字符串替换函数
68+
- **日志优化**:高频日志路径使用 `log_enabled!` 守卫,消除日志级别过滤时的循环开销
69+
- **修复问题**:修复 WPL 模式解析器的编译错误
70+
- **修复问题**:修复数据救援功能的数据丢失问题
71+
- **修复问题**:移除 Miss Sink 原始数据显示中的 base64 编码,直接显示实际内容
72+
- 更新所有依赖到最新版本。
73+
- **许可证变更**:项目许可证从 Elastic License 2.0 变更为 Apache 2.0。
74+
- **文档改进**:新增 CONTRIBUTING.md 贡献指南,更新 README.md 说明文档。
75+
76+
## [0.15.7] - 2026-01-30
1177

1278
### Changed
1379
- 升级 `wp-motor` 核心引擎到 v1.13.1 版本,主要变化包括:

0 commit comments

Comments
 (0)