|
16 | 16 |
|
17 | 17 | ## 0.3.1.0 -- 2024-08-15
|
18 | 18 |
|
19 |
| -* `collectFrom` now adds a first definition in the generated Huddle referencing |
20 |
| - the top level elements, to be compatible with the CDDL spec. |
| 19 | +* `collectFrom` now adds a first definition in the generated Huddle referencing |
| 20 | + the top level elements, to be compatible with the CDDL spec. |
21 | 21 |
|
22 |
| -## 0.3.2.0 -- 2024-09-11 |
| 22 | +## 0.3.2.0 -- 2024-09-11 |
23 | 23 |
|
24 | 24 | * Leading rather than trailing commas in the pretty printer.
|
25 | 25 |
|
26 | 26 | ## 0.3.3.0 -- 2024-11-13
|
27 | 27 |
|
28 |
| -* Introduce HuddleM, another way to define a Huddle spec. This allows total |
29 |
| - control over the order that items are presented in the CDDL, at the cost |
| 28 | +* Introduce HuddleM, another way to define a Huddle spec. This allows total |
| 29 | + control over the order that items are presented in the CDDL, at the cost |
30 | 30 | of making it somewhat harder to re-use items (they need to be returned from
|
31 | 31 | the monad).
|
32 | 32 |
|
33 | 33 | ## O.3.5.0 -- 2024-11-25
|
34 | 34 |
|
35 | 35 | * Add support for constraints on references and generic references.
|
36 |
| -* Add support for using references as range bounds. Note that this breaks |
37 |
| - backwards compatibility - because the range arguments are now more generic, |
38 |
| - additional hints are required to type literal numerics correctly. Typically |
39 |
| - this is most easily fixed by adding a call `int` for any numeric literals in |
40 |
| - ranges. An example is shown in `example/Conway.hs` |
| 36 | +* Add support for using references as range bounds. Note that this breaks |
| 37 | + backwards compatibility - because the range arguments are now more generic, |
| 38 | + additional hints are required to type literal numerics correctly. Typically |
| 39 | + this is most easily fixed by adding a call `int` for any numeric literals in |
| 40 | + ranges. An example is shown in `example/Conway.hs` |
41 | 41 |
|
42 | 42 | ## 0.3.6.0 -- 2024-12-02
|
43 | 43 | * Support having keys in group entries. This is needed when using a group to
|
|
46 | 46 | where some type hints (using 'a') are needed to properly type entries in groups,
|
47 | 47 | where previously they were unambiguous.
|
48 | 48 |
|
49 |
| - Note that it is not yet supported to use a group inside a map, where the |
| 49 | + Note that it is not yet supported to use a group inside a map, where the |
50 | 50 | issue of merging keys arises.
|
51 | 51 |
|
52 | 52 | ## 0.4.0.0 -- 2025-05-02
|
53 | 53 | * Rewrote the prettyprinter to make the output more human-readable.
|
54 |
| -* Added `collectFromInit` to make it possible to specify the order of |
55 |
| - definitions manually. `collectFrom` and `collectFromInit` now expect |
| 54 | +* Added `collectFromInit` to make it possible to specify the order of |
| 55 | + definitions manually. `collectFrom` and `collectFromInit` now expect |
56 | 56 | `HuddleItem`s in their arguments
|
57 | 57 | * More Huddle terms now accept comments (e.g. `ArrayEntry`, `ArrayChoice`)
|
58 | 58 | * Parser now preserves most comments.
|
| 59 | + |
| 60 | +## 0.5.0.0 -- 2025-06-03 |
| 61 | + |
| 62 | +* Implement a validator for CBOR terms. |
0 commit comments