@calcit/procs 0.13.52 → 0.13.54

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.
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
+
@@ -0,0 +1,5 @@
1
+ # Release 0.13.53
2
+
3
+ - 发布 C-safe opaque resource protocol v1。
4
+ - 包含宿主资源归属校验、dylib pin、weak lease interning、自动 exactly-once release 与 trace 事件。
5
+ - 为 `calcit-regex` 的 Rust ABI/AnyRef 边界迁移提供正式版本基线。
@@ -0,0 +1,8 @@
1
+ # Legacy direct-quote Snapshot migration
2
+
3
+ - 为 `calcit edit format` 增加与 runtime loader 隔离的一次性旧 Snapshot 解析入口。
4
+ - 早期 direct quoted namespace/definition 分别迁移为 `NsEntry` / `CodeEntry`;definition 使用明确的 `Dynamic` schema,不猜测业务类型。
5
+ - 顶层 `:configs` 迁移为 `:entries.default`,缺省 mode 为 native;未知字段以及与已有 default entry 的冲突会报错。
6
+ - formatter 输出 namespace、definition 与 configs 的迁移计数,便于审阅生成的 `calcit.cirru` diff。
7
+ - 普通 loader、检查和其他编辑命令继续严格拒绝旧结构,避免长期保留双格式运行时分支。
8
+ - 使用 `calcit-lang/calcit-paint` 的 2022 compact Snapshot 完成真实回归:迁移 3 个 namespace、8 个 definition 与 configs;严格检查随后仅剩独立的 macro schema 迁移提示。
@@ -0,0 +1,5 @@
1
+ # Release 0.13.54
2
+
3
+ - 发布 `calcit edit format` 的隔离式 legacy direct-quote/configs Snapshot 迁移能力。
4
+ - 普通 runtime loader 与其他命令仍保持严格,不引入长期双格式兼容分支。
5
+ - 对应功能 PR #492、Issue #491;完整 Rust、Calcit core、JS/IR/WASM、Agent CLI 与真实 paint Snapshot smoke 已通过。
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calcit/procs",
3
- "version": "0.13.52",
3
+ "version": "0.13.54",
4
4
  "main": "./lib/calcit.procs.mjs",
5
5
  "devDependencies": {
6
6
  "@types/node": "^25.7.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calcit/procs",
3
- "version": "0.13.52",
3
+ "version": "0.13.54",
4
4
  "main": "./lib/calcit.procs.mjs",
5
5
  "devDependencies": {
6
6
  "@types/node": "^25.7.0",