Skip to content

Releases: joshuawright11/papyrus

v0.6.16

16 May 18:25
Compare
Choose a tag to compare

Don't enforce Sendable on generated @Mock types

v0.6.15

15 May 04:41
Compare
Choose a tag to compare

Support optional Query parameters

v0.6.14

10 May 15:46
Compare
Choose a tag to compare

Fixes an issue where a RequestBuilder wouldn't affect the response decoding

v0.6.13

10 May 01:44
Compare
Choose a tag to compare

Adds support for curly braces in path parameters fixes a bug with path parameter recognition.

v0.6.12

08 May 18:38
Compare
Choose a tag to compare

Support optional Headers. If the value passed is nil, it won't be added to the outgoing request's headers.

v0.6.11

08 May 18:09
Compare
Choose a tag to compare

Bumps swift-syntax to 510.0.0

v0.6.10

23 Mar 21:12
598ae3c
Compare
Choose a tag to compare

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

13 Mar 00:07
ab5f147
Compare
Choose a tag to compare

Fixes an issue where static query parameters were causing path parsing issues (#47).

Thank you @NoahKamara for the report and fix! 🥇

v0.6.8

19 Feb 03:08
7bda5d3
Compare
Choose a tag to compare

Adds tvOS to the supported platforms.

Thanks @kevin-kp for the PR 💯

v0.6.7

11 Dec 22:57
Compare
Choose a tag to compare

Fix an issue with multiline @JSON attributes.

Thanks @F0x1d for the tip 🏅