diff --git a/CHANGELOG.md b/CHANGELOG.md index eb0a5af..2a9ad29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,28 +16,28 @@ ## 0.3.1.0 -- 2024-08-15 -* `collectFrom` now adds a first definition in the generated Huddle referencing - the top level elements, to be compatible with the CDDL spec. +* `collectFrom` now adds a first definition in the generated Huddle referencing + the top level elements, to be compatible with the CDDL spec. -## 0.3.2.0 -- 2024-09-11 +## 0.3.2.0 -- 2024-09-11 * Leading rather than trailing commas in the pretty printer. ## 0.3.3.0 -- 2024-11-13 -* Introduce HuddleM, another way to define a Huddle spec. This allows total - control over the order that items are presented in the CDDL, at the cost +* Introduce HuddleM, another way to define a Huddle spec. This allows total + control over the order that items are presented in the CDDL, at the cost of making it somewhat harder to re-use items (they need to be returned from the monad). ## O.3.5.0 -- 2024-11-25 * Add support for constraints on references and generic references. -* Add support for using references as range bounds. Note that this breaks - backwards compatibility - because the range arguments are now more generic, - additional hints are required to type literal numerics correctly. Typically - this is most easily fixed by adding a call `int` for any numeric literals in - ranges. An example is shown in `example/Conway.hs` +* Add support for using references as range bounds. Note that this breaks + backwards compatibility - because the range arguments are now more generic, + additional hints are required to type literal numerics correctly. Typically + this is most easily fixed by adding a call `int` for any numeric literals in + ranges. An example is shown in `example/Conway.hs` ## 0.3.6.0 -- 2024-12-02 * Support having keys in group entries. This is needed when using a group to @@ -46,13 +46,17 @@ where some type hints (using 'a') are needed to properly type entries in groups, where previously they were unambiguous. - Note that it is not yet supported to use a group inside a map, where the + Note that it is not yet supported to use a group inside a map, where the issue of merging keys arises. ## 0.4.0.0 -- 2025-05-02 * Rewrote the prettyprinter to make the output more human-readable. -* Added `collectFromInit` to make it possible to specify the order of - definitions manually. `collectFrom` and `collectFromInit` now expect +* Added `collectFromInit` to make it possible to specify the order of + definitions manually. `collectFrom` and `collectFromInit` now expect `HuddleItem`s in their arguments * More Huddle terms now accept comments (e.g. `ArrayEntry`, `ArrayChoice`) * Parser now preserves most comments. + +## 0.5.0.0 -- 2025-06-03 + +* Implement a validator for CBOR terms. diff --git a/cuddle.cabal b/cuddle.cabal index 0bf96b5..b2046d4 100644 --- a/cuddle.cabal +++ b/cuddle.cabal @@ -1,6 +1,6 @@ cabal-version: 3.4 name: cuddle -version: 0.4.0.0 +version: 0.5.0.0 synopsis: CDDL Generator and test utilities -- description: @@ -44,7 +44,7 @@ library -- other-extensions: build-depends: - , base >=4.18.3.0 + , base >=4.18.2.1 , base16-bytestring , boxes , bytestring