Skip to content

Releases: bustoutsolutions/siesta

Yet more SwiftPM love

19 Nov 16:03
43f3404
Compare
Choose a tag to compare

Fixed:

  • Siesta no longer causes problems for downstream projects using Quick and Nimble that include Siesta via SwiftPM (#313, #314)

SwiftPM needed a little extra love

10 Apr 14:14
cb9c1bf
Compare
Choose a tag to compare

Fixed:

  • It’s now possible to depend on Siesta by version number (and just by branch) when using SwiftPM (#308, #309)

Stay home. Wash your hands. Build a cool app.

31 Mar 02:18
95fe815
Compare
Choose a tag to compare

Enhacements

  • Siesta now supports Swift Package Manager. Thanks, @karlshea! (#301, #304)
    • Note that because SwiftPM does not yet support dependency-provided resources, you will need to manually copy ResourceStatusOverlay.xib into your own project if you plan to use ResourceStatusOverlay’s default UI.
  • Long an unofficial DIY option, Siesta now officially supports tvOS. Thanks, @omidontop! (#28, #293)
  • The new Resource.withParams() method lets you add many query parameters at once. (#294)
  • The Alamofire extension now supports Alamofire 5 (#303)
  • The test suite no longer uses Nocilla. This is not a user-facing enhancement, but believe me, if you are a project maintainer, you’re very happy about this. 😎🥳 (#302)

Fixes

  • Build issues with recent Xcode / Swift versions fixed

Breaking Changes

  • Siesta now requires Swift 5. (#296)
  • The Alamofire extension not only supports but requires Alamofire 5 (#303). Projects still using AF 4 can find the old extension in Extensions/Alamofire-4.

Spring cleaning

19 Mar 21:00
85eb17f
Compare
Choose a tag to compare

Fixed

  • Fixed a typo in a conditionally compiled code that could cause build failure on Swift 4.2
  • cancelLoadIfUnobserved(afterDelay:) now properly pays attention to its argument. Thanks, @acecilia! (#279)

Enhacements

  • Internal cleanup and testing improvements
  • Added SwiftLint to test build

Breaking Changes

  • Siesta now requires Swift 4.2

Swift 4.2 support

23 Sep 23:38
847c995
Compare
Choose a tag to compare

Fixes

  • Siesta now compiles with Swift 4.2 / Xcode 10. It still compiles with Swift 4.1 as well. Thanks to all who flagged this. (#274, #277)

Important note: An issue in CocoaPods may prevent Siesta (and other pods) from building correctly in XCode 10 for some configurations. If your pod build fails with EXPANDED_CODE_SIGN_IDENTITY: unbound variable, install the CocoaPods 1.6 beta using gem install cocoapods --pre. More info here.

Memory leak plugged

29 Aug 21:50
ecf8cbd
Compare
Choose a tag to compare

Fixes

  • Fixed a memory leak, and added a leak check to specs. Thanks to @edwardmp for uncovering this! (#268, #270)
  • Updated Swift Package Manager support for 4.1. Thanks, @Hugal31! (#269)

Custom requests de-headached

26 Jun 05:09
360861a
Compare
Choose a tag to compare

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.

Xcode 9.1 deprecation fixes

19 Nov 23:21
8574078
Compare
Choose a tag to compare

Fixes deprecations on Xcode 9.1 (#232). Thanks to @aoge123 for helping with this one!

Swift 3.2 update

19 Nov 21:24
5a5a12a
Compare
Choose a tag to compare

Fixes Swift 3.2 error & deprecations for users still using Swift 3. Thanks to @reversepanda for helping with this one!

Swift 4 support

18 Sep 04:50
Compare
Choose a tag to compare

Enhancements

  • Swift 4 support is here! If you want to stick with Swift 3 for now, use version 1.2.x or the swift-3 branch.
  • Swift 4’s Codable is the new, better way to handle JSON — and Siesta supports it nicely. See it in action in the example project.
  • To better support Codable, Siesta now provides a convenient way to disable its default JSON → Dictionary parsing while still preserving the built-in text and image parsing. (It was an all-or-nothing proposition before.) See #214 for details.
  • For those not jumping to Codable just yet, the SwiftyJSON support that used to be in the example project now lives in Extensions/.
  • The example app now includes live in-app commentary on what Siesta is doing and why it’s interesting, making pod try a much more edifying experience.

Breaking Changes

None.