Repository navigation
Tabletwo 升级正式 Calcit 0.30.0:迁移 98 处 Map 读取并修复拖放光标 - #31
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
最新追加:正式协作依赖图
使用者影响:Cumulo Reel 0.0.54 已正式发布,现同步 Recollect 0.0.61、WS-EDN 0.0.40、Respo Message 0.0.35,避免根依赖和传递版本冲突。仅修改 deps/README,应用源码、原断言、package/lock、workflow、COS/部署路径均不变;不代表后端已准备,不合并生产。以下旧段落的“等待 Cumulo054”是历史证据,现由本段取代。
已用四个正式 tag 的独立干净克隆验证当前实际 root:完整 strict status=passed,原公共 native/JS 各51项、0排除,原 native server-effect 2项,生产构建、immutable、真实 native WSS/guest patch/消息/Unit callback/合成存储与backup一致/SIGINT退出通过。没有运行或绕过受限的本地 Caps 缓存操作,干净 Caps 验证以此次新 head 的 CI 为准。共享 runner 首次调用因缺省相对文档路径错误退出,显式指向其现有 exclusions/support 文档后重跑通过;没有新增排除或脚本。
0.30.1-alpha.4 只读探测:服务端 77/77 通过;客户端 308通过、6失败、131阻塞、1级联,失败在 Respo style->string、三种 nominal identity、cursor 和 Alerts prompt event。旧 WS/Recollect 阻塞已不再出现,但这不是整图兼容或 alpha 运行验收。原完整浏览器 Confirm/Text、后端准备和生产合并门槛仍保留。新 head 的 CI/review 待独立完成,不能沿用旧 head 的绿色结果。
本轮追加:正式排序键依赖(6660e3b)
使用者影响:Bisection Key 0.0.32 已正式发布(精确 main e786e19,PR/main CI 和实际 review 通过),本次同步 std 0.2.43,避免 root/transitive std 冲突。不改变应用源码、原断言、package/lock、workflow、数据库格式、COS 或部署路径;未合并应用、未部署后端。
在真实发布 tag 的独立干净克隆与匹配 std043 上复跑当前应用,其他依赖保持原版本:完整 strict、原51+2测试、JS/Vite构建、原真实nativeWSS/guestpatch/Unitcallback/临时持久化-backup一致/SIGINT退出通过。不是只沿用此前包含其他候选依赖的副本结果。
新HEAD CI 38839079749 及其实际review仍需独立通过;下方 c336059 是此前源码迁移证据,不是新head通过声明。Cumulo/Recollect/WS/Message另一组正式依赖仍等待Cumulo054,未擅自引入未发布版本。原完整浏览器Confirm/Text和后端部署门槛仍保留。
使用者需要注意
CLI /
@calcit/procs从已发布的 0.30.0-alpha.3 精确配对升级到正式 0.30.0。本轮清理 0.30.1 即将改变返回合同的底层 Map 接口,但 不代表整个依赖图已兼容 0.30.1,不锁 alpha/hash。正常文章、段落顺序、缺失值 nil、false/0、Number session key、原 decoder 和 wire/storage 协议不变。拖放 payload 缺少 target/base 会更早给出明确错误;同时修复真实回放发现的旧问题:移动段落后,原
update将嵌套 session 路径当成单键,编辑光标未更新。现在以update-in和 Option 输入处理更新光标,保留内容。前后端部署路径、COS/CDN、持久化文件和模块版本不变。本 PR 不发版、不合并部署;原 Confirm 删除、完整 Text popup 和全应用浏览器验收限制仍保留。
具体修改
&map:get迁到公开get:Dynamic Map 用.unwrap-or nil,具体 Map 用match保留原缺失语义。不是将 Option 当原值,也不添加伪类型或统一防御包装。map-entries保留 String key 和 Map value,仍按原 key 排序,渲染原段落和 focus。避免.to-list/.map-pair擦除 key 类型。move :tests中覆盖重排、内容、Number session key 和错误 payload;无新测试文件、runner 或检查脚本。验证证据与边界
&map:get为 0。comp-previewer:乱序插入的 a/b 段落按原 key 顺序显示,Unicode/字面量文本、Number 成员和缺失 focus 正常,无 console error(保留原 mode 未配置 warning)。未把静态组件验收称为完整双客户端拖放/Confirm/Text popup 验收;临时页和 Vite 已关闭。修改均通过 Calcit 官方 query/tree/edit transaction 和 scoped revision,临时审计/回放文件不提交;没有增加编译器 fix/proof 规则、concurrently、额外 COS verify 脚本或生成目录。