Skip to content

Releases: r4gus/zbor

0.12.1

03 Dec 12:18
Compare
Choose a tag to compare
fixed broken reference

0.12.0

03 Dec 11:15
Compare
Choose a tag to compare

This introduces breaking changes as the default behavior for stringify has slightly changed:

  • Enums will be serialized to their textual representation
  • u8 slices will be serialized to byte strings
  • For structs and unions:
    • null fields are skipped by default
    • fields of type std.mem.Allocator are always skipped.
    • the names of fields are serialized to text strings (you have to explicitly tell stringify to treat the name of a field as integer)

Also, stringify and parse now use the same Options.

0.11.2

28 Nov 20:01
Compare
Choose a tag to compare
pushCbor bug fixed

0.11.1

28 Nov 19:57
Compare
Choose a tag to compare
pushCbor bug fixed

0.11.0

21 Aug 20:05
Compare
Choose a tag to compare

This release contains just a few minor tweaks with the most notable being that structs can now contain fields of type std.mem.Allocator.

Hash: 12204bf1073e9bc1eb12d09a2c298c687ed9c782c687f98ccda3bc95daad8c216845

.{
    .name = "your-project",
    .version = 0.0.1,

    .dependencies = .{
        .zbor = .{
            .url = "https://github.com/r4gus/zbor/archive/refs/tags/0.11.0.tar.gz",
            .hash = "12204bf1073e9bc1eb12d09a2c298c687ed9c782c687f98ccda3bc95daad8c216845",
        }
    },
}

0.11.3-alpha

21 Mar 14:30
Compare
Choose a tag to compare

PACKAGE HASH:

1220e4d26c4707bb1b3883107b5f3a99866017136cd0b611ba30f9b04a967574fc7e

0.11.2-alpha

20 Mar 22:02
69f416f
Compare
Choose a tag to compare
Merge pull request #16 from r4gus/0.11.2-alpha

0.11.2 alpha

0.11.1-alpha

12 Feb 10:01
Compare
Choose a tag to compare
library now compiles with latest changes from zig master branch

0.11.0-alpha

12 Feb 00:42
298868f
Compare
Choose a tag to compare
  • new Builder type for dynamically creating CBOR data
  • stringifycan be overridden by implementing cborStringify for structs and enums

0.10.5

21 Nov 13:13
Compare
Choose a tag to compare

New api:

  • No additional allocation of heap memory for inspecting DataItems
  • Json like parse() and stringify() functions for deserializing and serializing CBOR data

Note: If you encounter any errors please open an issue