Skip to content

Commit c9d30d6

Browse files
committed
chore: bump dependencies and version to 0.16.0
- Update internal engine crates (wp-*) from v1.13.3 to v1.14.0 - Bump several external crates: bytes, getrandom, regex, regex-lite, regex-syntax, regex-automata - Update project version from 0.15.8 to 0.16.0
1 parent f2b659f commit c9d30d6

File tree

5 files changed

+86
-51
lines changed

5 files changed

+86
-51
lines changed

CHANGELOG.en.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@ 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.16.0] - 2026-02-04
11+
12+
### Changed
13+
- Upgraded `wp-motor` core engine to v1.14.0 with the following key changes:
14+
- **WPL Functions**: Added `starts_with` pipe function for efficient string prefix matching
15+
- **OML Pipe Functions**: Added `starts_with` function for prefix matching in OML query language
16+
- **OML Pipe Functions**: Added `map_to` function for type-aware conditional value assignment (supports string, integer, float, boolean)
17+
- **OML Match Expression**: Added function-based pattern matching support (`match read(field) { starts_with('prefix') => result }`)
18+
- String matching functions: `starts_with`, `ends_with`, `contains`, `regex_match`, `is_empty`, `iequals`
19+
- Numeric comparison functions: `gt`, `lt`, `eq`, `in_range`
20+
- **OML Parser**: Added quoted string support for `chars()` and other value constructors (single and double quotes)
21+
- **OML Transformer**: Added automatic temporary field filtering (fields starting with `__` are converted to ignore type)
22+
- **OML Syntax**: Made `pipe` keyword optional in pipe expressions (both `take(field) | func` and `pipe take(field) | func` supported)
23+
- **Bug Fixes**: Fixed `in_range` function parsing failure in OML match expressions
24+
- **Bug Fixes**: Fixed large integer precision loss in `map_to` parser
25+
- **Bug Fixes**: Fixed OML display output round-trip parsing compatibility
26+
1027
## [0.15.8] - 2026-02-03
1128

1229
### Changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@ 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.16.0] - 2026-02-04
11+
12+
### Changed
13+
- 升级 `wp-motor` 核心引擎到 v1.14.0 版本,主要变化包括:
14+
- **WPL 函数增强**:新增 `starts_with` 管道函数,用于高效字符串前缀匹配
15+
- **OML 管道函数**:新增 `starts_with` 函数用于前缀匹配
16+
- **OML 管道函数**:新增 `map_to` 函数用于类型感知的条件值分配(支持 string、integer、float、boolean)
17+
- **OML 匹配表达式**:支持基于函数的模式匹配(`match read(field) { starts_with('prefix') => result }`
18+
- 字符串匹配函数:`starts_with``ends_with``contains``regex_match``is_empty``iequals`
19+
- 数值比较函数:`gt``lt``eq``in_range`
20+
- **OML 解析器**:支持 `chars()` 等值构造器中的引号字符串(单引号和双引号)
21+
- **OML 转换器**:新增临时字段自动过滤功能(以 `__` 开头的字段自动转换为 ignore 类型)
22+
- **OML 语法简化**:管道表达式中 `pipe` 关键字现在为可选(`take(field) | func``pipe take(field) | func` 都支持)
23+
- **修复问题**:修复 OML 匹配表达式中 `in_range` 函数解析失败的问题
24+
- **修复问题**:修复 `map_to` 解析器中大整数精度丢失的问题
25+
- **修复问题**:修复 OML 显示输出的往返解析兼容性问题
26+
1027
## [0.15.8] - 2026-02-03
1128

1229
### Changed

Cargo.lock

Lines changed: 44 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
[package]
1818
name = "warp-parse"
19-
version = "0.15.8"
19+
version = "0.16.0"
2020
edition = "2021"
2121
rust-version = "1.75"
2222
authors = ["Warp Parse Team"]
@@ -229,12 +229,12 @@ wp-data-fmt = "0.1"
229229

230230
# --- Internal: Engine ---
231231

232-
wp-engine = { git = "https://github.com/wp-labs/wp-motor", tag = "v1.13.3" }
233-
wp-config = { package = "wp-config", git = "https://github.com/wp-labs/wp-motor", tag = "v1.13.3" }
234-
wp-lang = { package = "wp-lang", git = "https://github.com/wp-labs/wp-motor", tag = "v1.13.3" }
235-
wp_knowledge = { package = "wp-knowledge", git = "https://github.com/wp-labs/wp-motor", tag = "v1.13.3" }
236-
wp-cli-core = { package = "wp-cli-core", git = "https://github.com/wp-labs/wp-motor", tag = "v1.13.3" }
237-
wp-proj = { package = "wp-proj", git = "https://github.com/wp-labs/wp-motor", tag = "v1.13.3" }
232+
wp-engine = { git = "https://github.com/wp-labs/wp-motor", tag = "v1.14.0" }
233+
wp-config = { package = "wp-config", git = "https://github.com/wp-labs/wp-motor", tag = "v1.14.0" }
234+
wp-lang = { package = "wp-lang", git = "https://github.com/wp-labs/wp-motor", tag = "v1.14.0" }
235+
wp_knowledge = { package = "wp-knowledge", git = "https://github.com/wp-labs/wp-motor", tag = "v1.14.0" }
236+
wp-cli-core = { package = "wp-cli-core", git = "https://github.com/wp-labs/wp-motor", tag = "v1.14.0" }
237+
wp-proj = { package = "wp-proj", git = "https://github.com/wp-labs/wp-motor", tag = "v1.14.0" }
238238

239239
wp-connectors = { package = "wp-connectors", git = "https://github.com/wp-labs/wp-connectors", tag = "v0.7.5-beta" }
240240

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.15.8
1+
0.16.0

0 commit comments

Comments
 (0)