Skip to content

Bump wp-knowledge from 0.15.1 to 0.19.0 - #103

Open
dependabot[bot] wants to merge 1 commit into
alphafrom
dependabot/cargo/alpha/wp-knowledge-0.19.0
Open

dependabot[bot] wants to merge 1 commit into
alphafrom
dependabot/cargo/alpha/wp-knowledge-0.19.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 26, 2026

Copy link
Copy Markdown

Bumps wp-knowledge from 0.15.1 to 0.19.0.

Release notes

Sourced from wp-knowledge's releases.

v0.19.0

Full Changelog: wp-labs/wp-knowledge@v0.18.0...v0.19.0

v0.18.0

Full Changelog: wp-labs/wp-knowledge@v0.16.3...v0.18.0

v0.17.0

Full Changelog: wp-labs/wp-knowledge@v0.16.3...v0.17.0

v0.16.3

Full Changelog: wp-labs/wp-knowledge@v0.16.1...v0.16.3

v0.16.1

Full Changelog: wp-labs/wp-knowledge@v0.16.0...v0.16.1

v0.16.0

Full Changelog: wp-labs/wp-knowledge@v0.15.1...v0.16.0

Changelog

Sourced from wp-knowledge's changelog.

[0.19.0] - 2026-10-12

Changed

  • 升级到 orion-error 0.9 世代:orion-error 0.8 → 0.9、orion_conf 0.7 → 0.8、orion-variate 0.13 → 0.14(公共 API 兼容)。
  • 依赖升级:wp-log 0.4 → 0.5。消费方须一同升级以避免跨版本类型冲突。

[0.18.0]

⚠️ BREAKING CHANGES

  • 依赖 wp-model-core 0.9 → 0.10:上游整数类型改名 Value::Digit → Value::Int(DataType::Digit → DataType::Int、Field::from_digit → Field::from_int;字段 to_string() 由 digit(N) 变为 int(N)),版本升至 0.18.0。

Dependencies

  • wp-model-core: 0.9 → 0.10。
  • wp-data-fmt: 0.9 → 0.10(dev,对齐 wp-model-core 0.10)。
  • toml: 1.0 → 1.1。

Docs

  • README 新增 crates.io 下载量(downloads)徽章。

Tests

  • 内网网段默认集合补 192.168.0.0/16 边界回归测试(网络地址 / 典型地址 / 广播地址均判内网),关联 wp-labs/warp-parse#363。

[0.17.0]

Added

  • KnowDB 定期刷新异步服务(refresh::RefreshService + TableStore):宿主(如主引擎 daemon)启动本服务,knowdb 负责各数据源的周期更新并把最新一代换入自己的表快照库——每表一条 RefreshSpec 独立计时;tick 重载成功 → 锁外整建 Arc<TableData> → TableStore::insert(O(1) Arc 指针换代)→ 信号通道发 RefreshSignal{ name }(纯信号无数据载荷);交付 = 函数调用:调用者 TableStore::snapshot pull 当前代(Arc 零复制、不可变代共享,失败跳周期 warn、信号通道满丢信号不阻塞、drop/shutdown() 中止全部任务并关通道;首 tick 跳过)。配套同步 load_rows(spec)(boot 一次装载,与 tick 同一渲染/查询实现,供调用者 seed 同一 store)。
  • 数据源 v1:RefreshSource::Authority(KnowDB V2 conf + sqlite 权威库单表重载)与 RefreshSource::NamedSql(命名 SQL provider 直查,facade::query_async_for/query_for)。
  • RefreshService::spawn_with_store(specs, store):与调用者共享同一 TableStore——启动 seed 与 daemon 换代同库(启动/刷新同交付面)。
  • loader::reload_table_rows:权威库单表重载并返回类型化投影行(重读 CSV → create/clean/insert 重灌 → SELECT columns.by_header),与启动装载同一代码路径;供 refresh 服务与宿主启动装载共用。
  • NamedSql 表级 VEL 变量代码(code)+ 独立 vel 模块(变量求值语言):RefreshSource::NamedSql 的 sql 可含 $name 占位符,每次执行前由一小段 VEL 代码按 knowdb tick 时钟求值替换。语法 = 每行 $name = 字符串字面量 | 内建函数(行尾 # 注释;名 [A-Za-z_][A-Za-z0-9_]*,重复定义/非法名报错);内建 phase_now/phase_next(period_s, bucket_s[, prefix]) 相位格标签(epoch 折桶、周期末回绕,prefix 默认 p);parse/eval/render/resolve_vars/current_wall_nanos;空 code = 静态 SQL。渲染为标识符感知替换($cur 不误伤 $cur2,未知 $... 原样保留)。
  • facade::init_postgres_provider_named_uri:命名 PG provider URI 便捷入口(provider_exists/NamedSql provider 名路由配套)。

Fixed

  • RefreshService 同名重复规格:重复登记同一表会起两个并行 ticker 换代同一 store(查询耗时差异会让旧代覆盖新代)——spawn/spawn_with_store 现在只保留 首个同名 spec(warn 提示),一表一条刷新任务。
  • resolve_vars 子串替换越界:旧实现对 $cur 做文本 replace 会误伤 $cur2/$cur_x;改为按完整变量名(标识符感知)替换,未知/裸 $ 原样保留。

Tests

  • refresh:Authority 源周期换代 store 且行类型化(TEXT→Chars)、双表独立并发信号、 零周期规格跳过、首 interval 前不触发、失败重载保留旧代且 shutdown() 后通道关闭、 drop 干净退出、同名重复 spec 去重;TableStore 换代 RCU 语义(旧 Arc 对持有者完整)
    • 并发换代原子性(写者换入 vs 读者 snapshot)、spawn_with_store 覆盖启动 seed 代、 坏 VEL 每 tick 跳过且同步 load_rows fail-fast、load_rows(NamedSql VEL 替换 / Authority 重灌)两臂同步装载。
  • loader:reload_table_rows CSV 覆盖后重载反映新文件(3→1 行)与列名/DDL 类型投影;未知表 / 禁用表 / 纯 by_index 表错误路径。

... (truncated)

Commits
  • aaa6e09 chore(release): wp-knowledge 0.19.0 — upgrade to orion-error 0.9 generation; ...
  • 7774ce7 chore(knowledge): 发布 0.18.0(CHANGELOG + 版本号)
  • 4e8a8a7 docs(knowledge): README 补 crates.io downloads 徽章
  • 7f7b9c9 Merge branch 'main' of https://github.com/wp-labs/wp-knowledge
  • 7addf71 chore(knowledge): 升级 wp-model-core 0.10 / wp-data-fmt 0.10,适配 Digit→Int 改名
  • 9935be1 test(knowledge): 补 192.168.0.0/16 内网边界回归测试(#363)
  • 997fdcc ci(codecov): 单测覆盖率上传 Codecov(llvm-cov --lib --lcov)
  • 58f52ea docs(coverage): 提交单测覆盖率快照(llvm-cov --lib:lines 65.35%)+ README 徽章
  • 9492da5 docs(README): 加仓库徽章(CI / crates.io / docs.rs / license)
  • ebb7aaf docs(README): 开源仓库风格重构——特性/概念/快速开始/文档矩阵/测试/开发
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [wp-knowledge](https://github.com/wp-labs/wp-knowledge) from 0.15.1 to 0.19.0.
- [Release notes](https://github.com/wp-labs/wp-knowledge/releases)
- [Changelog](https://github.com/wp-labs/wp-knowledge/blob/main/CHANGELOG.md)
- [Commits](wp-labs/wp-knowledge@v0.15.1...v0.19.0)

---
updated-dependencies:
- dependency-name: wp-knowledge
  dependency-version: 0.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Oct 26, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: alpha, 📦 dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants