Releases: rhysforyou/Superhighway
Releases · rhysforyou/Superhighway
v2.0.1
- Improve how documentation is rendered on the Swift Package Index
- Improve README
v2.0.0
- Formally remove deprecated
Endpoint
initializers:Endpoint.init(json:url:accept:headers:expectedStatusCode:query:decoder:)
Endpoint.init(json:url:accept:body:headers:expectedStatusCode:query:decoder:encoder:)
Endpoint.init(json:url:accept:body:headers:expectedStatusCode:query:encoder:)
- Formally remove deprecated
URLSession.data(for:)
method
v1.1.0
- Rename
URLSession.data(for:)
toURLSession.response(for:)
- Add new JSON convenience constructors that take the response type as an explicit argument
v1.0.0
- First stable release
0.5.1
- Make
Endpoint
'srequest
property public to simplify unit testing
0.5.0
- Endpoints now use a throwing closure for their
parse
property, instead of one which returns aResult
- Added an async
URLSession.data(for:)
method which takes an endpoint and returns a tuple of(Response, URLResponse)
- Response mapping methods have been removed
0.4.1
Changed
- Project renamed from Porygon to Superhighway
- Support for arbitrary MIME types for
Accept
andContent-Type
headers usingContentType.custom
- Support using a custom
JSONEncoder
when making requests with a JSON body
0.3.0
Changed
- Overhauled Combine integration.
EndpointPublisher
now vends its ownSubscription
type, instead of simply acting as a wrapper for an upstream data task publisher.
0.2.0
Added
- Add support for Linux
- Add
map
andflatMap
methods toEndpoint
Changed
- The
URLSessionDataTask
provided byURLSession
'sendpointTask
method is is no longer started automatically - The return value of
endpointTask
is no longer marked as discardable
0.1.0
Initial release of the library