Skip to content

Latest commit

 

History

History
213 lines (141 loc) · 6.61 KB

CHANGELOG.md

File metadata and controls

213 lines (141 loc) · 6.61 KB

v1.8.0 - 2024/06/09 JST

Improvement

  • Support watchosDeviceArm64, update SQLite 2.0.1 #170
  • Support linuxArm64 target #233

Maintenance

  • CI: Run Arm64 Test on macOS #234

v1.7.0 - 2024/06/03 JST

Maintenance

  • Kotlin 2.0.0
    • Update Kotlin 2.0.0, Gradle 8.8, Kotest 5.9.0, jvmToolchain(17) #230
  • better-sqlite3 9.2.2
    • Update better-sqlite 9.2.2, fix python3 3.12 ModuleNotFoundError #204
  • AGP 8.3.1
  • indexeddb 0.7.1
    • fix(deps): update dependency com.juul.indexeddb:core to v0.7.1 #218

v1.6.0 - 2023/09/06 JST

This is a release for updating libraries:

  • Kotlin 1.9.10
  • SQLDelight 2.0.0
  • Gradle 8.3
  • AGP 8.3

Changes

  • Android minSdk = 21 (from minSdk = 16)
  • Migrate SQLDelight 2.0.0 179
  • Android Platform: SQLite lock file to ${name}.db.lck 182

Fix

  • fix Linux Event Test, fix KottageEventFlow #148

Maintenance

  • Add CI Test:
    • Android, iOS Test, Windows Test #127
    • Add JS Test on Windows, Linux #152
  • Refactor Gradle Scripts
    • publish-plugin 1.2.0, use providers.environmentVariable #140
    • refactor Gradle, Kotlin 1.8.10, SQLDelight 1.5.5 #141
  • Update Kotlin, use New hierarchy SourceSets
    • Update Kotlin 1.8.20 + Use New Default hierarchy #169
    • Kotlin 1.9.0 + Compose Compiler 1.5.0 #166
    • Kotlin v1.9.10, Compose Compiler 1.5.3 #184
  • Update Gradle 8.3
    • Update Gradle 8 #158
    • chore(deps): update dependency gradle to v8.3 #171
  • Update AGP 8.3
    • chore(deps): update gradle.android to v8.1.1 #156

v1.5.1 - 2023/04/03 JST

Fix

  • fix: KottageContext constructor modifier #138

v1.5.0 - 2023/02/12 JST

Changes

  • Kottage constructor requires CoroutineScope now.
val kottage: Kottage = Kottage(
  name = "kottage-name",
  directoryPath = databaseDirectory,
  environment = kottageEnvironment,
  scope = scope // This kottage instance's living CoroutineScope
)
  • change: Database schema to v4
    • add index item_event_item_list_type_item_type_created_at #120

Improve

  • Support Kottage.close() #114
  • add KottageListPage.isNotEmpty() #112
  • Add list event on item update #117
  • Add KottageList.eventFlow(), exclude List Event from KottageStorage.eventFlow() #120
  • Add KottageStorage.dropStorage(), KottageList.dropList(), KottageList.removeAll() #122

Fix

  • KottageList.getPageFrom hangups with invalid positionId #110
  • fix PRAGMA query leak on Android #115
  • fix: getPageFrom previousPositionId, nextPositionId nullability #123

v1.4.2 - 2022/11/22 JST

Maintenance

  • update Kotlin/JS nodejs's better-sqlite3 8.0.0, SQLite3 3.40.0 #86

v1.4.1 - 2022/11/15 JST

Improve

  • add default KottageCalendar implementation #94

v1.4.0 - 2022/11/08 JST

Features

  • 🎉 Kotlin/JS nodejs support #79

Fix

  • implement Kottage.clear() on JS browser #83

v1.3.0 - 2022/10/31 JST

Features

  • 🎉 Kotlin/JS browser support #58

Changes

  • change: Database schema to v3
    • add item_expire_at index #59
    • fix item_list_type_item_type_expire_at to item_list_type_item_key_expire_at #62
    • remove unused index #63

Fix

  • fix model class's internal modifier #71
  • fix Event can not be received when that has same create_at time 72

v1.2.0 - 2022/10/22 JST

Changes

  • change: KottagePage.hasPrevious, hasNext are false if next page has no available items
    • now flags are false in case of nextPositionId != null but no available items.

v1.1.1 - 2022/10/16 JST

Fix

  • fix kotlinx.coroutines and kotlinx.serialization to api() dependency

v1.1.0 - 2022/10/14 JST

Features

  • implement: KottageStorage.property() property delegate. #36
  • add KottageEncoder #40
    • This supports user's custom encoder, such as encryption.
  • add ignoreJsonDeserializationError option #42

Improvements

  • fix: prevent auto compaction running twice #35
  • add KottageEntry properties #36
  • delete item_stats record when it's empty #41

v1.0.1 - 2022/10/12 JST

Fix

  • fix Database schema v2 migration
    • fix: invalid column order if database have been migrated from v1 schema.

v1.0.0 - 2022/10/12 JST

Features

  • A KottageList feature added.

Fix

  • fix: KottageStorage.eventFlow() contains other Storages events.

Changes

  • Database schema v2
    • Database will be migrated automatically on the connection open.
    • item_event.item_key format changed. {item_type}+{item_key} to {item_key}. This affect the events created by kottage before v1.0.0.

v0.9.1 - 2022/09/23 JST

Others

v0.9.0 - 2022/09/18 JST

  • initial release