Releases: joshuawright11/papyrus
v0.6.16
v0.6.15
Support optional Query parameters
v0.6.14
Fixes an issue where a RequestBuilder wouldn't affect the response decoding
v0.6.13
Adds support for curly braces in path parameters fixes a bug with path parameter recognition.
v0.6.12
Support optional Headers. If the value passed is nil, it won't be added to the outgoing request's headers.
v0.6.11
Bumps swift-syntax to 510.0.0
v0.6.10
Adds a CurlLogger interceptor that logs a cURL of the request either on onError or always #43
let curl = CurlLogger(when: .onError)
let provider = Provider(baseURL: "http://localhost:3000", interceptors: [curl])Fixes an issue where decoding an Optional from a Request with an empty body would throw an error instead of returning nil.
Huge thanks to @NoahKamara and @lutes1 for the big contributions 💯
v0.6.9
Fixes an issue where static query parameters were causing path parsing issues (#47).
Thank you @NoahKamara for the report and fix! 🥇