Skip to content

Releases: Alamofire/AlamofireImage

Swift 3.2 and Xcode 9

06 Sep 18:10
Compare
Choose a tag to compare

Released on 2017-09-06. All issues associated with this milestone can be found using this filter.

Added

  • Gitter badge to the README to direct users to the group.
  • Optional queue parameter to responseImage function.
  • Asserts to scaling functions as well as production fallbacks.
  • GitHub templates for issues and pull requests.

Updated

  • Alamofire submodule and dependency to ~> 4.5.
  • The project and codebase to support Swift 3 / 4 simultaneously.
  • The README to use the current version throughout the installation section.
  • Image response serializers code sample in the README to import Alamofire.

Fixed

  • The Swift Package Manager (SPM) integration by excluding Tests folder.
  • Issue in the embedded framework section of the README where bash specifier was incorrect.
  • Various typos throughout the project using misspell.

iOS 8.0 and macOS 10.10 and New ACLs

21 Nov 04:02
Compare
Choose a tag to compare

All issues associated with this milestone can be found using this filter.

Added

  • A new imageResponseSerializer property to the ImageDownloader.
  • New embedded framework installation instructions to the README.
  • A new iOS 8.1 target to the Travis CI device matrix.

Updated

  • The AutoPurgingImageCache APIs to an open ACL where applicable.
  • The ImageDownloader and RequestReceipt APIs to an open ACL where applicable.
  • The Xcode project to Xcode 8.1 and made all suggested project updates.
  • UIButton and UIImageView completion closures to be called after image is set.
  • The deployment targets to iOS 8.0 and macOS 10.10 to match core Alamofire project.
  • The Cartfile and pulled in Alamofire 4.2.0 submodule.

Removed

  • CoreImage filters on iOS 8.x due to runtime mapping issue with CIContext.

MJPEG Streams and UIButton Image Filters

02 Oct 03:57
Compare
Choose a tag to compare

All issues associated with this milestone can be found using this filter.

Added

  • New .swift-version file to repo and reactivated pod lib lint in Travis file.
  • The OS_ACTIVITY_MODE environment variable to disable excessive logging.
  • The new CoreImageFilter protocol and updated BlurFilter to conform to it.
  • The ability to the AutoPurgingImageCache to remove all images matching a URL request.
  • ImageFilter support to the UIButton extension.
  • MJPEG support to DataRequest extension for streaming images.
  • Stream image test for DataRequest extension and updated docstrings.

Updated

  • The Alamofire submodule to the 4.0.1 release.
  • All cases of OSX to macOS throughout the project.
  • Project settings by removing duplicate settings for individual targets.
  • Project and podspec so all files are compiled on all platforms.

Fixed

  • A typo in placeholderImage parameter in several UIButton APIs.
  • A CIGuassianBlur typo in one of the README code samples.

Upgrade Notes

This release contains a non-backwards compatible change that fixes a typo in the UIButton extension where placeholderImage was misspelled in two APIs. Rather than push a MAJOR version release for a typo that people are generally getting incorrect, we decided to break semver here and fix the typo for everyone. Please note that we always try to follow semver as strictly as possible. However, this seemed like the best option given that users would continue to struggle with the typo throughout the lifespan of the 3.x releases.

🌇🔥 AlamofireImage 3 🔥🌇

11 Sep 10:34
Compare
Choose a tag to compare

All issues associated with this milestone can be found using this filter.

Added

  • An AFI 3.0 Migration Guide and updated the README to match new APIs.

Updated

  • All source, test and example logic as well as project settings to compile against
    the Xcode 8 beta releases.
  • Deployment targets to iOS 9.0, macOS 10.11, tvOS 9.0 and watchOS 2.0.
  • All instances of com.alamofire with org.alamofire throughout project.
  • Copyright headers to match Alamofire formatting.
  • Updated the travis yaml file for Xcode 8.
  • All source, test and example APIs to match Swift 3 design guidelines.
  • All docstrings to use new Swift 3 syntax.
  • All AssociatedKey names to be lowercased to match Swift 3 guidelines.
  • The podspec for the 3.0.0 release and bumped deployment targets.
  • Code signing to now automatic with an empty team.
  • Number of large image test iterations to 200 to attempt to stabilize travis.

Removed

  • DispatchWorkItemFlags implementation with async flags.
  • ReleaseTest configuration by enabling testability in travis yaml file.
  • An NSURL extension from the test suite that wasn’t used.

Fixed

  • Issue where removeImage API on the image cache would not remove the image.
  • Compilation errors due to AFError refactors in Alamofire.

Swift 2.3 Support and Bug Fixes

08 Sep 07:36
Compare
Choose a tag to compare

All issues associated with this milestone can be found using this filter.

Added

  • Cleanup Whitespace aggregate target and scheme and removed all excess whitespace.

Updated

  • The source, test and example code along with project settings to support Swift 2.2
    and Swift 2.3 simultaneously.
  • Updated the travis yaml file for Swift 2.3 and the new OS target versions.
  • Updated the Cartfile and Alamofire submodule to the 3.5.0 release.
  • Updated Xcode project settings based on Xcode 8 GM recommendations.
  • Code coverage generation is now disabled on framework targets to improve stability.

Fixed

  • Issue where image download cancellation error was thrown in incorrect domain.
  • Image download cancellation and restart race condition.

Bug Fixes and Documentation Updates

19 Jul 06:18
Compare
Choose a tag to compare

All issues associated with this milestone can be found using this filter.

Updated

  • The dependency requirement in the README to Alamofire 3.3+.
  • The Alamofire submodule to the 3.4.1 release.
  • The Travis CI yaml file to use the xcode7.3 build.

Fixed

  • Issue where queue names were not using hex formatters properly.
  • Deprecation warning from errorWithCode usage by switching to explicit NSError
    creation logic.

Swift 2.2 and Progress Closures

24 Mar 00:46
Compare
Choose a tag to compare

All issues associated with this milestone can be found using this filter.

Added

  • The image/x-ms-bmp as an acceptable Content-Type.
  • The ability to track download progress in the ImageDownloader as well as
    the UIButton and UIImageView extensions.
  • The UIButton extension and tests to the tvOS targets.

Updated

  • The Alamofire submodule to the 3.3.0 release along with the Cartfile
    and Podspec dependencies.
  • All source code, tests and example logic to use Swift 2.2 conventions.
  • The required version of Xcode to 7.3 in the README.
  • The AutoPurgingImageCache to purge cache during memory warnings on tvOS.
  • Several Request and ImageDownloader tests on tvOS that were previously disabled.

Bug Fixes and Condensing APIs

08 Feb 01:59
Compare
Choose a tag to compare

All issues associated with this milestone can be found using this filter.

Added

  • Default value to completion parameter in downloadImage API in `ImageDownloader.

Updated

  • The Alamofire submodule to the 3.2.0 release.

Removed

  • Superfluous APIs on ImageDownloader, UIButton and UIImageView extensions and replaced
    with default parameter values.

Fixed

  • Issue in UIImage extension where CoreImage filters were using the incorrect output frame.
  • All blur filter tests across all devices and OS's.
  • Issue where image response serializer was not thread-safe by switching over to
    thread-safe UIImage initializer.
  • Build warnings in Xcode 7.3 beta 2 for Swift 2.2.

UIButton Extension and SPM Support

18 Jan 01:09
Compare
Choose a tag to compare

All issues associated with this milestone can be found using this filter.

Added

  • Alpha properties to UIImage extension along with unit tests.
  • Condition to UIImageView test to verify active request receipt is reset.
  • UIButton extension supporting remote image downloads.
  • Tests verifying Accept header is set properly for button image downloads.
  • UIButton extension tests around cancelling and restarting image downloads.
  • iOS 9.2 devices to the travis yaml device matrix.
  • Carthage/Build ignore flag to the .gitignore file to match Alamofire.
  • Package.swift file to support Swift Package Manager (SPM).

Updated

  • UIImage scaling now uses af_isOpaque property where applicable.
  • Refactored UIButton extension and tests to more closely follow coding standards.
  • Simplified UIImageView tests replacing KVO by overriding the image property.
  • Excluded the UIButton extension from osx and watchOS targets in podspec.
  • Copyright headers to include 2016! 🎉🎉🎉
  • The default parameters in AutoPurgingImageCache initializer with correct MB values.
  • Several UIImageView APIs to public ACL to allow for better reuse.
  • Alamofire submodule to 3.1.5 release.

Enqueuing Multiple Image Downloads, Cached Image Transitions and Bug Fixes

17 Dec 06:17
Compare
Choose a tag to compare

All issues associated with this milestone can be found using this filter.

Added

  • Ability for ImageDownloader to enqueue multiple image downloads at once.
  • Tests to verify image view can cancel and restart the same request.
  • Precondition to ImageCache ensuring memory capacity is GTE preferred usage after purge.
  • Ability for image transitions to run when image is cached if specified.
  • Test to verify Accept header is set correctly on UIImageView extension.
  • Added ReleaseTest configuration to allow running tests against optimized build.

Updated

  • Project to disable testability on release and to only build tests on when testing.
  • The Travis-CI configuration to Xcode 7.2, iOS 9.2, tvOS 9.1 and watchOS 2.1.

Fixed

  • Issue where image was not downloaded when cancelled and restarted.
  • Issue where af_setImageWithURL was not using acceptable content types.