Download Latest Version 5.12.0 source code.tar.gz (3.1 MB)
Email in envelope

Get an email when there's a new version of Alamofire

Home / 5.12.0
Name Modified Size InfoDownloads / Week
Parent folder
5.12.0 source code.tar.gz 2026-05-05 3.1 MB
5.12.0 source code.zip 2026-05-05 3.4 MB
README.md 2026-05-05 4.1 kB
Totals: 3 Items   6.5 MB 0

Released on 2026-05-04. All issues associated with this milestone can be found using this filter.

Added

  • FreeBSD compilation support.
  • Added by Al Hoang in Pull Request #4029.

Updated

  • Various CI configurations.
  • Updated by Jon Shier in Pull Request #4030.

Fixed

  • Rare race in Request.suspend() and Request.cancel() where the state update would be lost if it occurred before the task was created.
  • Fixed by Jon Shier in Pull Request #4030.
  • Request.cancel() incorrect called Request.finish() when the underlying task was already .completed.
  • Fixed by Jon Shier in Pull Request #4030.
  • Rare race in Request.resume() that could lead to multiple URLSessionTasks created.
  • Fixed by Jon Shier in Pull Request #4030.
  • Repeated calls to Request.suspend() and Request.resume() could lead to multiple pipeline executions.
  • Fixed by Jon Shier in Pull Request #4030.
  • Thread-safety issue in Session.deinit when accessing internal state.
  • Fixed by Jon Shier in Pull Request #4030.
  • Rare Request.finish() race in Session.deinit.
  • Fixed by Jon Shier in Pull Request #4030.
  • Session.deinit called Request.finish() on Requests that were already finished.
  • Fixed by Jon Shier in Pull Request #4030.
  • Request.onHTTPRequest didn't call the full Request.cancel() when the .cancel disposition was returned.
  • Fixed by Jon Shier in Pull Request #4030.
  • Multiple unlikely force unwrap or unowned self crashes.
  • Fixed by Jon Shier in Pull Request #4030.
  • Write to DataStreamRequest's outputStream after it was closed.
  • Fixed by Jon Shier in Pull Request #4030.
  • MIME type parsing, where a single element (text) or empty strings would be accepted.
  • Fixed by Jon Shier in Pull Request #4030.
  • Cancelled DownloadRequests could still trigger retry.
  • Fixed by Jon Shier in Pull Request #4030.
  • DataRequest.DataTask and DownloadRequest.DownloadTask could miss early cancellation events if they happened before the underlying Task was created.
  • Fixed by Jon Shier in Pull Request #4030.
  • 🔥 Multiple issues in AuthenticationInterceptor. These fixes slightly change the interceptor's behavior.
    1. adapt() enqueued adaptations, leading to requests restarted with a new credential to not execute the whole adapt pipeline again. AuthenticationInterceptor will now let those requests fail with the old credential and retry their whole pipeline with the new credential.
    2. Concurrent adaptations for the same stale credential could trigger multiple refreshes.
    3. retry() now lazily checks for new credentials rather than capturing eagerly.
  • Fixed by Jon Shier in Pull Request #4030.
Source: README.md, updated 2026-05-05