Releases: Kamel-Media/Kamel
Releases · Kamel-Media/Kamel
v0.8.0
NEW
- Huge shoutout to @psuzn for #61 which adds a persistent disk cache implementation by leveraging ktor's
CacheStorage
feature
Disk Cache size (in MiB)
Kamel can now create a persistent disk cache for images by implementing ktor's CacheStorage
feature.
The default config KamelConfig.Default
installs this feature with a 10 MiB disk cache size.
The underlying disk cache is based on coil's multiplatform DiskLruCache implementation, (which itself is a port from libcore disklrucache).
KamelConfig {
httpFetcher {
// The size of the cache can be defined in bytes. Or `DefaultHttpCacheSize` (10 MiB) can be used.
httpCache(DefaultHttpCacheSize)
}
}
v0.7.3
v0.7.2
v0.7.1
v0.7.0
v0.6.1
v0.6.0
v0.5.1
0.5.0
- Update to Kotlin v1.8.20
- Update Compose to version 1.4.0
- #23 Add support for Kotlin Native Targets:
iosArm64
,iosX64
,iosSimulatorArm64
,macosX64
,macosArm64
- #23 Support for JS Kotlin Target
- Experimental
ImageVectorDecoder
support for non-jvm targets which decodes xmls using https://github.com/pdvrieze/xmlutil - Experimental
SvgDecoder
for non-jvm targets
Note: the dependency has changed:
dependencies {
implementation("media.kamel:kamel-image:0.5.0")
}
credits:
@luca992
0.4.1
- Update Compose to version 1.2.0-alpha01-dev753.
- Experimental support for loading and failure painter resources in
lazyPainterResource
- Support getting the data source used when loading a resource.
- Introduce experimental
KamelImageBox
composable that provides full content customization based onResource<Painter>
parameter.