Releases: Kamel-Media/Kamel
Releases · Kamel-Media/Kamel
0.2.2
Changes
- Deprecate
lazyImageResource
and replace withlazyPainterResource
- Deprecate ResourceConfig
dispatcher
property and replace withcoroutineContext
property for more user control. - Support loading xml image vector files for desktop
- Support for custom key in
lazyPainterResource
- Make Resource sealed interface
- Update samples
Updates
- Update Compose version to 1.0.0-alpha2
- Update Kotlin version to 1.5.21
- Update Ktor version to 1.6.2
- Update Android appcompat version to 1.3.1
- Update Android core version to 1.6.0
- Update Material components to 1.4.0
- Update Android activity-compose to 1.3.1
0.2.1
Changelog
- Update Compose version to 0.4.0-build209
- Update Kotlin version to 1.5.0
- Update AGP version to 7.0.0-beta02
- Update Gradle version to 7.0.2
- Update Ktor version to 1.5.4
- Update Coroutines version to 1.5.0
- Update Android Core version to 1.5.0
- Update Android Appcompat version to 1.3.0
- Update Android Activtiy-Compose version to 1.3.0-alpha08
0.2.0
Changelog
Fetcher
- Add
T.isSupported
variable to better customize fetchers with the same data type. - Remove
fetchResource
function as it's no longer needed. - Make
fetch
function returns aByteReadChannel
instead ofResult<ByteReadChannel>
.
Decoder
- Add
ResourceConfig
parameter todecode
function. - Remove
decodeResource
function as it's no longer needed. - Make
decode
function returns aT
instead ofResult<T>
.
LazyImageResource
- Remove generic type
T
fromlazyImageResource
composable function and useAny
instead. - Use
data
andresourceConfig
parameters as keys inLaunchedEffect
call. - Remove
loadImage
function as it's not longer needed. - Remove generic type
T
fromloadImageResource
function and useAny
instead. - Rename
config
parameter inloadImageResource
function toresourceConfig
. - Remove experimental annotation on
loadImageResource
function.
ResourceConfig
- Add
Density
variable to ResourceConfig and ResourceConfigBuilder (By default it usesLocalDensity
for its value)
KamelConfig
- Mark
KamelConfig
builder funciton as inline. - Make
build
function visibility as public.
KamelConfigBuilder
- Add
resourcesFetcher
function to enable loading images from application resources. - Add
resourcesIdMapper
function to map Android resource ids toUrl
Desktop
- Support loading images from desktop application resources.
Android
- Support loading images from android application resources.
General
- Update Compose version to 0.3.2
- Update Kotlin version to 1.4.31
- Update AGP version to 7.0.0-alpha08
- Update Gradle version to 6.8.3
0.1.1
- Temporarily fix for duplicate class error by excluding androidx configuration
- Update Compose to 0.3.0-build154
0.1.0
- Update Compose version to 0.3.0-build152
- Update Kotlin version to 1.4.30
0.0.7
v0.0.7 Add Mappers tests
0.0.4
v0.0.4 Add docs for predefined fetchers, decoders and mappers
0.0.3
v0.0.3 Bump version to 0.0.3