---
title: "github.com/onevcat/kingfisher 8.0.0 Breaking Changes"
description: "What each github.com/onevcat/kingfisher release removed, renamed or changed: 49 breaking changes in 6 versions on Swift Package Index, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/onevcat/kingfisher
last_updated: 2026-12-04
---

# github.com/onevcat/kingfisher breaking changes

github.com/onevcat/kingfisher 8.0.0 is its newest release with breaking changes. The first: File URL hashing switched from MD5 to SHA256 in github.com/onevcat/Kingfisher 8.0.0. Every breaking API change we have recorded in github.com/onevcat/kingfisher on Swift Package Index: 49 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `8.17.0`, released November 28, 2026. [Source repository](https://github.com/onevcat/Kingfisher)

- From [7.0.0](#v-7-0-0) to [8.0.0](#v-8-0-0): 1 breaking change in 1 version.
- From [3.0.0](#v-3-0-0) to [8.0.0](#v-8-0-0): 20 breaking changes in 5 versions.

## github.com/onevcat/kingfisher 8.0.0 breaking changes

github.com/onevcat/kingfisher 8.0.0: 1 breaking change.

- **Behavior changed**  

The hash used for file URLs is now SHA256 instead of MD5, so cache keys for file URLs change after upgrading. [github.com](https://github.com/onevcat/Kingfisher/releases/tag/8.0.0)

## github.com/onevcat/kingfisher 7.0.0 breaking changes

github.com/onevcat/kingfisher 7.0.0: 6 breaking changes.

- **Removed**  

Support for iOS 10/11, macOS 10.13/10.14, tvOS 10/11 and watchOS 3/4 is removed, so projects targeting these platforms must raise their deployment target. [github.com](https://github.com/onevcat/Kingfisher/releases/tag/7.0.0)
- **Renamed** `AuthenticationChallengeResponsable`  

The type is now named AuthenticationChallengeResponsible, so code using the old name must be updated. [github.com](https://github.com/onevcat/Kingfisher/releases/tag/7.0.0)
- **Behavior changed** `KFImage`  

SwiftUI support now uses @StateObject instead of @ObservedObject, and it requires iOS 14 or later. [github.com](https://github.com/onevcat/Kingfisher/releases/tag/7.0.0)
- **Behavior changed** `KFImage.loadImmediately`  

The method is kept for compatibility but does nothing in 7.0.0, so code relying on it will no longer change loading behavior. [github.com](https://github.com/onevcat/Kingfisher/releases/tag/7.0.0)
- **Behavior changed** `LocalFileImageDataProvider`  

Data is now loaded in a background queue by default instead of on the calling thread. [github.com](https://github.com/onevcat/Kingfisher/releases/tag/7.0.0)
- **Signature changed** `KFImage.placeholder`  

The placeholder closure gets an extra progress parameter, so existing closures must accept it. [github.com](https://github.com/onevcat/Kingfisher/releases/tag/7.0.0)

## github.com/onevcat/kingfisher 6.0.0 breaking changes

github.com/onevcat/kingfisher 6.0.0: 4 breaking changes.

- **Removed**  

SwiftUI support now lives in the main Kingfisher library. Remove the Kingfisher/SwiftUI subpod or KingfisherSwiftUI target, then reinstall Kingfisher. [github.com](https://github.com/onevcat/Kingfisher/releases/tag/6.0.0)
- **Removed** `Kingfisher.Button`  

The deprecated Kingfisher.Button type is gone. Use the equivalent KFCrossPlatform type instead. [github.com](https://github.com/onevcat/Kingfisher/releases/tag/6.0.0)
- **Removed** `Kingfisher.Image`  

The deprecated Kingfisher.Image type is gone. Use the equivalent KFCrossPlatform type, such as KFCrossPlatformImage, instead. [github.com](https://github.com/onevcat/Kingfisher/releases/tag/6.0.0)
- **Removed** `Kingfisher.ImageView`  

The deprecated Kingfisher.ImageView type is gone. Use the equivalent KFCrossPlatform type instead. [github.com](https://github.com/onevcat/Kingfisher/releases/tag/6.0.0)

## github.com/onevcat/kingfisher 5.0.0 breaking changes

github.com/onevcat/kingfisher 5.0.0: 6 breaking changes.

- **Removed** `KingfisherError.invalidStatusCode`  

KingfisherError is now an Error type with nested reason enums instead of an Int raw-value enum. Code using rawValue or old error cases must check errors with helpers such as isInvalidResponseStatusCode. [github.com](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-5.0-Migration-Guide)
- **Behavior changed** `kf`  

The kf namespace returns a struct instead of a class. Code that sets kf properties on a let constant must declare the variable with var. [github.com](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-5.0-Migration-Guide)
- **Default changed** `ImageCache`  

The memory cache is now limited by default to at most 25% of device memory. Apps relying on unlimited memory cache size should set a limit explicitly. [github.com](https://github.com/onevcat/Kingfisher/releases/tag/5.0.0)
- **Signature changed** `CacheSerializer.image`  

Custom cache serializers must change the options parameter type from KingfisherOptionsInfo to KingfisherParsedOptionsInfo. [github.com](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-5.0-Migration-Guide)
- **Signature changed** `ImageProcessor.process`  

Custom image processors must change the options parameter type from KingfisherOptionsInfo to KingfisherParsedOptionsInfo. [github.com](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-5.0-Migration-Guide)
- **Signature changed** `KingfisherManager.retrieveImage`  

Retrieval methods now return DownloadTask? instead of RetrieveImageTask. The value is nil when no network download happens, so stored tasks must be unwrapped before cancelling. [github.com](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-5.0-Migration-Guide)

## github.com/onevcat/kingfisher 4.0.0 breaking changes

github.com/onevcat/kingfisher 4.0.0: 3 breaking changes.

- **Removed**  

The deprecated methods from earlier versions are gone. Resolve all Kingfisher deprecation warnings before upgrading to version 4. [github.com](https://github.com/onevcat/Kingfisher/releases/tag/4.0.0)
- **Renamed** `CacheCheckResult`  

Use CacheType.cached instead of CacheCheckResult when checking the cache type of an image. [github.com](https://github.com/onevcat/Kingfisher/releases/tag/4.0.0)
- **Renamed** `isImageCached`  

Use imageChachedType instead of isImageCached to check whether an image is cached and its cache type. [github.com](https://github.com/onevcat/Kingfisher/releases/tag/4.0.0)

## github.com/onevcat/kingfisher 3.0.0 breaking changes

github.com/onevcat/kingfisher 3.0.0: 29 breaking changes.

- **Removed** `ImageCache.cachedImageExistsforURL`  

Use isImageCached(forKey:processorIdentifier:) instead. [github.com](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-3.0-Migration-Guide)
- **Removed** `ImageDownloader.requestModifier`  

Pass a request modifier through the requestModifier option in KingfisherOptionsInfo instead. [github.com](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-3.0-Migration-Guide)
- **Removed** `kf_setImageWithURL`  

URL-based kf\_ setters are replaced; pass a URL to kf.setImage(with:) since URL conforms to Resource. [github.com](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-3.0-Migration-Guide)
- **Renamed** `ImageCache.cachePathForKey`  

Use cachePath(forKey:processorIdentifier:). [github.com](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-3.0-Migration-Guide)
- **Renamed** `ImageCache.calculateDiskCacheSizeWithCompletionHandler`  

Use calculateDiskCacheSize(completion handler:). [github.com](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-3.0-Migration-Guide)
- **Renamed** `ImageCache.clearDiskCacheWithCompletionHandler`  

Use clearDiskCache(completion handler:). [github.com](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-3.0-Migration-Guide)
- **Renamed** `ImageCache.defaultCache`  

Use ImageCache.default instead of defaultCache. [github.com](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-3.0-Migration-Guide)
- **Renamed** `ImageCache.hashForKey`  

Use hash(forKey:processorIdentifier:). [github.com](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-3.0-Migration-Guide)
- **Renamed** `ImageCache.isImageCachedForKey`  

Use isImageCached(forKey:processorIdentifier:). [github.com](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-3.0-Migration-Guide)
- **Renamed** `ImageCache.removeImageForKey`  

Use removeImage(forKey:) with the new label. [github.com](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-3.0-Migration-Guide)

And 19 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [Kingfisher](https://since.dev/packages/cocoapods/Kingfisher.md):  on CocoaPods

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
