codechart 0.8.0 → 0.9.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
@@ -2,6 +2,16 @@
2
2
 
3
3
  What's new in each codechart release. Update with `codechart update`; the [releases page](https://github.com/freeleex/codechart/releases) has the same notes.
4
4
 
5
+ ## 0.9.0 (2026-11-10)
6
+
7
+ ### New
8
+
9
+ - Release map: ask your agent for a PDF of what's new in a release, a plain-words section per feature for sales and stakeholders, with only facts checked in the code.
10
+ - The PDF is printed with the Chrome, Chromium, Edge or Brave you already have; without one you get the page to Save as PDF yourself.
11
+ - On a release branch (`v1.2.0`, `release-1.2.0`, `release/1.2`) the agent offers a release map. Set `release.auto: draw` to have it made once per version.
12
+ - Your product name and logo on the cover: `release.product` and `release.logo` in the config.
13
+ - `codechart release-context` lists what was merged since the last `v*` tag, with each PR's text and map, for the agent writing the release map.
14
+
5
15
  ## 0.8.0 (2026-11-08)
6
16
 
7
17
  ### New
package/README.md CHANGED
@@ -186,6 +186,18 @@ More: [Business map](docs/business-map.md)
186
186
  </td>
187
187
  <td width="54%" valign="middle"><img src="docs/images/business-map.png" alt="Business page: a journey with Now and After columns, rule cards, one dashed card asking for a yes or no, and a question with an answer box"></td>
188
188
  </tr>
189
+ <tr>
190
+ <td width="46%" valign="middle">
191
+
192
+ ### Release map
193
+
194
+ On request, a PDF of what's new in a release, in plain words, for sales: a cover, then a section per feature. It only holds what the agent checked in the code, so nobody has to review it.
195
+
196
+ More: [Release map](docs/release-map.md)
197
+
198
+ </td>
199
+ <td width="54%" valign="middle"><img src="docs/images/release-map.gif" alt="The PDF of a release map: a cover with the logo, product name, version and summary, then the features one after another"></td>
200
+ </tr>
189
201
  </table>
190
202
 
191
203
  ## The full page
@@ -207,7 +219,7 @@ More: [Why you can trust the diagram](docs/trust.md).
207
219
 
208
220
  ## Cost
209
221
 
210
- A diagram is about **2–3 extra API calls**, roughly 2–3% of a long session's usage, and nothing for trivial changes. The CLI is a 158.4 kB package. Measured runs: [Efficiency](docs/efficiency.md).
222
+ A diagram is about **2–3 extra API calls**, roughly 2–3% of a long session's usage, and nothing for trivial changes. The CLI is a 170.0 kB package. Measured runs: [Efficiency](docs/efficiency.md).
211
223
 
212
224
  ## Safe to run
213
225
 
@@ -78,6 +78,53 @@
78
78
  },
79
79
  "additionalProperties": false
80
80
  },
81
+ "release": {
82
+ "type": "object",
83
+ "properties": {
84
+ "product": {
85
+ "description": "Product name on the cover of a release map (default: the repo name)",
86
+ "type": "string",
87
+ "minLength": 1,
88
+ "maxLength": 80,
89
+ "pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f\\u200b\\u200c\\u200e\\u200f\\u2028-\\u202e\\u2060-\\u2069\\ufeff]*$"
90
+ },
91
+ "logo": {
92
+ "description": "Repo-relative path to an .svg or .png of at most 200 KB, shown on the cover of a release map",
93
+ "type": "string",
94
+ "minLength": 1,
95
+ "maxLength": 300,
96
+ "pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f\\u200b\\u200c\\u200e\\u200f\\u2028-\\u202e\\u2060-\\u2069\\ufeff]*$"
97
+ },
98
+ "browser": {
99
+ "description": "Global only: absolute path of the Chromium-based browser that prints a release map to PDF (default: Chrome, Chromium, Edge or Brave where they are usually installed)",
100
+ "type": "string",
101
+ "minLength": 1,
102
+ "maxLength": 300,
103
+ "pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f\\u200b\\u200c\\u200e\\u200f\\u2028-\\u202e\\u2060-\\u2069\\ufeff]*$"
104
+ },
105
+ "branches": {
106
+ "description": "Branches that are release branches, as globs (default: v[0-9]*, release-*, release/*)",
107
+ "minItems": 1,
108
+ "type": "array",
109
+ "items": {
110
+ "type": "string",
111
+ "minLength": 1,
112
+ "maxLength": 200,
113
+ "pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f\\u200b\\u200c\\u200e\\u200f\\u2028-\\u202e\\u2060-\\u2069\\ufeff]*$"
114
+ }
115
+ },
116
+ "auto": {
117
+ "description": "On a release branch: suggest a release map, draw one, or do nothing (default: suggest)",
118
+ "type": "string",
119
+ "enum": [
120
+ "suggest",
121
+ "draw",
122
+ "off"
123
+ ]
124
+ }
125
+ },
126
+ "additionalProperties": false
127
+ },
81
128
  "useBuiltinRules": {
82
129
  "type": "boolean"
83
130
  },