Releases: jiacai2050/zig-curl
Releases · jiacai2050/zig-curl
v0.3.0
Breaking changes
- Response body is specified with
response_writer
inFetchOptions
.
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
- feat: add write context to set writefunction by @jiacai2050 in #32
- feat: support any writer by @jiacai2050 in #33
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Breaking changes
Buffer
rename toDynamicBuffer
- Remove
bufferWriteCallback
, useEasy.dynamicBufferWriteCallback
instead. - Remove
get
,post
, usefetch
,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
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
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",
},
},