Skip to content

Releases: crelies/RemoteImage

Say hello to more customization options

24 Nov 21:50
7de2045
Compare
Choose a tag to compare

It's another major update but it shouldn't lead to a breaking change.

New

  • Support for a custom RemoteImageURLDataPublisher (by default: URLSession.shared)
    --> Now you can use your custom URLSession, for example with low data mode support
  • Use the new SwiftUI StateObject property wrapper with your service instance, just pass it to the new initializer with the service parameter (create an instance of the built-in service through the DefaultRemoteImageServiceFactory)
  • Support for a custom RemoteImageService
    --> Customize the service completely to your needs
    --> Prefetch images if you want

Improvements

  • Optimizations under the hood
  • Added some basic API documentation

Other

  • RemoteImageType phAsset is now deprecated (will be removed in the future) because the localIdentifier is device specific and therefore cannot be used to uniquely identify a PHAsset across devices.

Swift 5.3 & macOS

01 Nov 23:22
Compare
Choose a tag to compare

Improvements

  • Added macOS support
  • Make use of the function builder improvements in Swift 5.3

Bugfixes

  • Removed possible retain cycle

Optimization

21 Jun 12:32
2dca777
Compare
Choose a tag to compare

Improvements

  • Removed duplicate call to fetchImage

Critical bugfix

05 Apr 21:27
Compare
Choose a tag to compare

Bugfixes

  • Fixed a critical bug where the state was resetted to loading all the time

Improvements to underlying implementation

23 Feb 13:10
51ed9bf
Compare
Choose a tag to compare

Refactoring

  • Replaced AnyViews and switch statement with Group view + if statements + map

Tests

  • More unit tests