Custom requests de-headached
Enhancements
- The new
RequestDelegateAPI makes it much simpler to create customRequests. This is useful for add third-party auth libraries and adding non-network behavior (e.g. a pause) to request chains. (#254, #152) - The newly tidied logging API adds conveniences for predefined Siesta category sets, and cleans up the global namespace. (#256)
Fixes
- All warnings fixed for Swift 4.1 / Xcode 9.4. Thanks, @joaomvfsantos and @wildthink! (#244, #250, #242, #257)
- There is no longer a race condition between the persistent cache and initial calls to
loadIfNeeded(). (#237, #255) ResourceImageViewnow returns a nil resource after the URL is set to nil. (#249, #259)- Overrides for
Content-Typein configuration ad request mutations now follow a well-defined order of precedence, and do not cause duplicate headers. Thanks, @massdonati! (#246, #247)
Breaking Changes
None.