|
| 1 | +# Version 0.7.9 release - 霞光 |
| 2 | + |
| 3 | +Commit range: `3b43aa8..6c5f6f3` |
| 4 | + |
| 5 | +## Highlights |
| 6 | +- Added nested markdown subtree extraction and strengthened anonymous subtree slug handling to avoid collisions. |
| 7 | +- Added anonymous subtree support in Typst subtree flow, including internal slug allocation and structural-only behavior alignment. |
| 8 | +- Enabled metadata values to use local links in Typst via `local(...)`, matching markdown-style author/reference linking workflows. |
| 9 | +- Expanded Typst helper capabilities in `kodama.typ`, including semantic subtree helpers and improved local-link ergonomics. |
| 10 | +- Refined `upgrade` workflow with dedicated subcommands and Typst library sync support. |
| 11 | +- Continued modular refactors across parser, serve watch, html rendering, and content writing paths. |
| 12 | + |
| 13 | +## Behavior changes and migration notes |
| 14 | +- `upgrade` now exposes focused subcommands (`config`, `typst-lib`) with clearer argument behavior. |
| 15 | +- Typst `local(...)` helper now supports optional text, improving parity with markdown local-link usage patterns. |
| 16 | +- Typst subtree authoring gained semantic helper aliases (for example `lemma`, `theorem`, `proof`) that map to subtree taxons. |
| 17 | +- Serve command invocation now forwards explicit port values to `miniserve`. |
| 18 | + |
| 19 | +## Features and improvements |
| 20 | +- Added nested markdown subtree extraction support. |
| 21 | +- Added robust anonymous subtree slug allocation and improved slug attribute handling. |
| 22 | +- Added `with-target-check` for cleaner HTML/paged target branching in Typst helper APIs. |
| 23 | +- Added Typst semantic subtree sugar helpers aligned with markdown-style structural tags. |
| 24 | +- Added upgrade-time sync for `trees/_lib/kodama.typ`. |
| 25 | + |
| 26 | +## Performance |
| 27 | +- Reworked serve global-change handling to reuse in-memory shallows. |
| 28 | +- Moved Typst SVG generation into a separate stage for cleaner pipeline boundaries. |
| 29 | +- Simplified writer catalog generation and related compile-state anonymous filtering paths. |
| 30 | + |
| 31 | +## Stability and error handling |
| 32 | +- Fixed anonymous subtree slug collision cases in nested markdown scenarios. |
| 33 | +- Fixed serve/miniserve command wiring to include port. |
| 34 | +- Added/kept focused test coverage for asset-link title sanitization with inline HTML input. |
| 35 | +- Finalized release versioning back to `0.7.9` after transient `0.8.0` bump. |
| 36 | + |
| 37 | +## Code organization and naming |
| 38 | +- Split parser subtree logic and tests into dedicated modules. |
| 39 | +- Split serve watch internals into strategy/analysis/runtime components. |
| 40 | +- Split content writer and tests into submodules. |
| 41 | +- Split `html_flake` into `core`, `header`, and document-oriented modules. |
| 42 | +- Refactored upgrade command internals into subcommand-oriented structure. |
| 43 | +- Replaced long HTML header argument list with a struct-based API. |
| 44 | + |
| 45 | +## Testing and testability |
| 46 | +- Added `embed_markdown` test for stripping inline HTML from asset-link titles. |
| 47 | +- Improved readability of shared test setup helpers for shallow section construction. |
| 48 | +- Kept subtree parsing improvements covered through parser-level regression tests. |
| 49 | + |
| 50 | +## Full commit list |
| 51 | +- `6c5f6f3` feat(typ): add semantic subtree sugar helpers for markdown tags |
| 52 | +- `cec8d1a` fix(serve): update command to include port for miniserve |
| 53 | +- `9e5980b` fix(local): handle text parameter as optional in local function |
| 54 | +- `4692a23` fix(version): downgrade kodama version from 0.8.0 to 0.7.9 |
| 55 | +- `a5cf22c` feat(parser): implement anonymous subtree slug handling and improve slug attribute management |
| 56 | +- `fb9f713` refactor(subtree): enhance parameter handling and improve readability |
| 57 | +- `4f3f1bf` feat(target-check): implement with-target-check for HTML and paged compatibility |
| 58 | +- `f024035` test(embed_markdown): add test for asset link title stripping inline HTML |
| 59 | +- `9466868` fix(parser): avoid anonymous subtree slug collisions in nested markdown |
| 60 | +- `1a531de` feat(parser): support nested markdown subtree extraction |
| 61 | +- `56cb7cc` refactor(graph): normalize anonymous subtree filtering in compile state |
| 62 | +- `12378f8` chore(version): bump kodama version to 0.8.0 |
| 63 | +- `f451506` refactor(process): split content writer and tests into submodules |
| 64 | +- `6d8dddf` refactor(serve): split watch into strategy, analysis, and runtime modules |
| 65 | +- `cc265b7` refactor(parser): split subtree logic and tests into submodules |
| 66 | +- `999a31d` refactor(html_flake): split into core, header, and document modules |
| 67 | +- `d1856de` perf(serve): rewrite global changes from in-memory shallows |
| 68 | +- `380ab82` refactor(writer): simplify catalog HTML generation logic |
| 69 | +- `65a6a05` refactor(scan): move typst svg generation to separate stage |
| 70 | +- `191d034` chore(clippy): clear warnings in typst tests and html_flake |
| 71 | +- `6f82f08` refactor(main): reorder typst_cli module and update upgrade command description |
| 72 | +- `3524cf4` refactor(upgrade): move config/output flags into subcommands |
| 73 | +- `3881091` docs(upgrade): clarify top-level args apply without subcommand |
| 74 | +- `bc12a05` refactor(html): replace header arg list with struct |
| 75 | +- `7bc7c43` refactor(tests): improve readability of shallow_section_with_content function |
| 76 | +- `57c8960` refactor(upgrade): split config and typst-lib into subcommands |
| 77 | +- `884bc40` feat(upgrade): sync trees/_lib/kodama.typ during migration |
| 78 | +- `f7509a3` chore: add changelog for version 0.7.5 release with highlights, features, and fixes |
0 commit comments