Repository navigation
fix(sdk): 补齐 Mail 的 Core 0.4.1 正式发行 - #150
Merged
Merged
Conversation
- 保留旧 JWT 默认值出口,数据库准入合同保持真实 - 用 Changesets 准备 Core 0.4.1 与 Web 0.1.6,消费剩余 Core 发行记录 - 验证旧 Resolver 和签发默认值契约,不修改 MF 坐标或既有 pins
This branch was successfully deployed
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.
Mail 0.4.0 已发布,但新增 Core 公开接口仍只在源码和生产 Web 中,正式 SDK 0.4.0 没有这些接口。本 PR 补齐整个 newsletter 任务的 SDK 发行,并保住现有扩展的加载兼容性。
Core 在 0.4 兼容线发布为0.4.1,新增
Resolver.getRecallTarget、RecallTarget、RecallGroup和presentLexicalMatches;旧 Resolver 默认返回 null。对比正式0.4.0还发现 JWT 改动删除了旧公开字段,因此恢复 deprecated 的peerJwtContract.maximum_lifetime_seconds及其databaseRuntimeContract.jwt别名,与24小时签发默认值共用一个常量。该字段只保留旧客户端默认值含义;生成的数据库协议仍不声明不存在的全局准入上限。现有 Runtime0.4.1 和不可变旧 MF 的
<0.5.0范围接受0.4.1,无需更改历史坐标或现有 pins。将0.x兼容线规则及定向发行边界写入现有交付文档。使用 Changesets 生成并采用 Core0.4.1、Web0.1.6 的版本与 CHANGELOG,消费剩余两个 Core intent;未打包 Core 的 MF 仅由依赖传播生成的版本不纳入此次发行,CalDav 的直接 intent 保留。验证:
pnpm check、TS7、受影响源码 type-aware lint、10项SDK/发布/恢复测试通过。新增2项脚本回归验证旧公开默认值与实际签发寿命一致、原始数据库合同不含该字段,以及默认 Resolver 和原始检索证据保持原语义。只读真实 MF capture 对已有原生坐标全部 no-op,CalDav 因直接 pending intent 跳过。浏览器使用现有官方 Runtime0.4.1 的 RegistryReleaseReader 和新 Core0.4.1 共享模块,按原坐标读取并加载公共 Mail0.3.2:严格 SDK 范围检查、旧 HTML 正文、dispose 后重新 initialize 均通过;没有改写版本范围或 pins。Mail0.4.0 的正文与归档也通过。正式 SDK 产物与生产 Web 验收在合并发布后完成。