Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update new APIs to not use ImageRequestConvertible #567

Merged
merged 19 commits into from
Jun 26, 2022
Merged

Conversation

kean
Copy link
Owner

@kean kean commented Jun 24, 2022

ImageRequestConvertible was originally introduced in Nuke 9.2 to reduce number of versions of the loadImage(:) method in code completion, but it's no longer an issue with the new async/await APIs.

ImageRequestConvertible is soft-deprecated in Nuke 11. The other soft-deprecated APIs, such as a closure-based ImagePipeline/loadImage(:) will continue working with it. The new APIs, such as async/await ImagePipeline/image(for:) will work with URL and ImageRequest which is better for discoverability and performance.

If you are using ImageRequestConvertible in your code, consider removing it now. But it won't be officially deprecated until the next major release.

@kean kean changed the base branch from master to nuke-11 June 24, 2022 22:26
@kean kean force-pushed the remove-convertible branch from f334eb9 to fff8c1b Compare June 25, 2022 00:33
@kean kean merged commit e88dddc into nuke-11 Jun 26, 2022
@kean kean deleted the remove-convertible branch June 26, 2022 01:29
@kean kean mentioned this pull request Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant