Skip to content

Commit d0dad49

Browse files
authored
Merge pull request #78 from input-output-hk/js/release
Release cuddle 0.5.0.0
2 parents 5c2d4b1 + e99e9ae commit d0dad49

File tree

2 files changed

+19
-15
lines changed

2 files changed

+19
-15
lines changed

CHANGELOG.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,28 @@
1616

1717
## 0.3.1.0 -- 2024-08-15
1818

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.
2121

22-
## 0.3.2.0 -- 2024-09-11
22+
## 0.3.2.0 -- 2024-09-11
2323

2424
* Leading rather than trailing commas in the pretty printer.
2525

2626
## 0.3.3.0 -- 2024-11-13
2727

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
3030
of making it somewhat harder to re-use items (they need to be returned from
3131
the monad).
3232

3333
## O.3.5.0 -- 2024-11-25
3434

3535
* 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`
4141

4242
## 0.3.6.0 -- 2024-12-02
4343
* Support having keys in group entries. This is needed when using a group to
@@ -46,13 +46,17 @@
4646
where some type hints (using 'a') are needed to properly type entries in groups,
4747
where previously they were unambiguous.
4848

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
5050
issue of merging keys arises.
5151

5252
## 0.4.0.0 -- 2025-05-02
5353
* 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
5656
`HuddleItem`s in their arguments
5757
* More Huddle terms now accept comments (e.g. `ArrayEntry`, `ArrayChoice`)
5858
* Parser now preserves most comments.
59+
60+
## 0.5.0.0 -- 2025-06-03
61+
62+
* Implement a validator for CBOR terms.

cuddle.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.4
22
name: cuddle
3-
version: 0.4.0.0
3+
version: 0.5.0.0
44
synopsis: CDDL Generator and test utilities
55

66
-- description:
@@ -44,7 +44,7 @@ library
4444

4545
-- other-extensions:
4646
build-depends:
47-
, base >=4.18.3.0
47+
, base >=4.18.2.1
4848
, base16-bytestring
4949
, boxes
5050
, bytestring

0 commit comments

Comments
 (0)