Skip to content

Releases: frankois944/KtorKMPFileCaching

0.7.0

10 Feb 08:38
0.7.0
e710abf
Compare
Choose a tag to compare

New for Kotlin JS Browser

  • Replace the browser localstorage by indexeddb, it's increasing the storage size of the cache.

Kotlin WASM

The storage of the cache remains inside the LocalStorage of the browser until a nice solution.

0.6.1

02 Feb 11:52
4a50f6a
Compare
Choose a tag to compare
  • Add missing intermediate cache
  • Fix concurrency on cache access

0.6.0

02 Feb 09:58
Compare
Choose a tag to compare

Total Rework

I have ported the official FileStorage of Ktor, a copy/paste with adaptation.

The method purge has been removed, the user must do it himself.

For Browser application

The Localstorage is used for storing cached data, a prefix is added fr.frankois944.ktorfilecaching_key on the stored keys.

For non Browser application

The okio filesystem is used for storing cached data

0.5.0

31 Jan 11:39
Compare
Choose a tag to compare

Increase performance

  • using androidx.collection for better memory footprint
  • better management of the cache
  • refacto for cleaner code

0.4.3

15 Jan 15:09
Compare
Choose a tag to compare
  • upgrade okio to 3.10.2
  • downgrade ktor to 3.0.0
  • Add a CI

0.4.2

23 Dec 10:40
Compare
Choose a tag to compare

Update dependencies :

  • Gradle -> 8.7.3
  • Ktor -> 3.0.3
  • kotlinCoroutines -> 1.10.1
  • kotlinSerialization -> 1.7.3

Fixing version of kotlin serialization plugin
Make okio as api declaration
Doing some cleanup and removing warning

0.4.1

15 Dec 14:45
Compare
Choose a tag to compare

Remove useless JS config
Update README for JS targets

expanding support

15 Dec 12:40
Compare
Choose a tag to compare
  • Add wasmJS target
  • Add kotlinJS browser target
  • Add new tests