@cardenelabs/cdl 0.57.1 → 0.58.0

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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,27 @@ CDL (Chainome Diagram Language) の主要変更履歴。
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.58.0] - 2026-09-13
9
+
10
+ ### Added
11
+
12
+ - **図に言語 (`lang`) を指定すると、形の絵の中の固定の字をその言語で描くようにした** (#847)
13
+
14
+ 形の部品 14 種は、書き手が何を渡しても同じ字を描いていた (看板の `PAY` / `WAREHOUSE`、見本の値の
15
+ `→ 12 chunks in 1.8s` / `CAR-1111`、ブロックの行の名前の `hash` / `prev` など)。 日本語の図に置くと、
16
+ そこだけ英語が残っていた。
17
+
18
+ 図に `lang: "ja"` を書くと、これらの字を日本語の辞書から引いて描く (`PAY` → `決済`、`hash` → `ハッシュ`)。
19
+ 書かない図と、型の外の値 (`"fr"` など) を渡した図は、変更前と同じ英語の字で描く。 書き手の字
20
+ (`title` / `subtitle`) は辞書を通らない。
21
+
22
+ 製品名と定着した略語 (`API` / `ATM` / `RPC`) は英字のまま残す。 API の入口の要求の種類は、日本語では
23
+ 綴りを略さず `DELETE` と書き、箱に入る大きさまで字を縮める。 端末とかんばんの札は、和文を等幅の 2 桁と
24
+ 数えて幅を見積もる。
25
+
26
+ ブロックの行の目印 (`data-cdl-role="blockchain-block-hash"` など) と、副題を差し込む行の判定は、訳した
27
+ 名前ではなく英語の鍵で行う。 言語を変えても目印は変わらない。
28
+
8
29
  ## [0.57.1] - 2026-09-13
9
30
 
10
31
  ### Fixed
@@ -2539,7 +2560,8 @@ Initial OSS release.
2539
2560
  使わない = annotated tag を push しても GitHub Release は作られず、 Release を作っていない版で
2540
2561
  行き止まりになる。
2541
2562
 
2542
- [Unreleased]: https://github.com/cardene777/cdl/compare/v0.57.1...HEAD
2563
+ [Unreleased]: https://github.com/cardene777/cdl/compare/v0.58.0...HEAD
2564
+ [0.58.0]: https://github.com/cardene777/cdl/compare/v0.57.1...v0.58.0
2543
2565
  [0.57.1]: https://github.com/cardene777/cdl/compare/v0.57.0...v0.57.1
2544
2566
  [0.57.0]: https://github.com/cardene777/cdl/compare/v0.56.0...v0.57.0
2545
2567
  [0.56.0]: https://github.com/cardene777/cdl/compare/v0.55.0...v0.56.0