Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Releases: vzsg/Curly

"Share the Fun"

Choose a tag to compare

@vzsg vzsg released this 02 Feb 17:18

If setting CurlyOptions for every request is getting cumbersome, CurlyProvider is here to help. Global options passed to its initializer will be applied to all requests.

try services.register(CurlyProvider(globalOptions: [
    .sslCAFilePath("my-selfsigned-certs.crt")
]))

"Trust Issues"

Choose a tag to compare

@vzsg vzsg released this 18 Dec 21:49

With Curly 0.6.0, you now have fine-grained control over client and server certificate validation – no need to disable security altogether just for a self-signed certificate.

"Counting Seconds"

Choose a tag to compare

@vzsg vzsg released this 07 Sep 23:44

With Curly 0.5.0:

  • The timeout and connectTimeout options lost the name of their argument. Typing out seconds: felt superfluous, especially considering...
  • ...the brand new timeoutMs and connectTimeoutMs options, which allow using milliseconds for more precise control.

"Overcome Insecurities"

Choose a tag to compare

@vzsg vzsg released this 11 Jun 15:25

Curly 0.4 is here with three neat changes:

  • TLS getting you down? You can now disable certificate checks with the .insecure CurlyOption. Who knows, perhaps in the future, custom certificates will be an option too.
  • Speaking of the future, Swift 4.2 and 5.0 should no longer report warnings (by @mxcl).
  • Speaking of reports, CURL errors are now wrapped into public CurlyErrors, so you can check what went wrong and respond accordingly (by @FredericRuaudel).

"Too Much Power"

Choose a tag to compare

@vzsg vzsg released this 18 Mar 18:48

With 0.3.0, CurlyClient got a new name: "Curly". Fancy.

But on a more serious note, 0.3.0 exposes a bunch of advanced curl options, including proxy and cookie jar support. Check the README to learn more.

"Inside // I Stand Alone"

Choose a tag to compare

@vzsg vzsg released this 14 Feb 14:07

Curly no longer requires any obscure dependencies on Linux, nor does it pull in half of the Perfect world! Using it on Heroku and Vapor Cloud should now be possible without any extra steps.