Skip to content

Releases: ackness/pobr

v0.0.33 — 装备组合与珠宝天赋联合优化

Choose a tag to compare

@github-actions github-actions released this 27 Sep 06:19
d11a693

更新内容

  • 多件装备组合比较:支持同时替换 1–10 件装备,完整重算组合收益;保留单件表现较差但组合有效的候选,并显示搜索范围限制。
  • 珠宝与天赋联合规划:比较不同珠宝位置及多个天赋点,计入通往空珠宝孔的路径;洗点模式同时处理替换范围珠宝后失去连接的节点。
  • 预览与应用一致性:按当前天赋树版本重新计算珠宝范围,一次写入最终珠宝、加点和属性选择;角色配置变化后拒绝过期方案。
  • 珠宝计算修复:导入构筑和变体均按最终加点激活插槽珠宝,保留 ItemSet 物品身份;使用完整游戏底材校验 Diamond 等传奇专用珠宝。

使用与边界

装备组合入口位于升级页;珠宝联合规划位于天赋页的“天赋提升规划”。搜索有界,不保证全局最优。每个珠宝联合方案更换一个候选位置、最多调整 8 点,暂不支持武器组专属天赋、同时更换多个珠宝或装备与天赋一同搜索。新增未建模效果会显示并排除。

游戏数据仍为 4.5.5.3,JSON 契约版本仍为 7。详细用法见 Web 文档,完整变更见 PR #97。

v0.0.32 的发布门禁因两条旧浏览器测试定位歧义失败,未创建 Release 或部署;PR #98 修复测试定位后,以 v0.0.33 完成发布。


PoBR WASM v0.0.33

Data: 4.5.5.3; JSON schema: 7; source commit: d11a693.
Build source fingerprint: d83ad9b9da841814e63b037c1f8bbe9afea762d75eebf1de40d7fd2310fce5bd.

Component Raw bytes gzip bytes (level 9)
pobr_wasm.js 23664 3647
pobr_wasm_bg.wasm 5145281 1872454
Data bundle (67 files) 58847129 4494393
Disk / transfer comparison MiB
PoBR WASM + JS + compressed data 9.216
pob-web approximate reference (same compression convention) 4.966
PoBR gzip transfer estimate (WASM + JS + data) 6.075
Complete release archive (also includes types, docs, example) 6.058

PoBR / approximate reference: 1.86x.

Reference: krauthaufen/pob-web. User-provided approximate disk sizes; upstream revision and measurement date unknown. Not a live measurement or a feature-parity claim.

The reference is Lua WASM + JS + compressed PoB Lua code/data; PoBR compiles calculation code into WASM.
PoBR includes every JSON from the Web data manifest, including catalogs, localization and derived data.
These scopes and supported mechanics differ. This is a size report, not a performance or parity gate.
gzip estimates assume server compression for JS/WASM; the data file is already compressed.
Disk and compressed transfer sizes do not measure runtime memory.

What's Changed

  • test: repair planner release checks (v0.0.33) by @ackness in #98

Full Changelog: v0.0.32...v0.0.33

v0.0.31 — 构筑管理、计算修复与数据更新

Choose a tag to compare

@github-actions github-actions released this 26 Sep 17:08
5f8ab22

更新内容

  • 多 BD 与阶段管理:独立 BD、本地阶段、导入的 PoB 配装分区显示。导入默认新建 BD,替换当前阶段需明确选择;分享和备份分别标明范围。
  • 自定义词缀分组:保留标题、顺序、启用状态和原始文本。禁用组不参与计算;支持保存、分享回导及中文词缀。
  • 游戏数据:活动快照更新为 PoE2 0.5.5c / 4.5.5.3,增加来源与文件完整性校验,保留历史树兼容。
  • 计算与存档修复:修复触发技能索引、宝石品质重复应用、解析缓存隔离,以及技能形态、天赋树版本和导入导出一致性问题。
  • 开发与发布流程:增加统一 ./pobr 开发入口和定向验证命令;应用/工具版本与七个库版本解耦,避免只改发布号就让底层库全部重新编译。完整 Rust/Web 门禁由 tag CI 执行。
  • 独立 WASM 包:增加源码、编译产物及数据快照指纹校验,避免误发旧产物。

兼容说明

JSON 契约版本更新为 7。网页与 WASM 应成套更新;独立包使用方式见 WASM 文档。旧存档仍可读取;旧版已经编辑过的扁平词缀优先保留玩家文本,无法可靠推断原分组。

功能与界面变更见 PR #95,发布测试夹具修复见 PR #96。v0.0.30 未通过发布门禁,未创建 Release 或部署;本次正式发布使用 v0.0.31。


PoBR WASM v0.0.31

Data: 4.5.5.3; JSON schema: 7; source commit: 5f8ab22.
Build source fingerprint: e3d8822be0be8d6403010a969de432036ff62c36c1f21cbecd92e166b079682b.

Component Raw bytes gzip bytes (level 9)
pobr_wasm.js 23664 3647
pobr_wasm_bg.wasm 5139725 1869991
Data bundle (67 files) 58847129 4494393
Disk / transfer comparison MiB
PoBR WASM + JS + compressed data 9.210
pob-web approximate reference (same compression convention) 4.966
PoBR gzip transfer estimate (WASM + JS + data) 6.073
Complete release archive (also includes types, docs, example) 6.056

PoBR / approximate reference: 1.85x.

Reference: krauthaufen/pob-web. User-provided approximate disk sizes; upstream revision and measurement date unknown. Not a live measurement or a feature-parity claim.

The reference is Lua WASM + JS + compressed PoB Lua code/data; PoBR compiles calculation code into WASM.
PoBR includes every JSON from the Web data manifest, including catalogs, localization and derived data.
These scopes and supported mechanics differ. This is a size report, not a performance or parity gate.
gzip estimates assume server compression for JS/WASM; the data file is already compressed.
Disk and compressed transfer sizes do not measure runtime memory.

What's Changed

  • fix: repair snapshot test fixtures for v0.0.31 release by @ackness in #96

Full Changelog: v0.0.30...v0.0.31

v0.0.29

Choose a tag to compare

@github-actions github-actions released this 26 Sep 04:30
4a398e0

Build libraries and stages

  • Save separate builds for different skills, with independent leveling, progression and endgame stages.
  • Preserve each stage's passive allocation, equipment, skills, configuration and notes; switching stages also retains unapplied editor drafts.
  • Share one build with all its stages as a PoBR JSON file. Importing a shared file adds an independent build without replacing existing builds.
  • Download a complete backup of every locally saved build and stage. Existing single-build saves migrate automatically, and storage failures are shown in the interface.

Interaction improvements

  • Show the application version and successfully loaded game-data version in the header.
  • Resume cancelled all-position upgrade analysis using completed results. Budget, realm and league changes update links without recalculating scores.
  • Keep stale analysis callbacks from overwriting a new build or goal.
  • Bring stage notes forward and improve build/stage selection on narrow screens.

Builds are stored in the current browser; sharing and device transfers use downloaded files. PoB share codes retain their current-stage/imported-loadout behavior. Unapplied editor drafts are included only in local saves and complete backups, not shared build files. Recommendation formulas and the bounded-search limits are unchanged.

Validation: 2,308 native tests and 95 browser tests passed, alongside Web unit/Worker tests, doctests, i18n checks and standalone WASM package smoke checks. Release CI and production deployment succeeded.

PoBR WASM v0.0.29

Data: 4.5.5.2; JSON schema: 5; source commit: 4a398e0.

Component Raw bytes gzip bytes (level 9)
pobr_wasm.js 23664 3647
pobr_wasm_bg.wasm 5077676 1857030
Data bundle (70 files) 61754706 4720593
Disk / transfer comparison MiB
PoBR WASM + JS + compressed data 9.367
pob-web approximate reference (same compression convention) 4.966
PoBR gzip transfer estimate (WASM + JS + data) 6.276
Complete release archive (also includes types, docs, example) 6.260

PoBR / approximate reference: 1.89x.

Reference: krauthaufen/pob-web. User-provided approximate disk sizes; upstream revision and measurement date unknown. Not a live measurement or a feature-parity claim.

The reference is Lua WASM + JS + compressed PoB Lua code/data; PoBR compiles calculation code into WASM.
PoBR includes every JSON from the Web data manifest, including catalogs, localization and derived data.
These scopes and supported mechanics differ. This is a size report, not a performance or parity gate.
gzip estimates assume server compression for JS/WASM; the data file is already compressed.
Disk and compressed transfer sizes do not measure runtime memory.

What's Changed

  • feat: add shareable build stages (v0.0.29) by @ackness in #94

Full Changelog: v0.0.28...v0.0.29

v0.0.28 — 计算修复与技能引擎整理

Choose a tag to compare

@github-actions github-actions released this 25 Sep 13:04
d275fc4

本版本集中修复计算作用域和条件门控,并整理技能引擎与缓存边界。游戏数据版本仍为 4.5.5.2。

计算修复

  • 辅助宝石等级、品质提供的 MORE/less 修正遵循技能类型限制。
  • 修正徒手暴击单位,以及武器单手、近战和双持条件判断。
  • 数值型 IgnoreArmour 正确削减正护甲,保留负护甲语义;光环持续伤害补齐 AuraEffect 与 Magnitude 缩放。
  • 显式 Exerts 输入下,威吓战吼正确处理覆盖率、双倍伤害、去重及三倍伤害优先级。
  • 重复 DOUBLED 词条共享翻倍上限;Boss 身份条件与通用 Poise 修正仅在 Effective 模式生效。
  • 修复两条当前版本法术压制规则的开头 + 转义,历史数据未改写。

引擎与缓存

  • 将可复用的技能、辅助、光环、召唤物、触发及武器规则集中到核心引擎,整理 BuildData 查询模块。
  • 计算缓存增加容量限制和完整结构键,绑定不可变数据与选项,并复用触发来源子计算。
  • 包含此前合入的 Full DPS 结果复用、查询分配优化、面板懒加载、版本数据复用,以及计算与规划共享的辅助兼容性判定。
  • 计算错误向调用者返回,避免直接 panic;继续提供独立 WASM 发布包。

验证改进

  • 面板 parity 使用同版本 PoB2 COMBAT 参考值,覆盖 18 个构筑、80 项比较;5%/10% 门禁提高到 69/79。Effective 参考值和门禁保持不变。

  • 装备草稿 E2E 显式选择待验证槽位,兼容面板懒加载时的挂载行为。

  • GitHub Actions 全量通过:Rust 2308 项、Web 223 项、Worker 8 项、浏览器 E2E 90 项,以及 doctest、WASM 构建与独立包冒烟。

已知边界

缓存仍是显式启用的结果复用,尚未实现依赖驱动的增量计算。威吓战吼的完整生产 Exerts 输入链、催化剂计算、文档列出的部分作用域问题和 PoB2 GUI 对照仍未完成。

PoBR WASM v0.0.28

Data: 4.5.5.2; JSON schema: 5; source commit: d275fc4.

Component Raw bytes gzip bytes (level 9)
pobr_wasm.js 23664 3647
pobr_wasm_bg.wasm 5077722 1856752
Data bundle (70 files) 61754706 4720593
Disk / transfer comparison MiB
PoBR WASM + JS + compressed data 9.367
pob-web approximate reference (same compression convention) 4.966
PoBR gzip transfer estimate (WASM + JS + data) 6.276
Complete release archive (also includes types, docs, example) 6.259

PoBR / approximate reference: 1.89x.

Reference: krauthaufen/pob-web. User-provided approximate disk sizes; upstream revision and measurement date unknown. Not a live measurement or a feature-parity claim.

The reference is Lua WASM + JS + compressed PoB Lua code/data; PoBR compiles calculation code into WASM.
PoBR includes every JSON from the Web data manifest, including catalogs, localization and derived data.
These scopes and supported mechanics differ. This is a size report, not a performance or parity gate.
gzip estimates assume server compression for JS/WASM; the data file is already compressed.
Disk and compressed transfer sizes do not measure runtime memory.

What's Changed

  • perf: reduce calculation and loading overhead by @ackness in #91
  • refactor: isolate calculation context and share support judgement by @ackness in #92
  • fix: harden calculations and separate skill engine (v0.0.28) by @ackness in #93

Full Changelog: v0.0.27...v0.0.28

v0.0.27 — WASM 独立包与配置体验修复

Choose a tag to compare

@github-actions github-actions released this 22 Sep 04:50

本版提供可供第三方直接使用的独立 WASM 计算包,并改善配置默认值、导入提醒和中文显示。

  • 独立 WASM 包:包含引擎、配套游戏数据、TypeScript 类型、use-pobr-wasm 技能及可执行 demo。版本 CI 验证解压后的实际计算,发布校验和与体积报告。
  • 配置默认值:修复前端默认勾选与计算结果不一致的问题。固定任务奖励、战斗默认项遵循当前 PoB2 数据;互斥奖励默认“无”,导入设置优先。
  • 导入提醒:使用可关闭的页面内提示,引导检查任务奖励、敌人档位与战斗状态。
  • 中文与菜单:补齐符文结界、地脉、同伴生命等配置文本和奖励选项;风舞者触发技能与职业套装名显示中文;主技能下拉使用深色样式并支持键盘操作。

下载 pobr-wasm-v0.0.27-web.tar.gz 和 SHA256SUMS,核对校验和后运行(Node.js 22+):

tar -xzf pobr-wasm-v0.0.27-web.tar.gz
cd pobr-wasm-v0.0.27-web
node example.mjs

使用方法与接口说明见 WASM 集成文档。游戏数据版本为 4.5.5.2。体积报告中的 pob-web 基线为近似值;包大小及 demo 通过不代表全部机制已与 PoB2 数值一致。

完整改动:#90。

PoBR WASM v0.0.27

Data: 4.5.5.2; JSON schema: 4; source commit: 9a100e1.

Component Raw bytes gzip bytes (level 9)
pobr_wasm.js 22868 3591
pobr_wasm_bg.wasm 5058651 1846179
Data bundle (70 files) 61754698 4720593
Disk / transfer comparison MiB
PoBR WASM + JS + compressed data 9.348
pob-web approximate reference (same compression convention) 4.966
PoBR gzip transfer estimate (WASM + JS + data) 6.266
Complete release archive (also includes types, docs, example) 6.247

PoBR / approximate reference: 1.88x.

Reference: krauthaufen/pob-web. User-provided approximate disk sizes; upstream revision and measurement date unknown. Not a live measurement or a feature-parity claim.

The reference is Lua WASM + JS + compressed PoB Lua code/data; PoBR compiles calculation code into WASM.
PoBR includes every JSON from the Web data manifest, including catalogs, localization and derived data.
These scopes and supported mechanics differ. This is a size report, not a performance or parity gate.
gzip estimates assume server compression for JS/WASM; the data file is already compressed.
Disk and compressed transfer sizes do not measure runtime memory.

v0.0.26 — 时迭珠宝搜索与传奇天赋转换

Choose a tag to compare

@ackness ackness released this 17 Sep 04:46
6ab5114

本版本加入时迭珠宝搜索、传奇珠宝天赋转换,并改进数据更新与导入兼容性。

  • 时迭珠宝搜索:根据当前武器组、插槽范围内已分配的天赋重算词缀收益,生成交易网站加权查询。
  • 传奇珠宝天赋效果:支持 Controlled Metamorphosis 环带分配、Split Personality / From Nothing 额外分配起点,以及 Heroic Tragedy / Undying Hate 的固定天赋转换;接入树显示、计算、回收和自动规划。
  • 数据更新:珠宝半径、征服者和替换词条从数据快照提取,改进最新补丁发现与再生兼容,减少数值更新时的代码修改。
  • 导入与审计:保留原始物品文本,计算遵循所选版本、变体和范围取值;半径授予和替换节点进入统一词条审计。

随机种子决定的普通/显著天赋转换仍缺少上游算法或映射,暂不支持自动种子搜索;未知结果会明确诊断。复杂传奇机制及其他限制见 珠宝支持说明。

游戏数据版本保持 4.5.5.2,14 个工作区包统一为 0.0.26。

功能与发布 PR #89 · 完整变更

验证与部署

标签 CI 全部通过:Rust 2,278 项通过、10 项已有跳过;前端单测 217 项通过、3 项可选基准跳过;Worker 8 项通过;浏览器测试 86 项通过、6 项已有跳过。格式、Clippy、文档测试、数据升级兼容、WASM 和生产构建均通过。

已部署至 PoBR 在线版。线上浏览器检查确认前端与 WASM 资源对应本次 CI 产物,传奇珠宝数据与标签内容一致,已有构筑正常加载并显示计算结果,珠宝类型菜单提供“时迭珠宝搜索”。

v0.0.25 — 宝石品质数据与词条校验

Choose a tag to compare

@ackness ackness released this 15 Sep 17:34
9182d61

本版本改进宝石品质数据生成、导入词条兼容性和 JSON 特殊规则校验。

  • 宝石品质数据:当前版本的品质数值改为从官方表生成,并保留来源与范围收据;生成过程不再依赖 vendor Lua。
  • 导入词条兼容:补齐物品稀有度、投射物速度的部分措辞别名,并更新词典快照维护流程。
  • 特殊规则校验:发布数据前检查规则结构、捕获、运算、处理器和作用范围;修复 actor 条件保留与数值运算顺序。
  • 数据审计:记录规则来源、文件哈希、覆盖和样本重叠;41,657 条词条样本对照现有基线,零退化、零新增缺口。

游戏数据版本保持 4.5.5.2,14 个工作区包统一为 0.0.25。识别词条不代表所有机制均已完整计算;通用召唤物 actor 快照和已记录的历史正则转义问题仍待后续处理。

浏览器回归现在会等待批量词条评分完成后再检查完整数值,避免默认 5 秒等待窗口在 CI 中提前结束。v0.0.24 的标签验证在这项检查处停止,未部署或发布 Release;修正后使用 v0.0.25 发布。

功能合并 PR #87 · 发布检查修正 PR #88 · 自上一发布版的完整变更

验证与部署

标签 CI 全部通过:Rust 2,259 项通过、10 项跳过;前端单测 210 项通过、3 项可选基准跳过;Worker 8 项通过;浏览器测试 80 项通过、6 项跳过。格式、Clippy、文档测试、WASM 和生产构建均通过。

已部署至 PoBR 在线版。生产浏览器检查确认页面加载了新的前端资源与 WASM,并正常显示界面和计算结果。

v0.0.23 — 交易通货与特殊词条搜索

Choose a tag to compare

@ackness ackness released this 15 Sep 08:40
c906e99

本版本补全交易通货与特殊工艺词条搜索,并修复现有装备的加权最低分。

  • 更多通货:支持崇高石等价物、崇高石或神圣石,以及混沌石、富豪石、点金石等预算类型;保存的预算设置会正确恢复。
  • 现有装备最低分:按最终搜索实际使用的词条 ID、权重、32 条上限和三位小数计算,补齐复合词条、工艺词条和分配天赋的数值。
  • 特殊来源:纳入合金、精华、亵渎、裂隙、影响与腐化,共 747 条特殊搜索记录。胸甲分配天赋展开为 875 个节点选项,已有天赋不会重复计算,互斥工艺也不会在探测时叠加。
  • 选项映射修复:珠宝中型、大型与超大型范围分别对应正确的搜索选项。
  • 数据维护:同类数值工艺可通过数据管线更新;遇到新机制仍需补充计算逻辑。项目中英文介绍也已更新。

傀儡大师合金词条目前可作为必需搜索条件;触发和层数收益尚未建模,不生成 DPS 权重。加权分帮助筛选,购买前仍应比较完整物品。

游戏数据版本保持 4.5.5.2,14 个工作区包统一为 0.0.23,外部依赖未变。

合并 PR #86 · 完整变更

验证与部署

标签 CI 全部通过:Rust 2,242 项通过、10 项跳过;前端单测 210 项通过、3 项可选基准跳过;Worker 8 项通过;完整浏览器测试 79 项通过、6 项跳过。WASM 与生产构建通过。

已部署至 PoBR 在线版,并在生产页面确认新增通货选项可用。

v0.0.22 — 宽屏布局与参考入口调整

Choose a tag to compare

@ackness ackness released this 12 Sep 17:00

本版本改善宽屏布局,并暂时隐藏只包含历史样本的流派参考入口。

  • 宽屏布局:主内容区域可扩展至 2400px;视口达到 1800px 时,技能组采用双列、装备显示更多栏位,计算明细按可用宽度分列。
  • 参考入口:主导航暂时隐藏流派参考;之前保存为参考页的会话自动回到构筑页,启动时不加载历史参考库。现有构筑存档保持兼容。
  • 响应式回归:覆盖 320–3440px,以及已有构筑在手机和桌面上的装备、技能与计算页面操作。

游戏数据版本保持 4.5.5.2。

合并内容已通过本地完整 Rust 门禁:2242 项测试通过、10 项跳过,文档测试、格式和 Clippy 检查通过;179 项前端单测通过、3 项可选基准跳过。WASM 重建、前端生产构建和 17 项相关浏览器测试通过;隐藏参考面板的 6 项旧流程按设计跳过。版本提交仅更新工作区版本和锁文件,14 个包的版本一致,外部依赖未变。

完整远程 CI 与 Cloudflare 正式部署均已通过;远程浏览器回归 72 项通过,6 项隐藏参考面板流程按设计跳过。正式站点另经正常浏览器确认:页面初始化成功、内容宽度为 2400px、导航保留 7 个入口,历史参考面板已隐藏。

正式站点:打开 PoBR。

完整变更。

v0.0.21 — 前端交互与构筑状态修复

Choose a tag to compare

@ackness ackness released this 12 Sep 15:05
cd855cf

本版本改善八个页面的布局与操作流程,并修复构筑保存、导出和部分计算作用域问题。

  • 编辑与导航:装备和珠宝草稿跨页保留;保存、取消、导入替换、分享失效和复制失败的反馈更明确。
  • 页面布局:调整构筑导入顺序、手机装备详情定位、桌面天赋工具区、计算定位入口与参考构筑对照流程;增加配置筛选和键盘操作支持。
  • 交互修复:矮窗口菜单可滚动选择最后一项;取消珠宝插槽同步撤销天赋及相关属性选择;药剂和护符从装备库进入正确位置。
  • 状态一致性:主技能或构筑变化后清除过期归因;空笔记导入正确替换旧内容;分享和备份保留当前配置组、主技能、角色、配置及珠宝引用。
  • 计算修复:正确处理已禁用辅助宝石的作用范围,以及武器局部暴击率和双持每只手的基础暴击率。

游戏数据版本保持 4.5.5.2。现有计算覆盖范围限制仍适用。

本地验证通过:2,242 项 Rust 测试(10 项跳过)、文档测试、格式与 Clippy、179 项前端单测(3 项可选基准跳过)、8 项 Worker 测试、14 项工作流脚本测试和全部 73 项浏览器回归,以及类型检查与生产构建。浏览器回归包含 564 个配置控件和 669 次选项切换。国际化检查通过,保留既有缺失键提示;生产构建仍有主 JS chunk 超过 500 kB 的提示。

变更:PR #85。

完整远程 CI 与 Cloudflare 正式部署已通过;正式站点另通过菜单滚动、宝石末项选择和珠宝插槽级联撤点的 3 项浏览器回归。

正式站点:打开 PoBR。