v1.0.0-beta.3
Pre-release
Pre-release
Beta 3 notes:
- Fixes: #97 by autoloading
KamelConfig.Default
usingServiceLoader
(jvm) and@EagerInitialization
(non-jvm) - Fixes: #85 Add wasmJS target
- Fixes wasmJs
ImageVectorDecoder
(XML)
v0.x -> v1.x notes:
Breaking changes
- Change
media.kamel:kamel-image
->media.kamel:kamel-image-default
for the same behavior as pre 1.0.0 releases. - Depreciated methods removed
New
- #96 With
media.kamel:kamel-image
is now bare bones and lets you pick and choose all mappers, fetchers, and decoders to import into your project that are not included inkamel-core
. - #96
media.kamel:kamel-image-default
Includes all includes all packages besideskamel-decoder-svg-batik
- Adds a
FileUrlFetcher
to support loading non-resource local files String
mapper will now handlefile:///
uris:asyncPainterResource("file:///$absolutePath")
Try it out here:
implementation("media.kamel:kamel-image-default:1.0.0-beta.2")
// no need to specify your own ktor engines, one is included for each target
or to pick and choose features:
implementation("media.kamel:kamel-image:1.0.0-beta.2")
implementation("media.kamel:kamel-decoder-image-bitmap:1.0.0-beta.2")
implementation("media.kamel:kamel-decoder-image-vector:1.0.0-beta.2")
implementation("media.kamel:kamel-decoder-svg-batik:1.0.0-beta.2")
implementation("media.kamel:kamel-decoder-svg-std:1.0.0-beta.2")
implementation("media.kamel:kamel-fetcher-resources-jvm:1.0.0-beta.2")
implementation("media.kamel:kamel-fetcher-resources-android:1.0.0-beta.2")
implementation("media.kamel:kamel-mapper-resources-id-android:1.0.0-beta.2")
// you also must ensure you define your own ktor engine for each target when using `kamel-image`