Skip to content

Releases: Kamel-Media/Kamel

0.2.2

05 Aug 14:19
Compare
Choose a tag to compare

Changes

  • Deprecate lazyImageResource and replace with lazyPainterResource
  • Deprecate ResourceConfig dispatcher property and replace with coroutineContext 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

23 May 13:39
Compare
Choose a tag to compare

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

04 Mar 10:11
Compare
Choose a tag to compare

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 a ByteReadChannel instead of Result<ByteReadChannel>.

Decoder

  • Add ResourceConfig parameter to decode function.
  • Remove decodeResource function as it's no longer needed.
  • Make decode function returns a T instead of Result<T>.

LazyImageResource

  • Remove generic type T from lazyImageResource composable function and use Any instead.
  • Use data and resourceConfig parameters as keys in LaunchedEffect call.
  • Remove loadImage function as it's not longer needed.
  • Remove generic type T from loadImageResource function and use Any instead.
  • Rename config parameter in loadImageResource function to resourceConfig.
  • Remove experimental annotation on loadImageResource function.

ResourceConfig

  • Add Density variable to ResourceConfig and ResourceConfigBuilder (By default it uses LocalDensity 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 to Url

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

16 Feb 22:09
Compare
Choose a tag to compare
  • Temporarily fix for duplicate class error by excluding androidx configuration
  • Update Compose to 0.3.0-build154

0.1.0

11 Feb 10:01
Compare
Choose a tag to compare
  • Update Compose version to 0.3.0-build152
  • Update Kotlin version to 1.4.30

0.0.7

10 Feb 21:09
Compare
Choose a tag to compare
0.0.7 Pre-release
Pre-release
v0.0.7

Add Mappers tests

0.0.4

27 Jan 19:12
Compare
Choose a tag to compare
0.0.4 Pre-release
Pre-release
v0.0.4

Add docs for predefined fetchers, decoders and mappers

0.0.3

25 Jan 10:41
Compare
Choose a tag to compare
0.0.3 Pre-release
Pre-release
v0.0.3

Bump version to 0.0.3