Skip to content

配对 Calcit 0.37.0 / Pair with Calcit 0.37.0 - #49

Merged
tiye merged 1 commit into
mainfrom
claude/calcit-0.37.0
Nov 7, 2026
Merged

tiye merged 1 commit into
mainfrom
claude/calcit-0.37.0

Conversation

@tiye

@tiye tiye commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Jon · project thread

使用者影响:本版本(0.0.39)配对正式 Calcit CLI / @calcit/procs 0.37.0。Calcit 0.37.0 把旧类型写法(& T 变长参数、引号复合类型、字符串 type slot)改为载入错误,并且对依赖同样生效;下游项目升级到 0.37 前需要固定本版本的 Git tag,然后重新安装依赖并重新生成 JS。

改动

  • deps.cirru :calcit-version、package.json 的 @calcit/procs 与 yarn.lock 升到 0.37.0,版本号升到 0.0.39。
  • 用官方 edit format 把 div schema 的变长参数改为分组写法 (& %element),类型含义不变。js-ffi 依赖仍为 0.2.13(它在 0.37 下可正常载入)。
  • 公开 API、宿主实现、测试与质量预算不变。

测试

本地用 0.37.0 CLI:edit format 后无差异、fix --workflow strict --verify 为 passed 且无诊断、--check-only --all-defs 全部 PASSED。其余交给本 PR 的 CI。

@calcit/procs 0.37.0 发布不足 60 分钟,按 Jon 的要求本地刷新 lock 时临时跳过了 npm 年龄隔离(没有改 .yarnrc.yml);如果 CI 的 yarn install --immutable 被隔离拦下,等隔离结束后重跑即可。

English

Pairs this library (0.0.39) with Calcit 0.37.0. 0.37.0 turns legacy type spellings into load errors, including for dependencies, so consumers on 0.37 need this release. edit format rewrites the div rest type to the grouped form; js-ffi stays at 0.2.13, which loads under 0.37. Public API and behaviour are unchanged.


Generated by Claude Code

Summary by CodeRabbit

  • New Features
    • Container components now accept multiple child elements directly, allowing nested content to be composed without wrapping the children in a list. This changes how child content can be supplied; existing properties and event handling remain available.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019bPdujFEqAmxRALdAKh1Sr
@tiye tiye self-assigned this Nov 7, 2026
@coderabbitai

coderabbitai Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The div declaration changes to accept variadic %element children. The project version changes to 0.0.39, and the Calcit and @calcit/procs versions change to 0.37.0.

Changes: API declaration and release versions

Layer / File(s) Summary
Variadic div children
calcit.cirru
The div declaration changes from a list of %element values to variadic %element arguments.
Project and Calcit versions
deps.cirru, package.json
The project version changes from 0.0.38 to 0.0.39. The Calcit and @calcit/procs versions change from 0.35.1 to 0.37.0.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Possibly related PRs

  • Triadica/touch-control#48: This PR continues the version updates from Calcit 0.35.1 and project version 0.0.38 to Calcit 0.37.0 and project version 0.0.39.
Merge Risk: Minimal · up to 71b2e

No actionable merge-blocking issue was found. The declaration preserves the existing API, and release dependencies are aligned. Merge after normal CI checks pass.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies the main change: pairing the library with Calcit 0.37.0.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a92cf3cc-123b-43d4-8d0e-dc8353d55f4e
Commits

Reviewing files that changed from the base of the PR and between 8d7deee and 71b2e02.

Files ignored due to path filters: 1

  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing: 3

  • calcit.cirru
  • deps.cirru
  • package.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@tiye
tiye merged commit 4a750ef into main Nov 7, 2026
2 checks passed
@tiye
tiye deleted the claude/calcit-0.37.0 branch November 7, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants