Skip to content

Custom requests de-headached

Compare
Choose a tag to compare
@pcantrell pcantrell released this 26 Jun 05:09
· 155 commits to main since this release
360861a

Enhancements

  • The new RequestDelegate API makes it much simpler to create custom Requests. 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)
  • ResourceImageView now returns a nil resource after the URL is set to nil. (#249, #259)
  • Overrides for Content-Type in 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.