Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ Demo http://repo.tiye.me/tiye/leaf-reading/ .

### 使用者需要注意

当前 CLI 与 `@calcit/procs` 配对使用正式版 0.46.0,使用 Node 24、Yarn 4.18.0;正式依赖为 Respo 0.20.0、UI 0.16.6、Reel 0.11.10、JS-FFI 0.2.26,传递 Router 0.12.18。升级后重新安装依赖并构建前端。存档 key `workflow`、旧 Map 格式、文本内容、View 显隐及 60 秒自动保存保持不变。编辑器事件使用 Respo 的 `RespoEvent`,状态路径使用 `CoordKey`。编辑和 View 切换发送带有明确草稿类型的操作,递归页面子节点使用 `Element | Component`。 Reel 面板和快捷键使用具名 `Control` 回调。自动保存会在存档恢复成功后启用。
当前 CLI 与 `@calcit/procs` 配对使用正式版 0.52.0,使用 Node 24、Yarn 4.18.0;正式依赖为 Respo 0.20.3、UI 0.16.9、Reel 0.11.14、JS-FFI 0.2.29,传递 Router 0.12.21。升级后重新安装依赖并构建前端。存档 key `workflow`、旧 Map 格式、文本内容、View 显隐及 60 秒自动保存保持不变。编辑器事件使用 Respo 的 `RespoEvent`,状态路径使用 `CoordKey`。编辑和 View 切换发送带有明确草稿类型的操作,递归页面子节点使用 `Element | Component`。 Reel 面板和快捷键使用具名 `Control` 回调。自动保存会在存档恢复成功后启用。

此前内部 `comp-leaf` 删除从不参与样式计算、只递归传递 nil 的参数,改为 `(leaves level)`。调用此应用内部辅助组件的代码需要同步重编译;层级解析、缩进和页面布局不变。`indentation` / `dev?` 声明为真实 String / Bool,存档外层类型收紧为 `Map<Tag, Map<CoordKey,Dynamic>>`;异构状态树仍如实保留开放类型,不增加强转或预算。

### Development

Use the released Calcit/procs 0.46.0 pair, Node 24 and Yarn 4.18.0. `calcit.cirru` is the canonical
Use the released Calcit/procs 0.52.0 pair, Node 24 and Yarn 4.18.0. `calcit.cirru` is the canonical
source; `deps.cirru` pins the compiler and published module releases.
The retired `compact.cirru` is no longer used or tracked.
Declared published module tags are Respo 0.20.0, UI 0.16.6, Reel 0.11.10 and js-ffi 0.2.26.
Declared published module tags are Respo 0.20.3, UI 0.16.9, Reel 0.11.14 and js-ffi 0.2.29.

```sh
caps --strict --ci
Expand Down
4 changes: 2 additions & 2 deletions calcit.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@
_ external $ decode-map-as (&struct:to-map external) 'app.schema/Draft
decode-map-as raw 'app.schema/Draft
:examples $ []
:schema $ quote $ Fn Input (-> Draft) (:generics Input)
:schema $ quote $ Fn Input (-> Draft) (:generics Input) (:open :decode)
'decode-store $ %{} 'CodeEntry (:doc |)
:code $ quote $ defn decode-store (raw)
let
Expand All @@ -377,7 +377,7 @@
assoc states :data $ decode-draft draft
decode-map-as (assoc fields :states normalized) 'app.schema/Store
:examples $ []
:schema $ quote $ Fn Input (-> Store) (:generics Input)
:schema $ quote $ Fn Input (-> Store) (:generics Input) (:open :decode)
:tests $ [] $ %{} 'TestEntry (:name |legacy-draft-preservation)
:code $ quote $ let
raw $ {} $ :states
Expand Down
10 changes: 5 additions & 5 deletions deps.cirru
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{} (:calcit-version |0.46.0)
{} (:calcit-version |0.52.0)
:version |0.0.2
:dependencies $ {} (|Respo/respo.calcit |0.20.0)
|Respo/respo-ui.calcit |0.16.6
|Respo/reel.calcit |0.11.10
|calcit-lang/js-ffi |0.2.26
:dependencies $ {} (|Respo/respo.calcit |0.20.3)
|Respo/respo-ui.calcit |0.16.9
|Respo/reel.calcit |0.11.14
|calcit-lang/js-ffi |0.2.29
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"@calcit/procs": "0.46.0",
"@calcit/procs": "0.52.0",
"@mvc-works/codearea": "0.0.3"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.