Releases: luberda-molinet/FFImageLoading
Releases · luberda-molinet/FFImageLoading
FFImageLoading 2.2.4
Complete history of changes available here: v2.2.3...v2.2.4
- [iOS] Fixed images from asset catalogs (json) not loading
- [Android] Incorrect aspect ratio when using fade animation
FFImageLoading 2.2.3
Complete history of changes available here: v2.2.2...v2.2.3
FFImageLoading 2.2.2
Complete history of changes available here: v2.2.1...v2.2.2
- Fixed some issues
- [Configuration] Added ExecuteCallbacksOnUIThread property
FFImageLoading 2.2.0
Complete history of changes available here: v2.1.8...v2.2.0
Breaking changes
- FFImageLoading Core rewritten for better performance & easier maintenance
- Exceptions are not swallowed anymore
- All image loading logic moved to shared, unified code
- Fixed some loading issues
- Removed unnecessary UI thread calls
- Various performance optimizations
- [Performance]
OnFinish
,OnError
,OnSuccess
,OnDownloading
handlers are now not called on UI thread. It should be handled manually. This behavior can be changed with configuration propertyExecuteCallbacksOnUIThread
(disabled by default) - [Windows] Dropped Silverlight support
- [Windows] Transformations now use
byte[]
insteadint[]
for storing pixels (it was a silverlight caveat which had an impact on performance / memory usage). Custom-made transformations need to be refactored after that (just some minor changes). Helper methods are provided inBitmapHolder
class. - [iOS] Changed default image cache location path (to fix unwanted cache purge issue)
TransparencyEnabled
is now obsolete, useBitmapOptimizations
instead.- Some interfaces were changed / simplified
Enhancements:
- [Configuration] Added
DataResolverFactory
for writing own custom data resolvers. Eg. you can completely replace loading of local or downloaded files logic to a custom one - [Configuration] Added
SchedulerMaxParallelTasksFactory
for controlling how many tasks can be running at the same time. It is evaluated each time, so it can change dynamically (eg. basing on current connection type) - [Transformations]
TintTransformation
has a newEnableSolidColor
property. If enabled, solid color is used instead mixing with original pixel color values. Useful for replacing icon colors. - Generating pdb debug symbols with Gitlink
Fixes
- Fixed
ImageService.Instance.SetPauseWork
not working correctly - [Android] Fixed loading placeholder stretched / shrinked / glitched when loading image with a different aspect ratio
- Some other fixes
FFImageLoading 2.2.1
Complete history of changes available here: v2.2.0...v2.2.1.0
- Fixed some minor issues
FFImageLoading 2.1.8
Complete history of changes available here: v2.1.7...v2.1.8
Enhancements:
- Some performance optimizations
- Preload download only feature when only
CacheType.Disk
is set. Also added new helper methodsDownloadOnly
andDownloadOnlyAsync
- Added
DownloadStarted
callbacks - When no custom priority is set, local images have a higher priority by default
- Don't set image on native control when it's already set to the same instance again
- Make sure we don't load placeholders when preloading
- Global config: Added
SchedulerMaxParallelTasks
property - Global config: Added
DiskCacheDuration
config parameter - Xamarin.Forms: Automatically reload image when
Transformations
property changes - Android: use
DecodeStreamAsync
insteadDecodeStream
method - Android: Better images quality, dithering enabled when decoding
Fixes:
- Android: Use
Android.Content.ContextWrapper(Android.App.Application.Context)
insteadAndroid.App.Application.Context
- iOS & Windows: Fix some issues when transformations were not always applied
- Fixed
System.ArgumentNullException
exception on cancelled tasks - Fixed #311
- Fixed #291
System.NullReferenceException
- Xamarin.Forms: 2.3.3.152-pre2 support
- Xamarin.Forms: #319 - Use
OriginalString
insteadToString()
forUrlImageSource
handling - Xamarin.Forms:
ImageSourceBinding
null exceptions fix - Xamarin.Forms: Windows #266 - fix AspectFit not centered correctly
- Global config:
MaxCacheSize
can't be set less than 5% total allowed app memory (automatically changed) - Some minor fixes
FFImageLoading 2.1.7
Complete history of changes available here: v2.1.6...v2.1.7
Fixes:
- Xamarin Forms UWP app crashes when quickly adding/removing CachedImage views
- IImageService fixes
- iOS TintTransformation fix
- Fixed #275 LoadingPlaceholder issues
- Added constructors to avoid missing ctr method exceptions
Enhancements:
- Added
AsUIImageAsync
andAsBitmapDrawable
task extensions
FFImageLoading 2.1.6
Complete history of changes available here: v2.1.5...v2.1.6
Fixes:
- Null source values are now handled correctly by ImageService
- Fixed configuration HttpReadTimeout ignored / not working
- Xamarin.Forms: IsLoading remains true after image is finished loading
- Xamarin.Forms: 2.3.1-pre1 Missing Method Exception
- Xamarin.Forms: base.OnElementPropertyChanged not called
- Xamarin.Forms: CachedImage views sometimes don't appear on Windows
- Xamarin.Forms: AspectFill image cropping different on Windows (not centered)
- Android: Fixed some transformations not working when using transparent PNG files.
- iOS: Fixed minor ImageInformation issue
- Windows: Fixed UrlDataResolver bug
Enhancements:
- Added TintTransformation
- Added parameterless ImageService.Initialize method which also forces to run disk cache cleaning routines (avoiding delay for first image loading tasks)
- Real asynchronous File operations
- Default priority for preloaded tasks is Low
- Allows cancelling tasks based on a predicate
- Performance: Reuse MainThreadDispatcher instance for image loading tasks
- Performance: Increased default priority for ApplicationBundle and CompiledResource
- Xamarin.Forms: Extension method to allow easy creation of float array for color transformations
- Xamarin.Forms: Better Transformations XAML support (added transformations properties)
- Windows: Performance optimization - removed decode lock
- Transformations: Added [Preserve] attributes
FFImageLoading 2.1.5
Complete history of changes available here: v2.1.3...v2.1.5
- This release fixes some stability issues from 2.1.1, 2.1.2 and 2.1.3.
- It also disables by default the fading effect when loading an image from memory cache. This behaviour can be changed by passing
Configuration.FadeAnimationForCachedImages=true
intoImageService.Instance.Initialize
- Preloading is now available in PCLs. Example:
ImageService.Instance.LoadUrl(urlToImage).Preload();
FFImageLoading 2.1.3
Fixed scheduler errors.
Complete history of changes available here: v2.1.2...v2.1.3