Skip to content

升级 Markup 到 Calcit 0.42.1 并检查编辑器正文类型 - #27

Merged
tiye merged 1 commit into
mainfrom
migrate/markup-calcit-0421
Nov 12, 2026
Merged

tiye merged 1 commit into
mainfrom
migrate/markup-calcit-0421

Conversation

@tiye

@tiye tiye commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

使用者需要注意

本地开发使用配套 Calcit CLI 和 JS runtime 0.42.1。Content 输入、Run、Reel 调试和旧存档格式继续沿用。若手工改过存档,正文渲染要求 String。

改动与风险

  • 存档解码使用泛型输入和具名 Store 输出,移除一处 Dynamic 参数。正文在传给 textarea 前检查为 String,开放的状态扩展字段仍沿原路径保留。
  • 本地全定义检查、完整 strict、动态方法门禁、原三项 JS 回归及生产构建均通过。

Summary by CodeRabbit

  • Bug Fixes

    • Editor content is now displayed correctly in the text area.
  • Documentation

    • Updated the documented Calcit version associated with candidate 0.0.6.

@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The README and dependency declarations now specify Calcit and @calcit/procs version 0.42.1. The app schemas add feature declarations and use a generic input for decode-store. The textarea decodes present content as a String.

Changes

Calcit version and app schema updates

Layer / File(s) Summary
Update versions and app declarations
deps.cirru, package.json, README.md, calcit.cirru
The declared Calcit and @calcit/procs versions change to 0.42.1. App schemas add feature declarations and a generic input for decode-store. The textarea decodes present content as a String.

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

Change: Other

Possibly related PRs

  • Respo/markup#26: PR #26 changes the editor data contract used by the textarea, which this PR also updates.
  • Respo/markup#19: PR #19 introduced the decode-store schema declaration that this PR revises.
Merge Risk: Minimal · up to 41a75

This change upgrades the Calcit toolchain version and adds schema declarations for the editor body. No concrete merge-blocking risk was found. Local development needs the matching 0.42.1 CLI and JS runtime.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title is in Chinese and says the PR upgrades Markup to Calcit 0.42.1 and checks that the editor body is a String. The raw summary confirms the version bumps in README.md, deps.cirru, and package.j…
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: Title check

Explanation

The title is in Chinese and says the PR upgrades Markup to Calcit 0.42.1 and checks that the editor body is a String. The raw summary confirms the version bumps in README.md, deps.cirru, and package.json. It also confirms the textarea now decodes editor content as a String and the decode-store schema changed from Dynamic to a generic Input. The title names the two main changes and matches the objectives, so it is related to the main change.

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: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: e5224ccc-6b98-46e4-85f2-45317afcefd5
Commits

Reviewing files that changed from the base of the PR and between 5a9bda5 and 41a75f3.

Files ignored due to path filters: 1

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

  • README.md
  • 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 6c36cac into main Nov 12, 2026
1 check passed
@tiye
tiye deleted the migrate/markup-calcit-0421 branch November 12, 2026 16:24
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.

1 participant