Skip to content

Releases: jiacai2050/zig-curl

v0.3.0

24 Aug 02:40
f105afc
Compare
Choose a tag to compare

Breaking changes

  • Response body is specified with response_writer in FetchOptions.

Import

        .curl = .{
            .url = "https://github.com/jiacai2050/zig-curl/archive/refs/tags/v0.3.0.tar.gz",
            .hash = "curl-0.3.0-P4tT4ZzSAADueeRzPHnzLFj9lRTJyA3rnOYycH0yu-N4",
        },

What's Changed

Full Changelog: v0.2.0...v0.3.0

v0.2.0

18 May 13:15
f83ac2b
Compare
Choose a tag to compare

Breaking changes

  • Buffer rename to DynamicBuffer
  • Remove bufferWriteCallback, use Easy.dynamicBufferWriteCallback instead.
  • Remove get, post, use fetch, fetchAlloc instead.
  • Easy.init remove allocator argument.

Import

    .dependencies = .{
        .curl = .{
            .url = "https://github.com/jiacai2050/zig-curl/archive/refs/tags/v0.2.0.tar.gz",
            .hash = "curl-0.2.0-P4tT4UfOAADebEpwArAmrbS8Bzdxnh6PEmtHhbTLdxaG",
        },
    },

What's Changed

  • Expand multi example to show how to save output to buffer. by @g-cassie in #29
  • refactor: no allocator inside Easy by @jiacai2050 in #30

New Contributors

Full Changelog: v0.1.1...v0.2.0

v0.1.1

23 Mar 03:02
2b362af
Compare
Choose a tag to compare

Use new hash format introduced in 0.14 for dependencies.

Import like this:

    .dependencies = .{
        .curl = .{
            .url = "https://github.com/jiacai2050/zig-curl/archive/refs/tags/v0.1.1.tar.gz",
            .hash = "curl-0.1.1-P4tT4WzAAAD0MGbSfsyGV1hPdooNwZ5odcQYUB9iYlHe",
        },
    },

v0.1.0

09 Mar 02:48
2ebb42e
Compare
Choose a tag to compare

First stable version, target zig 0.14.0.

Import like this:

    .dependencies = .{
        .curl = .{
            .url = "https://github.com/jiacai2050/zig-curl/archive/refs/tags/v0.1.0.tar.gz",
            .hash = "122057495ccd5029387615e6786a56626a88cd39614b4ebeb0bf559989c16fe47a3f",
        },
    },