From f285eb274fd80c3a879b8cc862a05ea542df4830 Mon Sep 17 00:00:00 2001 From: nejimakibird <23066051+nejimakibird@users.noreply.github.com> Date: Tue, 14 Jul 2026 06:28:57 +0900 Subject: [PATCH] chore: prepare v0.1.20 release --- README-ja.md | 11 +++++------ README.md | 11 +++++------ docs/commands.md | 1 + docs/ja/commands-ja.md | 1 + docs/releases/v0.1.20.md | 39 +++++++++++++++++++++++++++++++++++++++ manifest.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- versions.json | 3 ++- 9 files changed, 57 insertions(+), 17 deletions(-) create mode 100644 docs/releases/v0.1.20.md diff --git a/README-ja.md b/README-ja.md index 7dd0c8f..553ae3a 100644 --- a/README-ja.md +++ b/README-ja.md @@ -18,13 +18,12 @@ Model Weave は、構造化されたソフトウェアモデリングの機能 * **アプリケーションロジック**: 業務フロー(App Process)、画面定義、ビジネスルール。 * **影響分析**: 設計全体にわたる関係性や依存関係を自動的に検出。 -## 0.1.19 の主な更新 +## 0.1.20 の主な更新 -* Flow Diagram MVP として、画面、コンテキスト、プロセス、ストア、セッション、外部システム間の communication / data handoff flow を書く `type: flow_diagram` を追加しました。 -* Flow Diagram の edge は `kind`, `trigger`, `data`, `condition` による richer semantics と、node / edge label の hover details に対応しました。 -* Diagnostics は schema-driven な table header guidance、Flow endpoint の local object guidance、DFD / Flow Diagram `Flows.data` の Wikilink diagnostics を改善しました。 -* Color Scheme preview editing では、`fill`, `stroke`, `text` を swatch と native color picker controls で編集しやすくしました。 -* Applied Color Scheme は Details tab に compact な `Target | Kind | Preview | Notes | Source` table として表示されます。 +* Flow Diagram に Detail view と Screen view を追加しました。Viewer の `Flow view` selector で Markdown を変更せず一時切替でき、`flow_view` は初期表示、未指定時は **Default Flow Diagram view** が初期値を指定します。 +* Screen view は詳細な communication flow から screen、actor、external system、context、message を中心に表示し、内部処理 node を折りたたみます。 +* Flow Diagram は `## Domain Sources` と local `## Domains` に対応し、親子の nested group と Domain kind ベースの Color Scheme を利用できます。 +* 新規 Mapping は `target_ref | source_ref | transform | rule | required | notes` の target-first header を使います。既存の source-first Mapping も warning なしで互換読み取りできます。 ## 基本の考え方 diff --git a/README.md b/README.md index add8992..17949d6 100644 --- a/README.md +++ b/README.md @@ -18,13 +18,12 @@ It helps keep design assets human-readable, Git-friendly, and usable as structur * **Application logic**: App Process business flows, Screen definitions, and Business Rules. * **Impact analysis**: Automatically detect relationships and dependencies across the design. -## Recent updates in 0.1.19 +## Recent updates in 0.1.20 -* Flow Diagram MVP adds `type: flow_diagram` for screen, context, process, store, session, and external communication/data handoff flows. -* Flow Diagram edges support richer `kind`, `trigger`, `data`, and `condition` semantics, with hover details for nodes and edge labels. -* Diagnostics now provide schema-driven table-header guidance, local Flow endpoint guidance, and Wikilink diagnostics for DFD / Flow Diagram `Flows.data`. -* Color Scheme preview editing adds swatches and native color picker controls for `fill`, `stroke`, and `text`. -* Applied Color Scheme now uses a compact Details-tab table with `Target | Kind | Preview | Notes | Source`. +* Flow Diagrams add a Screen view alongside Detail view. Use the Viewer `Flow view` selector to temporarily switch views without changing Markdown; `flow_view` selects the initial view and **Default Flow Diagram view** supplies the default when it is absent. +* Screen view projects detailed communication flows around screens, actors, external systems, contexts, and messages while folding internal processing nodes. +* Flow Diagrams can use `## Domain Sources` and local `## Domains`, including nested parent groups and Domain kind-based Color Scheme rows. +* New Mapping files use the target-first header `target_ref | source_ref | transform | rule | required | notes`; existing source-first Mapping files remain compatible without warnings. ## Basic idea diff --git a/docs/commands.md b/docs/commands.md index 33ad3e4..615d260 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -58,6 +58,7 @@ Templates help you start new models with the correct frontmatter and section str You can configure the following in **Settings** > **Model Weave**: - **Default render mode**: Choose between `Auto`, `Custom`, or `Mermaid`. +- **Default Flow Diagram view**: Choose `Detail` or `Screen` as the initial view for Flow Diagrams without `flow_view`. The Viewer `Flow view` selector can temporarily switch the current Flow Diagram without modifying its Markdown. - **Default zoom**: Set the initial zoom state (`Fit` or `100%`). - **Font size**: Adjust text size in the preview. - **Node density**: Control how compact diagrams appear. diff --git a/docs/ja/commands-ja.md b/docs/ja/commands-ja.md index 4614c77..14d87c0 100644 --- a/docs/ja/commands-ja.md +++ b/docs/ja/commands-ja.md @@ -59,6 +59,7 @@ Model Weave のすべての機能は、Obsidian のコマンドパレットか - **UI Language**: ビューアーのキャプションの言語(English または 日本語)を切り替えます。 - **Local source root**: Obsidian Vault 外のファイルへの `## Source Links`(相対パス)を解決するためのベースパス。 - **Default render mode**: `Custom`(詳細)または `Mermaid`(概要)レンダリングの優先設定。 +- **Default Flow Diagram view**: `flow_view` が未指定の Flow Diagram の初期表示を `Detail` または `Screen` から選びます。Viewer の `Flow view` selector では、Markdown を変更せずに現在の Flow Diagram を一時切替できます。 - **Relationship View**: 「Impact / Relationships(影響/関連)」分析パネルの有効/無効。 ### 次に読むもの diff --git a/docs/releases/v0.1.20.md b/docs/releases/v0.1.20.md new file mode 100644 index 0000000..cef4952 --- /dev/null +++ b/docs/releases/v0.1.20.md @@ -0,0 +1,39 @@ +# Model Weave v0.1.20 + +Model Weave v0.1.20 adds a screen-focused Flow Diagram projection, domain-aware Flow Diagram grouping, and a target-first Mapping authoring format. + +## Highlights + +### Screen-focused Flow Diagram view + +- Flow Diagrams now provide `Detail` and `Screen` views. +- Use the Viewer `Flow view` selector to switch views temporarily; it does not modify Markdown. +- Screen view folds internal processing nodes and projects communication around screens, actors, external systems, contexts, and messages. +- `flow_view` selects the initial Flow Diagram view for a file. +- **Default Flow Diagram view** selects the initial view when `flow_view` is absent or invalid. + +### Domain-aware Flow Diagrams + +- Flow Diagrams support reusable `## Domain Sources` and local `## Domains`. +- Resolved Domain names label groups, and `parent` relationships create nested groups. +- Domain kind-based Color Scheme rows apply to Flow Diagram domain groups. +- Existing Flow Diagrams without Domain definitions continue to use their raw `Objects.domain` groups. + +### Target-first Mapping format + +- New Mapping files use `target_ref | source_ref | transform | rule | required | notes`. +- Legacy source-first Mapping headers remain supported without warnings. +- Target-first and source-first Mapping files can coexist in the same vault. +- Internal `source_ref` and `target_ref` semantics are unchanged. + +## Compatibility + +- Existing Mapping files do not need to be rewritten. +- Existing Flow Diagrams without Domain definitions continue to render as before. +- Flow Diagrams default to Detail view when no view is specified. +- Viewer toolbar changes do not modify Markdown. +- Dogfood Mapping column-order updates are intentionally not included in this release. + +## Validation + +- Run the full automated test, TypeScript, lint, CSS compatibility, and production build checks before release. diff --git a/manifest.json b/manifest.json index aa6fe9d..88cc517 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "model-weave", "name": "Model Weave", - "version": "0.1.19", + "version": "0.1.20", "minAppVersion": "1.8.7", "description": "Manage text-first models, relationships, and diagrams in Markdown.", "author": "nejimakibird", diff --git a/package-lock.json b/package-lock.json index 7e7b19c..481b5f5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "obsidian-model-weave", - "version": "0.1.19", + "version": "0.1.20", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "obsidian-model-weave", - "version": "0.1.19", + "version": "0.1.20", "license": "MIT", "devDependencies": { "@eslint/js": "^10.0.1", diff --git a/package.json b/package.json index 04ee80f..0c81078 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-model-weave", - "version": "0.1.19", + "version": "0.1.20", "description": "An Obsidian plugin for managing text-first models, relationships, and diagrams in Markdown.", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index e2a210b..7a90a84 100644 --- a/versions.json +++ b/versions.json @@ -17,5 +17,6 @@ "0.1.16": "1.8.7", "0.1.17": "1.8.7", "0.1.18": "1.8.7", - "0.1.19": "1.8.7" + "0.1.19": "1.8.7", + "0.1.20": "1.8.7" }