3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-20 15:15:44 +01:00

Answer stability round 1: 1 🔴, 4 🟡 (0 misread); one walker for both refusals, nodeRefusal split, two tests added, the decision and the changelog narrowed to what holds

This commit is contained in:
2026-11-10 22:05:56 +01:00
committed by Lillem4n
parent 297ff0e7e3
commit 976bcc2a2c
5 changed files with 64 additions and 53 deletions
+4 -3
View File
@@ -2,9 +2,10 @@
## Unreleased
- `readAdfDocument` and every converter name the node a `not-an-adf-document` refusal concerns:
`path` leads to it, and the message says what is wrong, such as which attribute holds a value
JSON cannot.
- `readAdfDocument` and the three writers name the node `not-an-adf-document` refuses: `path` leads
to a node that is not an ADF node, and the message says what is wrong with it, such as which
attribute holds a value that is not JSON. A getter, an object holding itself, a throwing Proxy
and a bad array length are still refused at the empty path.
- **Breaking:** `portableMarkdownToAdf` reads more of GFM's pipe table. A body row holding fewer
cells than the header is padded with empty cells, where `0.3.1` returned `malformed-pipe-table`;
a table whose padding would add more cells than the table holds is `malformed-pipe-table`.