Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Releases: borchero/Squid

Squid 1.5.1

28 Mar 11:42
da06065
Compare
Choose a tag to compare
  • Add support for per-request URLs, detached from the underlying service's base URL

Allow Secure Protocol Settings on Service-Level

29 Sep 18:42
Compare
Choose a tag to compare

Allow Reading Response Headers

31 May 20:13
Compare
Choose a tag to compare
  • Added header computed property to the Response object returned by the schedule method.

Allow empty POST body

28 Apr 18:41
Compare
Choose a tag to compare
1.4.1

Fixes #17

Add Service-Level Error Mapping

28 Apr 15:28
Compare
Choose a tag to compare
  • It is now possible to perform service-level error mapping by overriding the mapError(_ error: Squid.Error) -> Self.RequestError method in the HttpService implementation.
  • As a result of this, HttpService now has an associated type which may result in breaking changes.

Fix Header Encoding

02 Apr 18:50
Compare
Choose a tag to compare

Header values are not escaped with .urlQueryAllowed anymore.

Add Additional HTTP Methods

02 Apr 18:13
Compare
Choose a tag to compare
  • HttpMethod.patch
  • HttpMethod.head

Service Hook Support and Optimizations

18 Mar 01:36
Compare
Choose a tag to compare
  • Service Hooks: You can now hook into requests on a service-level. This way, you can process responses and prematurely answer requests without sending them to the server. An example hook performing caching is delivered along.
  • Performance Optimizations: Internally moving away from custom retrier publishers for publishers, using native Combine classes, overall performance was improved.
  • Minor breaking change: When using the asyncHeader property of the HttpService, make sure to change its return type to Future instead of AnyPublisher. This more realistically models how it should be used.

Add Support for Asynchronous API Headers

19 Feb 21:59
Compare
Choose a tag to compare
1.2.0

Add SwiftLint and enable async headers

Fix JSON Debug Strings

09 Feb 13:26
Compare
Choose a tag to compare
1.1.11

Fix JSON debug printing