@calcit/procs 0.12.38 → 0.12.40

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,5 @@
1
+ # check-md 与 EDN 报错(2026-06-03)
2
+
3
+ - `collect_check_md_module_paths`:用 `extract_modules_from_edn` 只读 `configs.modules`,避免对旧格式大快照(如 `demos/calcit.cirru` 的 `%Expr` 代码字段)做全量 `load_snapshot_data`。
4
+ - `check-md`:`prepare_program_for_snippet` 以 entry 快照为底、最后写入 `app.main`;no-run 优先编译片段里的 `app.main` defs;片段若全是顶层 `def/defn/defcomp/...` 则拆成多个 `CodeEntry`(`create_file_from_snippet`)。
5
+ - `data/edn.rs`:反序列化失败时在 `got:` 里把旧 `%Expr`/`%Leaf` 还原为格式化 Cirru(约 520 字上限),`snapshot`/`call_stack` 错误预览走同一套。
@@ -0,0 +1,6 @@
1
+ # 2026-06-04 check-md 入口加载与 app.main 注入
2
+
3
+ - `prepare_program_for_snippet` 加载 entry snapshot 失败时不再回退空 snapshot,改为直接报错。
4
+ - `extract_modules_from_edn` 对畸形 `configs.modules` 返回明确 EDN 预览,不再静默忽略。
5
+ - check-md 注入片段固定使用 `app.main/main!`,避免误跑 entry 项目的 `:init-fn`(如 memof 测试套件)。
6
+ - `docs/run/cli-options.md` 注明 Run 模式使用 `app.main/main!`。
@@ -0,0 +1,4 @@
1
+ # 2026-06-04 release 0.12.39
2
+
3
+ - 版本号:`Cargo.toml` / `package.json` → 0.12.39
4
+ - 主要变更:check-md 入口 fail-fast、`app.main/main!` 注入、EDN 模块列表错误预览
@@ -0,0 +1,6 @@
1
+ # 2026-06-04 compiled executable runtime backfill
2
+
3
+ - `resolve_runtime_or_compiled_def` materialized compiled executable defs without seeding runtime, so repeated symbol lookup rebuilt fresh `Fn` values.
4
+ - Fresh `Fn` ids broke caches keyed by functions, reproducing in `memof` where `memof1-call` and `memof1-call-by` missed cache hits under `cr calcit.cirru`.
5
+ - `materialize_compiled_executable_payload` now writes the resolved executable back into runtime-ready storage, preserving stable function identity across lookups.
6
+ - Program tests now assert runtime backfill for compiled executable resolution and `memof` plain `cr` execution passes again with the patched binary.
@@ -0,0 +1,5 @@
1
+ # 2026-06-04 release 0.12.40
2
+
3
+ - 发布 `0.12.40`,包含 compiled executable runtime backfill 修复。
4
+ - 该修复让 compiled `Fn`/`Macro` 首次 materialize 后回写 runtime-ready storage,避免重复 lookup 生成新函数 identity。
5
+ - 直接收益是恢复 `memof` 这类按函数值做 cache key 的场景,`cr calcit.cirru` 再次通过既有测试。
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calcit/procs",
3
- "version": "0.12.38",
3
+ "version": "0.12.40",
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.12.38",
3
+ "version": "0.12.40",
4
4
  "main": "./lib/calcit.procs.mjs",
5
5
  "devDependencies": {
6
6
  "@types/node": "^25.7.0",