@calcit/procs 0.13.52 → 0.13.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.yarn/install-state.gz +0 -0
- package/editing-history/20260828-0312-c-safe-opaque-resource-v1.md +8 -0
- package/editing-history/20260828-0327-intern-ffi-resource-leases.md +7 -0
- package/editing-history/20260828-0331-release-0.13.53.md +5 -0
- package/lib/package.json +1 -1
- package/package.json +1 -1
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# C-safe opaque resource v1
|
|
2
|
+
|
|
3
|
+
- 在同步 buffer v1 上增加保留的 `CalcitFfiResourceV1` token,以 little-endian `u64` handle 和 generation 表示模块资源。
|
|
4
|
+
- 宿主将 token 水合为自动生命周期的 `AnyRef`,固定创建资源的 dylib,并在最后一个引用释放时 exactly-once 调用模块 C ABI release。
|
|
5
|
+
- 调用前递归校验资源归属;拒绝 wrong-module、普通 AnyRef、伪造 token 和畸形 token。
|
|
6
|
+
- 覆盖嵌套资源、并发 clone/drop、错误边界和协议格式测试,并为 `--trace-ffi` 增加资源创建与释放事件。
|
|
7
|
+
- 新增中英双语协议文档,并从 FFI bindings 与升级手册链接。
|
|
8
|
+
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Intern FFI resource leases
|
|
2
|
+
|
|
3
|
+
- 根据 review 修复重复 resource token 产生独立 lease、提前释放和重复释放的问题。
|
|
4
|
+
- 宿主按 `(module, handle, generation)` 保存 weak intern entry;同一响应及跨响应 alias 复用同一 lease。
|
|
5
|
+
- 最后一个强引用析构后 exactly-once release,并清理失效的 weak entry。
|
|
6
|
+
- 增加同响应重复 token 与跨响应重复 token 的回归测试,并同步协议文档。
|
|
7
|
+
|
package/lib/package.json
CHANGED