Skip to content

Releases: BarqDB/barq-kotlin

v4.0.7 — Multi-OS JVM (macOS · Linux · Windows)

Choose a tag to compare

@mjm918 mjm918 released this 09 Jul 06:42

Multi-OS JVM support

The published JVM artifact now runs on macOS, Linux, and Windows. In 4.0.6 the JVM jar bundled only the macOS engine, so JVM apps on Linux or Windows could not load the native library. That gap is closed.

cinterop-jvm-4.0.7.jar now ships the native engine for all three desktop/server platforms, and the loader selects the right one at runtime from os.name:

Platform Engine
macOS jni/macos/libbarqc.dylib (universal x86_64 + arm64)
Linux jni/linux/libbarqc.so (x86_64)
Windows jni/windows/barqc.dll (x64)

Android, iOS, and macOS/native targets are published as before.

Usage

dependencies {
    implementation("io.github.barqdb.kotlin:library-base:4.0.7")
    // sync:
    // implementation("io.github.barqdb.kotlin:library-sync:4.0.7")
}

Under the hood

  • The Linux (.so) and Windows (.dll) engines are built on their own CI runners, then assembled into the JVM fat jar on macOS.
  • Each engine is smoke-tested — it opens a real database — on its own OS before the release is allowed to publish.
  • The release fails before upload if the jar is missing any of the three engines.
  • Native dependencies (OpenSSL 3.3.1, zlib 1.2.13) are fetched from the static.barqdb.space CDN.

All artifacts are signed (PGP) and available on Maven Central.

v4.0.6

Choose a tag to compare

@mjm918 mjm918 released this 08 Jul 09:15

First full-platform release of Barq Kotlin to Maven Central: JVM + Android + iOS + macOS + plugins.