A Kotlin native Postgres driver for SqlDelight.

Overview

Module postgres-native-sqldelight

A native Postgres driver for SqlDelight.

Install

This package is uploaded to MavenCentral and supports macOS, linuxX64. Windows is currently not supported.

repositories {
    mavenCentral()
}

dependencies {
    implementation("app.softwork:postgres-native-sqldelight-driver:LATEST")
}

sqldelight {
    database("NativePostgres") {
        dialect("app.softwork:postgres-native-sqldelight-dialect:LATEST")
    }
    linkSqlite = false
}

License

Apache 2

Comments
  • Using Ktor Serialization KotlinX Json causes kotlinx.serialization/MissingFieldException

    Using Ktor Serialization KotlinX Json causes kotlinx.serialization/MissingFieldException

    Hi, The combination of the your Postgres Driver and Kotlinx Json Serialization causes a compile error on my M1 Mac: kotlinx.serialization/MissingFieldException.<init>|399804788095754142

    As soon as I remove either Kotlinx Json Serialization or the Postgres Driver the problem is gone.

    build.gradle.kts

    val ktor_version = "2.1.3"
    val kotlin_version = "1.7.21"
    val psql_driver_version = "0.0.4"
    val kotlin_coroutine = "1.6.4"
    
    plugins {
        kotlin("multiplatform") version "1.7.21"
        kotlin("plugin.serialization") version "1.7.21"
    
        id("app.cash.sqldelight") version "2.0.0-alpha04"
    }
    
    group = "com.test"
    version = "1.0-SNAPSHOT"
    
    repositories {
        mavenCentral()
    }
    
    sqldelight {
        database("NativePostgres") {
            dialect("app.softwork:postgres-native-sqldelight-dialect:$psql_driver_version")
            packageName = "com.test.sqldelight"
        }
        linkSqlite = false
    }
    
    kotlin {
        val commonTarget = macosArm64("common")
    
        commonTarget.apply {
            binaries {
                executable {
                    entryPoint = "com.test.main"
                }
            }
        }
    
        sourceSets {
            val commonMain by getting {
                dependencies {
                    implementation("io.ktor:ktor-server-core:$ktor_version")
                    implementation("io.ktor:ktor-server-cio:$ktor_version")
    
                    implementation("app.softwork:postgres-native-sqldelight-driver:$psql_driver_version")
    
                    implementation("io.ktor:ktor-serialization-kotlinx-json:$ktor_version")
    
                }
            }
        }
    }
    

    compile error:

    Compilation failed: Expecting descriptor for kotlinx.serialization/MissingFieldException.<init>|399804788095754142[0]
    
     * Source files: 
     * Compiler version info: Konan: 1.7.21 / Kotlin: 1.7.21
     * Output kind: STATIC_CACHE
    
    e: java.lang.IllegalStateException: Expecting descriptor for kotlinx.serialization/MissingFieldException.<init>|399804788095754142[0]
    	at org.jetbrains.kotlin.backend.konan.serialization.KonanIrLinker$KonanCachedLibraryModuleDeserializer.tryDeserializeIrSymbol(KonanIrlinker.kt:644)
    	at org.jetbrains.kotlin.backend.common.serialization.BasicIrModuleDeserializer.deserializeIrSymbol(BasicIrModuleDeserializer.kt:111)
    	at org.jetbrains.kotlin.backend.common.serialization.FileDeserializationState$symbolDeserializer$3.invoke(IrFileDeserializer.kt:88)
    	at org.jetbrains.kotlin.backend.common.serialization.FileDeserializationState$symbolDeserializer$3.invoke(IrFileDeserializer.kt:77)
    	at org.jetbrains.kotlin.backend.common.serialization.IrSymbolDeserializer.deserializeIrSymbolData(IrSymbolDeserializer.kt:67)
    	at org.jetbrains.kotlin.backend.common.serialization.IrSymbolDeserializer.deserializeIrSymbol(IrSymbolDeserializer.kt:84)
    	at org.jetbrains.kotlin.backend.common.serialization.IrDeclarationDeserializer.deserializeIrSymbolAndRemap$ir_serialization_common(IrDeclarationDeserializer.kt:211)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeConstructorCall(IrBodyDeserializer.kt:244)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeOperation(IrBodyDeserializer.kt:805)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeExpression(IrBodyDeserializer.kt:818)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeThrow(IrBodyDeserializer.kt:540)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeOperation(IrBodyDeserializer.kt:797)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeExpression(IrBodyDeserializer.kt:818)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeStatement$ir_serialization_common(IrBodyDeserializer.kt:138)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeBlock(IrBodyDeserializer.kt:154)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeOperation(IrBodyDeserializer.kt:769)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeExpression(IrBodyDeserializer.kt:818)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeCatch(IrBodyDeserializer.kt:111)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeStatement$ir_serialization_common(IrBodyDeserializer.kt:134)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeTry(IrBodyDeserializer.kt:547)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeOperation(IrBodyDeserializer.kt:798)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeExpression(IrBodyDeserializer.kt:818)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeStatement$ir_serialization_common(IrBodyDeserializer.kt:138)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeBlockBody(IrBodyDeserializer.kt:95)
    	at org.jetbrains.kotlin.backend.common.serialization.IrBodyDeserializer.deserializeStatement$ir_serialization_common(IrBodyDeserializer.kt:130)
    	at org.jetbrains.kotlin.backend.common.serialization.IrDeclarationDeserializer.deserializeStatementBody(IrDeclarationDeserializer.kt:547)
    	at org.jetbrains.kotlin.backend.common.serialization.IrDeclarationDeserializer$withDeserializedIrFunctionBase$1$1$1$1.invoke(IrDeclarationDeserializer.kt:575)
    	at org.jetbrains.kotlin.backend.common.serialization.IrDeclarationDeserializer$withDeserializedIrFunctionBase$1$1$1$1.invoke(IrDeclarationDeserializer.kt:564)
    	at org.jetbrains.kotlin.backend.common.serialization.IrDeclarationDeserializer.withBodyGuard(IrDeclarationDeserializer.kt:509)
    	at org.jetbrains.kotlin.backend.common.serialization.IrDeclarationDeserializer.access$withBodyGuard(IrDeclarationDeserializer.kt:64)
    	at org.jetbrains.kotlin.backend.common.serialization.IrDeclarationDeserializer.deserializeIrFunction$ir_serialization_common(IrDeclarationDeserializer.kt:1099)
    	at org.jetbrains.kotlin.backend.common.serialization.IrDeclarationDeserializer.deserializeDeclaration(IrDeclarationDeserializer.kt:788)
    	at org.jetbrains.kotlin.backend.common.serialization.IrDeclarationDeserializer.deserializeDeclaration$default(IrDeclarationDeserializer.kt:782)
    	at org.jetbrains.kotlin.backend.common.serialization.IrDeclarationDeserializer.deserializeIrClass(IrDeclarationDeserializer.kt:375)
    	at org.jetbrains.kotlin.backend.common.serialization.IrDeclarationDeserializer.deserializeDeclaration(IrDeclarationDeserializer.kt:787)
    	at org.jetbrains.kotlin.backend.common.serialization.IrDeclarationDeserializer.deserializeDeclaration$default(IrDeclarationDeserializer.kt:782)
    	at org.jetbrains.kotlin.backend.common.serialization.IrFileDeserializer.deserializeDeclaration(IrFileDeserializer.kt:40)
    	at org.jetbrains.kotlin.backend.common.serialization.FileDeserializationState.deserializeAllFileReachableTopLevel(IrFileDeserializer.kt:135)
    	at org.jetbrains.kotlin.backend.common.serialization.BasicIrModuleDeserializer$ModuleDeserializationState.deserializeReachableDeclarations(BasicIrModuleDeserializer.kt:190)
    	at org.jetbrains.kotlin.backend.common.serialization.BasicIrModuleDeserializer.deserializeReachableDeclarations(BasicIrModuleDeserializer.kt:158)
    	at org.jetbrains.kotlin.backend.common.serialization.KotlinIrLinker.deserializeAllReachableTopLevels(KotlinIrLinker.kt:111)
    	at org.jetbrains.kotlin.backend.common.serialization.KotlinIrLinker.findDeserializedDeclarationForSymbol(KotlinIrLinker.kt:129)
    	at org.jetbrains.kotlin.backend.common.serialization.KotlinIrLinker.deserializeOrResolveDeclaration(KotlinIrLinker.kt:169)
    
    opened by jonas-tm 3
  • Bump idea from 222.4459.24 to 223.7571.203

    Bump idea from 222.4459.24 to 223.7571.203

    Bumps idea from 222.4459.24 to 223.7571.203. Updates core-impl from 222.4459.24 to 223.7571.203

    Updates util-ui from 222.4459.24 to 223.7571.203

    Updates project-model-impl from 222.4459.24 to 223.7571.203

    Updates analysis-impl from 222.4459.24 to 223.7571.203

    You can trigger a rebase of this PR by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 2
  • Bump idea from 211.7628.21 to 222.4345.24

    Bump idea from 211.7628.21 to 222.4345.24

    Bumps idea from 211.7628.21 to 222.4345.24. Updates core-ui from 211.7628.21 to 222.4345.24

    Updates lang-impl from 211.7628.21 to 222.4345.24

    You can trigger a rebase of this PR by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 2
  • Bump dialect-api from 2.0.0-alpha03 to 2.0.0-alpha04

    Bump dialect-api from 2.0.0-alpha03 to 2.0.0-alpha04

    Bumps dialect-api from 2.0.0-alpha03 to 2.0.0-alpha04.

    Release notes

    Sourced from dialect-api's releases.

    Version 2.0.0-alpha04 (2022-10-03)

    Breaking Changes

    • The Paging 3 extension API has changed to only allow int types for the count.
    • The coroutines extension now requires a dispatcher to be passed in instead of defaulting.

    Added

    • [HSQL Dialect] Hsql: Support using DEFAULT for generated columns in Insert (#3372 by [Philip Wedemann][hfhbd])
    • [PostgreSQL Dialect] PostgreSQL: Support using DEFAULT for generated columns in INSERT (#3373 by [Philip Wedemann][hfhbd])
    • [PostgreSQL Dialect] Add NOW() to PostgreSQL (#3403 by [Philip Wedemann][hfhbd])
    • [PostgreSQL Dialect] PostgreSQL Add NOT operator (#3504 by [Philip Wedemann][hfhbd])
    • [Paging] Allow passing in CoroutineContext to *QueryPagingSource (#3384)
    • [Gradle Plugin] Add better version catalog support for dialects (#3435)
    • [Native Driver] Add callback to hook into DatabaseConfiguration creation of NativeSqliteDriver (#3512 by [Sven Jacobs][svenjacobs])

    Changed

    • [Paging] Add a default dispatcher to the KeyedQueryPagingSource backed QueryPagingSource function (#3385)
    • [Paging] Make OffsetQueryPagingSource only work with Int (#3386)
    • [Async Runtime] Move await* to upper class ExecutableQuery (#3524 by [Philip Wedemann][hfhbd])
    • [Coroutines Extensions] Remove default params to flow extensions (#3489)

    Fixed

    • [Gradle Plugin] Update to Kotlin 1.7.20 (#3542 by [Zac Sweers][zacsweers])

    • [R2DBC Driver] Adopt R2DBC changes which do not always send a value (#3525 by [Philip Wedemann][hfhbd])

    • [HSQL Dialect] Fix failing sqlite VerifyMigrationTask with Hsql (#3380 by [Philip Wedemann][hfhbd])

    • [Gradle Plugin] Convert tasks to use lazy configuration API (by [Matthew Haughton][3flex])

    • [Gradle Plugin] Avoid NPEs in Kotlin 1.7.20 (#3398 by [Zac Sweers][ZacSweers])

    • [Gradle Plugin] Fix description of squash migrations task (#3449)

    • [IDE Plugin] Fix NoSuchFieldError in newer Kotlin plugins (#3422 by [Madis Pink][madisp])

    • [IDE Plugin] IDEA: UnusedQueryInspection - fix ArrayIndexOutOfBoundsException. (#3427 by [Niklas Baudy][vanniktech])

    • [IDE Plugin] Use reflection for old kotlin plugin references

    • [Compiler] Custom dialect with extension function don't create imports (#3338 by [Philip Wedemann][hfhbd])

    • [Compiler] Fix escaping CodeBlock.of("${CodeBlock.toString()}") (#3340 by [Philip Wedemann][hfhbd])

    • [Compiler] Await async execute statements in migrations (#3352)

    • [Compiler] Fix AS (#3370 by [Philip Wedemann][hfhbd])

    • [Compiler] getObject method supports automatic filling of the actual type. (#3401 by [Rob X][robx])

    • [Compiler] Fix codegen for async grouped returning statements (#3411)

    • [Compiler] Infer the Kotlin type of bind parameter, if possible, or fail with a better error message (#3413 by [Philip Wedemann][hfhbd])

    • [Compiler] Don't allow ABS("foo") (#3430 by [Philip Wedemann][hfhbd])

    • [Compiler] Support inferring kotlin type from other parameters (#3431 by [Philip Wedemann][hfhbd])

    • [Compiler] Always create the database implementation (#3540 by [Philip Wedemann][hfhbd])

    • [Compiler] Relax javaDoc and add it to custom mapper function too (#3554 [Philip Wedemann][hfhbd])

    • [Compiler] Fix DEFAULT in binding (by [Philip Wedemann][hfhbd])

    • [Paging] Fix Paging 3 (#3396)

    • [Paging] Allow construction of OffsetQueryPagingSource with Long (#3409)

    • [Paging] Don't statically swap Dispatchers.Main (#3428)

    ... (truncated)

    Changelog

    Sourced from dialect-api's changelog.

    [2.0.0-alpha04] - 2022-10-03

    Breaking Changes

    • The Paging 3 extension API has changed to only allow int types for the count.
    • The coroutines extension now requires a dispatcher to be passed in instead of defaulting.

    Added

    • [HSQL Dialect] Hsql: Support using DEFAULT for generated columns in Insert (#3372 by [Philip Wedemann][hfhbd])
    • [PostgreSQL Dialect] PostgreSQL: Support using DEFAULT for generated columns in INSERT (#3373 by [Philip Wedemann][hfhbd])
    • [PostgreSQL Dialect] Add NOW() to PostgreSQL (#3403 by [Philip Wedemann][hfhbd])
    • [PostgreSQL Dialect] PostgreSQL Add NOT operator (#3504 by [Philip Wedemann][hfhbd])
    • [Paging] Allow passing in CoroutineContext to *QueryPagingSource (#3384)
    • [Gradle Plugin] Add better version catalog support for dialects (#3435)
    • [Native Driver] Add callback to hook into DatabaseConfiguration creation of NativeSqliteDriver (#3512 by [Sven Jacobs][svenjacobs])

    Changed

    • [Paging] Add a default dispatcher to the KeyedQueryPagingSource backed QueryPagingSource function (#3385)
    • [Paging] Make OffsetQueryPagingSource only work with Int (#3386)
    • [Async Runtime] Move await* to upper class ExecutableQuery (#3524 by [Philip Wedemann][hfhbd])
    • [Coroutines Extensions] Remove default params to flow extensions (#3489)

    Fixed

    • [Gradle Plugin] Update to Kotlin 1.7.20 (#3542 by [Zac Sweers][zacsweers])
    • [R2DBC Driver] Adopt R2DBC changes which do not always send a value (#3525 by [Philip Wedemann][hfhbd])
    • [HSQL Dialect] Fix failing sqlite VerifyMigrationTask with Hsql (#3380 by [Philip Wedemann][hfhbd])
    • [Gradle Plugin] Convert tasks to use lazy configuration API (by [Matthew Haughton][3flex])
    • [Gradle Plugin] Avoid NPEs in Kotlin 1.7.20 (#3398 by [Zac Sweers][ZacSweers])
    • [Gradle Plugin] Fix description of squash migrations task (#3449)
    • [IDE Plugin] Fix NoSuchFieldError in newer Kotlin plugins (#3422 by [Madis Pink][madisp])
    • [IDE Plugin] IDEA: UnusedQueryInspection - fix ArrayIndexOutOfBoundsException. (#3427 by [Niklas Baudy][vanniktech])
    • [IDE Plugin] Use reflection for old kotlin plugin references
    • [Compiler] Custom dialect with extension function don't create imports (#3338 by [Philip Wedemann][hfhbd])
    • [Compiler] Fix escaping CodeBlock.of("${CodeBlock.toString()}") (#3340 by [Philip Wedemann][hfhbd])
    • [Compiler] Await async execute statements in migrations (#3352)
    • [Compiler] Fix AS (#3370 by [Philip Wedemann][hfhbd])
    • [Compiler] getObject method supports automatic filling of the actual type. (#3401 by [Rob X][robx])
    • [Compiler] Fix codegen for async grouped returning statements (#3411)
    • [Compiler] Infer the Kotlin type of bind parameter, if possible, or fail with a better error message (#3413 by [Philip Wedemann][hfhbd])
    • [Compiler] Don't allow ABS("foo") (#3430 by [Philip Wedemann][hfhbd])
    • [Compiler] Support inferring kotlin type from other parameters (#3431 by [Philip Wedemann][hfhbd])
    • [Compiler] Always create the database implementation (#3540 by [Philip Wedemann][hfhbd])
    • [Compiler] Relax javaDoc and add it to custom mapper function too (#3554 [Philip Wedemann][hfhbd])
    • [Compiler] Fix DEFAULT in binding (by [Philip Wedemann][hfhbd])
    • [Paging] Fix Paging 3 (#3396)
    • [Paging] Allow construction of OffsetQueryPagingSource with Long (#3409)
    • [Paging] Don't statically swap Dispatchers.Main (#3428)
    Commits

    Dependabot compatibility score

    You can trigger a rebase of this PR by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 2
  • Bump postgresql-dialect from 2.0.0-alpha03 to 2.0.0-alpha04

    Bump postgresql-dialect from 2.0.0-alpha03 to 2.0.0-alpha04

    Bumps postgresql-dialect from 2.0.0-alpha03 to 2.0.0-alpha04.

    Release notes

    Sourced from postgresql-dialect's releases.

    Version 2.0.0-alpha04 (2022-10-03)

    Breaking Changes

    • The Paging 3 extension API has changed to only allow int types for the count.
    • The coroutines extension now requires a dispatcher to be passed in instead of defaulting.

    Added

    • [HSQL Dialect] Hsql: Support using DEFAULT for generated columns in Insert (#3372 by [Philip Wedemann][hfhbd])
    • [PostgreSQL Dialect] PostgreSQL: Support using DEFAULT for generated columns in INSERT (#3373 by [Philip Wedemann][hfhbd])
    • [PostgreSQL Dialect] Add NOW() to PostgreSQL (#3403 by [Philip Wedemann][hfhbd])
    • [PostgreSQL Dialect] PostgreSQL Add NOT operator (#3504 by [Philip Wedemann][hfhbd])
    • [Paging] Allow passing in CoroutineContext to *QueryPagingSource (#3384)
    • [Gradle Plugin] Add better version catalog support for dialects (#3435)
    • [Native Driver] Add callback to hook into DatabaseConfiguration creation of NativeSqliteDriver (#3512 by [Sven Jacobs][svenjacobs])

    Changed

    • [Paging] Add a default dispatcher to the KeyedQueryPagingSource backed QueryPagingSource function (#3385)
    • [Paging] Make OffsetQueryPagingSource only work with Int (#3386)
    • [Async Runtime] Move await* to upper class ExecutableQuery (#3524 by [Philip Wedemann][hfhbd])
    • [Coroutines Extensions] Remove default params to flow extensions (#3489)

    Fixed

    • [Gradle Plugin] Update to Kotlin 1.7.20 (#3542 by [Zac Sweers][zacsweers])

    • [R2DBC Driver] Adopt R2DBC changes which do not always send a value (#3525 by [Philip Wedemann][hfhbd])

    • [HSQL Dialect] Fix failing sqlite VerifyMigrationTask with Hsql (#3380 by [Philip Wedemann][hfhbd])

    • [Gradle Plugin] Convert tasks to use lazy configuration API (by [Matthew Haughton][3flex])

    • [Gradle Plugin] Avoid NPEs in Kotlin 1.7.20 (#3398 by [Zac Sweers][ZacSweers])

    • [Gradle Plugin] Fix description of squash migrations task (#3449)

    • [IDE Plugin] Fix NoSuchFieldError in newer Kotlin plugins (#3422 by [Madis Pink][madisp])

    • [IDE Plugin] IDEA: UnusedQueryInspection - fix ArrayIndexOutOfBoundsException. (#3427 by [Niklas Baudy][vanniktech])

    • [IDE Plugin] Use reflection for old kotlin plugin references

    • [Compiler] Custom dialect with extension function don't create imports (#3338 by [Philip Wedemann][hfhbd])

    • [Compiler] Fix escaping CodeBlock.of("${CodeBlock.toString()}") (#3340 by [Philip Wedemann][hfhbd])

    • [Compiler] Await async execute statements in migrations (#3352)

    • [Compiler] Fix AS (#3370 by [Philip Wedemann][hfhbd])

    • [Compiler] getObject method supports automatic filling of the actual type. (#3401 by [Rob X][robx])

    • [Compiler] Fix codegen for async grouped returning statements (#3411)

    • [Compiler] Infer the Kotlin type of bind parameter, if possible, or fail with a better error message (#3413 by [Philip Wedemann][hfhbd])

    • [Compiler] Don't allow ABS("foo") (#3430 by [Philip Wedemann][hfhbd])

    • [Compiler] Support inferring kotlin type from other parameters (#3431 by [Philip Wedemann][hfhbd])

    • [Compiler] Always create the database implementation (#3540 by [Philip Wedemann][hfhbd])

    • [Compiler] Relax javaDoc and add it to custom mapper function too (#3554 [Philip Wedemann][hfhbd])

    • [Compiler] Fix DEFAULT in binding (by [Philip Wedemann][hfhbd])

    • [Paging] Fix Paging 3 (#3396)

    • [Paging] Allow construction of OffsetQueryPagingSource with Long (#3409)

    • [Paging] Don't statically swap Dispatchers.Main (#3428)

    ... (truncated)

    Changelog

    Sourced from postgresql-dialect's changelog.

    [2.0.0-alpha04] - 2022-10-03

    Breaking Changes

    • The Paging 3 extension API has changed to only allow int types for the count.
    • The coroutines extension now requires a dispatcher to be passed in instead of defaulting.

    Added

    • [HSQL Dialect] Hsql: Support using DEFAULT for generated columns in Insert (#3372 by [Philip Wedemann][hfhbd])
    • [PostgreSQL Dialect] PostgreSQL: Support using DEFAULT for generated columns in INSERT (#3373 by [Philip Wedemann][hfhbd])
    • [PostgreSQL Dialect] Add NOW() to PostgreSQL (#3403 by [Philip Wedemann][hfhbd])
    • [PostgreSQL Dialect] PostgreSQL Add NOT operator (#3504 by [Philip Wedemann][hfhbd])
    • [Paging] Allow passing in CoroutineContext to *QueryPagingSource (#3384)
    • [Gradle Plugin] Add better version catalog support for dialects (#3435)
    • [Native Driver] Add callback to hook into DatabaseConfiguration creation of NativeSqliteDriver (#3512 by [Sven Jacobs][svenjacobs])

    Changed

    • [Paging] Add a default dispatcher to the KeyedQueryPagingSource backed QueryPagingSource function (#3385)
    • [Paging] Make OffsetQueryPagingSource only work with Int (#3386)
    • [Async Runtime] Move await* to upper class ExecutableQuery (#3524 by [Philip Wedemann][hfhbd])
    • [Coroutines Extensions] Remove default params to flow extensions (#3489)

    Fixed

    • [Gradle Plugin] Update to Kotlin 1.7.20 (#3542 by [Zac Sweers][zacsweers])
    • [R2DBC Driver] Adopt R2DBC changes which do not always send a value (#3525 by [Philip Wedemann][hfhbd])
    • [HSQL Dialect] Fix failing sqlite VerifyMigrationTask with Hsql (#3380 by [Philip Wedemann][hfhbd])
    • [Gradle Plugin] Convert tasks to use lazy configuration API (by [Matthew Haughton][3flex])
    • [Gradle Plugin] Avoid NPEs in Kotlin 1.7.20 (#3398 by [Zac Sweers][ZacSweers])
    • [Gradle Plugin] Fix description of squash migrations task (#3449)
    • [IDE Plugin] Fix NoSuchFieldError in newer Kotlin plugins (#3422 by [Madis Pink][madisp])
    • [IDE Plugin] IDEA: UnusedQueryInspection - fix ArrayIndexOutOfBoundsException. (#3427 by [Niklas Baudy][vanniktech])
    • [IDE Plugin] Use reflection for old kotlin plugin references
    • [Compiler] Custom dialect with extension function don't create imports (#3338 by [Philip Wedemann][hfhbd])
    • [Compiler] Fix escaping CodeBlock.of("${CodeBlock.toString()}") (#3340 by [Philip Wedemann][hfhbd])
    • [Compiler] Await async execute statements in migrations (#3352)
    • [Compiler] Fix AS (#3370 by [Philip Wedemann][hfhbd])
    • [Compiler] getObject method supports automatic filling of the actual type. (#3401 by [Rob X][robx])
    • [Compiler] Fix codegen for async grouped returning statements (#3411)
    • [Compiler] Infer the Kotlin type of bind parameter, if possible, or fail with a better error message (#3413 by [Philip Wedemann][hfhbd])
    • [Compiler] Don't allow ABS("foo") (#3430 by [Philip Wedemann][hfhbd])
    • [Compiler] Support inferring kotlin type from other parameters (#3431 by [Philip Wedemann][hfhbd])
    • [Compiler] Always create the database implementation (#3540 by [Philip Wedemann][hfhbd])
    • [Compiler] Relax javaDoc and add it to custom mapper function too (#3554 [Philip Wedemann][hfhbd])
    • [Compiler] Fix DEFAULT in binding (by [Philip Wedemann][hfhbd])
    • [Paging] Fix Paging 3 (#3396)
    • [Paging] Allow construction of OffsetQueryPagingSource with Long (#3409)
    • [Paging] Don't statically swap Dispatchers.Main (#3428)
    Commits

    Dependabot compatibility score

    You can trigger a rebase of this PR by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 2
  • Bump idea from 222.4459.24 to 223.7571.182

    Bump idea from 222.4459.24 to 223.7571.182

    Bumps idea from 222.4459.24 to 223.7571.182. Updates core-impl from 222.4459.24 to 223.7571.182

    Updates util-ui from 222.4459.24 to 223.7571.182

    Updates project-model-impl from 222.4459.24 to 223.7571.182

    Updates analysis-impl from 222.4459.24 to 223.7571.182

    You can trigger a rebase of this PR by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 1
  • Bump idea from 211.7628.21 to 222.4345.23

    Bump idea from 211.7628.21 to 222.4345.23

    Bumps idea from 211.7628.21 to 222.4345.23. Updates core-ui from 211.7628.21 to 222.4345.23

    Updates lang-impl from 211.7628.21 to 222.4345.23

    You can trigger a rebase of this PR by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 1
  • Bump idea from 211.7628.21 to 222.4345.14

    Bump idea from 211.7628.21 to 222.4345.14

    Bumps idea from 211.7628.21 to 222.4345.14. Updates core-ui from 211.7628.21 to 222.4345.14

    Updates lang-impl from 211.7628.21 to 222.4345.14

    You can trigger a rebase of this PR by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 1
  • Bump postgresql-dialect from 2.0.0-SNAPSHOT to 2.1.0-SNAPSHOT

    Bump postgresql-dialect from 2.0.0-SNAPSHOT to 2.1.0-SNAPSHOT

    Bumps postgresql-dialect from 2.0.0-SNAPSHOT to 2.1.0-SNAPSHOT.

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 1
  • Bump app.cash.sqldelight from 2.0.0-SNAPSHOT to 2.1.0-SNAPSHOT

    Bump app.cash.sqldelight from 2.0.0-SNAPSHOT to 2.1.0-SNAPSHOT

    Bumps app.cash.sqldelight from 2.0.0-SNAPSHOT to 2.1.0-SNAPSHOT.

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 1
  • Bump dialect-api from 2.0.0-SNAPSHOT to 2.1.0-SNAPSHOT

    Bump dialect-api from 2.0.0-SNAPSHOT to 2.1.0-SNAPSHOT

    Bumps dialect-api from 2.0.0-SNAPSHOT to 2.1.0-SNAPSHOT.

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 1
  • Bump ktor-network from 2.2.1 to 2.2.2

    Bump ktor-network from 2.2.1 to 2.2.2

    Bumps ktor-network from 2.2.1 to 2.2.2.

    Changelog

    Sourced from ktor-network's changelog.

    2.2.2

    Published 3 January 2023

    Improvements

    • Resource annotation should be MetaSerializable (KTOR-5397)
    • The swaggerUI method is too restrictive and cannot be called inside a route (KTOR-5307)
    • Engine shutdown grace period and timeout are not configurable (KTOR-5359)
    • Allow specifying immutable in CacheControl (KTOR-3757)

    Bugfixes

    • Server cannot be started with the Swagger plugin (KTOR-5308)
    • Regression in 2.2.1: Got EOF but at least 0 bytes were expected (5372)
    • HttpRequestRetry: Memory leak of coroutines objects when using the plugin (KTOR-5099)
    • iOS unit test deadlocks with DarwinClientEngine (KTOR-5332)
    • Gzip encoding: IllegalStateException: Expected 112, actual 113 (KTOR-5300)
    • Netty, HSTS: UnsupportedOperationException is thrown when the server responds before HSTS plugin (KTOR-5276)
    Commits

    Dependabot compatibility score

    You can trigger a rebase of this PR by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 0
  • Deprecate executeQueryWithNativeCursor

    Deprecate executeQueryWithNativeCursor

    Currently, executeQueryWithNativeCursor as well as executeQueryAsFlow exist. The first uses sqldelight async API, the last the coroutines flow API.

    At the moment, executeQueryWithNativeCursor is not used by the generated sqldelight code and has to be used by the user manually. executeQueryAsFlow returns a cold Flow which is used widely in the kotlin ecosystem.

    So what is the use-case for executeQueryWithNativeCursor?

    opened by hfhbd 0
  • Support linuxArm64

    Support linuxArm64

    Mostly for arm docker Needs upstream support, starting with coroutines: https://github.com/Kotlin/kotlinx.coroutines/pull/2841#issuecomment-1298377277

    opened by hfhbd 0
Releases(v0.0.5)
  • v0.0.5(Dec 4, 2022)

    What's Changed

    • Bump Kotlin to 1.7.22
    • Add executeQueryAsFlow and publish Postgres types in nativeCursor method in https://github.com/hfhbd/postgres-native-sqldelight/pull/106
    • Remove warning: row number -1 is out of range 0..-1 in https://github.com/hfhbd/postgres-native-sqldelight/pull/113

    Full Changelog: https://github.com/hfhbd/postgres-native-sqldelight/compare/v0.0.4...v0.0.5

    Source code(tar.gz)
    Source code(zip)
  • v0.0.4(Nov 4, 2022)

    Changes

    New remote and local listener support for observable queries.

    What's Changed

    • Split code by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/90
    • Update README.md by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/91
    • Bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.11.1 to 0.12.0 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/92
    • Bump app.cash.licensee from 1.5.0 to 1.6.0 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/94
    • Bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.12.0 to 0.12.1 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/95
    • Add remote and local listener support by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/83
    • Add listener support to readme by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/96

    Full Changelog: https://github.com/hfhbd/postgres-native-sqldelight/compare/v0.0.3...v0.0.4

    Source code(tar.gz)
    Source code(zip)
  • v0.0.3(Oct 18, 2022)

    Main changes

    • executableQuery (and so sqldelight) does not use a cursor anymore. Instead, all results are fetched at once. If you need a cursor to consume the results lazily, use executableQueryWithNativeCursor. You can adjust the fetch size.
    • Fix negative identifier

    Thanks

    Many thanks to @nomisRev for helpful test cases, issues and contributions.

    What's Changed

    • Remove wrong plugin repos by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/77
    • Bump idea to 222.4345.24 by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/79
    • Remove classpath from lexer by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/81
    • Add libpq to Readme by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/84
    • Add Contributing by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/85
    • CI: Fix test failure paths by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/89
    • Fix negative identifier in cursor by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/86
    • Fix INSERT RETURNING by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/88

    Full Changelog: https://github.com/hfhbd/postgres-native-sqldelight/compare/v0.0.2...v0.0.3

    Source code(tar.gz)
    Source code(zip)
  • v0.0.2(Oct 5, 2022)

    Known Issue

    • https://github.com/cashapp/sqldelight/issues/3564
    insert: 
    INSERT INTO foo VALUES ?;
    

    This statement does not work anymore, as a workaround until this issue is fixed you have to specify the columns explicitly:

    insert: 
    INSERT INTO foo VALUES (?, ?, ?, ?);
    

    What's Changed

    • Bump multiplatform from 1.7.0 to 1.7.10 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/47
    • Bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.10.1 to 0.11.0 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/48
    • Bump kotlinx-coroutines-test from 1.6.3 to 1.6.4 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/49
    • Fix Gradle classloader and properties by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/51
    • Bump idea from 221.5921.27 to 221.6008.13 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/52
    • Bump idea from 221.6008.13 to 221.6008.15 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/53
    • Bump idea from 221.6008.15 to 221.6008.17 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/54
    • Add licensee by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/55
    • Bump Gradle by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/56
    • Bump idea from 221.6008.17 to 222.3345.118 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/58
    • Bump idea from 222.3345.118 to 222.3345.131 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/59
    • Bump idea from 222.3345.131 to 222.3345.146 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/60
    • Bump idea from 222.3345.146 to 222.3739.57 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/61
    • Bump kotlinx-uuid-core from 0.0.15 to 0.0.16 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/62
    • Bump kotlinx-uuid-core from 0.0.16 to 0.0.17 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/63
    • Bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.11.0 to 0.11.1 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/64
    • Bump idea from 222.3739.57 to 222.4167.25 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/65
    • Bump idea from 222.4167.25 to 222.4167.29 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/66
    • Bump idea from 222.4167.29 to 222.4167.33 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/67
    • Fix brew $PATH by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/69
    • Bump multiplatform from 1.7.10 to 1.7.20 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/68
    • Bump runtime from 2.0.0-alpha03 to 2.0.0-alpha04 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/73
    • Bump app.cash.sqldelight from 2.0.0-alpha03 to 2.0.0-alpha04 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/71
    • Remove wrong questionmark replacement by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/74

    Full Changelog: https://github.com/hfhbd/postgres-native-sqldelight/compare/v0.0.1...v0.0.2

    Source code(tar.gz)
    Source code(zip)
  • v0.0.1(Jun 25, 2022)

    What's Changed

    • Fix CI by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/1
    • Bump Gradle to 7.4.2 by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/7
    • Fix binary type by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/8
    • Fix hex binary type by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/10
    • Bump multiplatform from 1.7.0-Beta to 1.7.0-RC by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/11
    • Bump multiplatform from 1.7.0-RC to 1.7.0-RC2 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/14
    • Remove matrix until working docker support by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/15
    • Bump multiplatform from 1.7.0-RC2 to 1.7.0 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/16
    • Fix Sqldelight integration by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/12
    • Implement Copy Support by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/18
    • Releasing by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/19
    • Fix dialect publishing by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/25
    • Remove array support by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/26
    • Bump idea from 211.7628.21 to 221.5787.30 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/20
    • Restartable CD by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/27
    • Add GitHub macOS brew paths by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/30
    • Create FUNDING.yml by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/31
    • Use all libpq.def paths on all targets by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/32
    • Use delegation in the dialect by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/33
    • Bump sqldelight to 2.0.0-alpha03 by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/34
    • Bump kotlinx-coroutines-test from 1.6.2 to 1.6.3 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/35
    • Bump idea from 221.5787.30 to 221.5921.22 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/36
    • Bump idea from 221.5921.22 to 221.5921.27 by @dependabot in https://github.com/hfhbd/postgres-native-sqldelight/pull/37
    • Remove outdated snapshot repos by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/38
    • Add local time support by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/40
    • Add missing sourcesJar to dialect by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/41
    • Explicit Api by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/42
    • Fix sources jar by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/43
    • Fix missing root level group by @hfhbd in https://github.com/hfhbd/postgres-native-sqldelight/pull/44

    New Contributors

    • @hfhbd made their first contribution in https://github.com/hfhbd/postgres-native-sqldelight/pull/1
    • @dependabot made their first contribution in https://github.com/hfhbd/postgres-native-sqldelight/pull/11

    Full Changelog: https://github.com/hfhbd/postgres-native-sqldelight/commits/v0.0.1

    Source code(tar.gz)
    Source code(zip)
Owner
Philip Wedemann
Currently studying my master degree in computer science. Formerly worked in the Security Operations Center at Volkswagen AG
Philip Wedemann
Fuzzy string matching for Kotlin (JVM, native, JS, Web Assembly) - port of Fuzzy Wuzzy Python lib

FuzzyWuzzy-Kotlin Fuzzy string matching for Kotlin (JVM, iOS) - fork of the Java fork of of Fuzzy Wuzzy Python lib. For use in on JVM, Android, or Kot

WillowTree, LLC 54 Nov 8, 2022
Multiplaform kotlin library for calculating text differences. Based on java-diff-utils, supports JVM, JS and native targets.

kotlin-multiplatform-diff This is a port of java-diff-utils to kotlin with multiplatform support. All credit for the implementation goes to original a

Peter Trifanov 51 Jan 3, 2023
Native Kotlin library for time-based TOTP and HMAC-based HOTP one-time passwords

A kotlin implementation of HOTP (RFC-4226) and TOTP (RFC-6238). Supports validation and generation of 2-factor authentication codes, recovery codes and randomly secure secrets.

Robin Ohs 6 Dec 19, 2022
Android Utilities Library build in kotlin Provide user 100 of pre defined method to create advanced native android app.

Android Utilities Library build in kotlin Provide user 100 of pre defined method to create advanced native android app.

Shahid Iqbal 4 Nov 29, 2022
A robust native library loader for Android.

ReLinker A robust native library loader for Android. More information can be found in our blog post Min SDK: 9 JavaDoc Overview The Android PackageMan

Keepsafe 2.9k Dec 27, 2022
Routable, an in-app native URL router, for Android

Routable Routable is an in-app native URL router, for Android. Also available for iOS. Usage Set up your app's router and URLs: import com.usepropelle

Clay Allsopp 476 Nov 11, 2022
SoLoader is a native code loader for Android.

SoLoader is a native code loader for Android. It takes care of unpacking your native libraries and recursively loads dependencies on platforms that don't support that out of the box.

Meta 1.2k Jan 3, 2023
React Native wrapper to bridge our iOS and Android SDK

React Native wrapper to bridge our iOS and Android SDK

Intercom 94 Jan 1, 2023
Gitversion - A native console application to calculate a version based on git commits and tags

GitCommit A native console application to calculate a version based on git commi

Solugo 5 Sep 13, 2022
Remove the dependency of compiled kotlin on kotlin-stdlib

Dekotlinify This project aims to take compiled Kotlin Java bytecode (compiled by the standard Kotlin compiler) and remove all references to the Kotlin

Joseph Burton 10 Nov 29, 2022
gRPC and protocol buffers for Android, Kotlin, and Java.

Wire “A man got to have a code!” - Omar Little See the project website for documentation and APIs. As our teams and programs grow, the variety and vol

Square 3.9k Dec 31, 2022
A DSL to handle soft keyboard visibility change event written in Kotlin.

About A DSL to handle soft keyboard visibility change event written in Kotlin. How to use? Step 1. Add it in your root build.gradle at the end of repo

Vinícius Oliveira 17 Jan 7, 2023
Kotlin matrix class which supports determinant, inverse matrix, matmul, etc.

Kotrix is a set of classes that helps people dealing with linear algebra in Kotlin.

Kanguk Lee 5 Dec 8, 2022
🐫🐍🍢🅿 Multiplatform Kotlin library to convert strings between various case formats including Camel Case, Snake Case, Pascal Case and Kebab Case

KaseChange Multiplatform Kotlin library to convert strings between various case formats Supported Case Formats SCREAMING_SNAKE_CASE snake_case PascalC

PearX Team 67 Dec 30, 2022
Multi-module, Kotlin, MVI, Compose, Hilt, Navigation Component, Use-cases, Room, Retrofit

Work in progress Multi-module demo app that gets data from dota2 api. API https://docs.opendota.com/ Players by rank (GET) https://api.opendota.com/ap

Mitch Tabian 321 Dec 27, 2022
recompose is a tool for converting Android layouts in XML to Kotlin code using Jetpack Compose.

recompose is a tool for converting Android layouts in XML to Kotlin code using Jetpack Compose.

Sebastian Kaspari 565 Jan 2, 2023
Markdown renderer for Kotlin Compose Multiplatform (Android, Desktop)

Markdown renderer for Kotlin Compose Multiplatform (Android, Desktop)

Mike Penz 129 Jan 1, 2023
Dagger Hilt, MVP Moxy, Retrofit, Kotlin coroutine, Sealed class

Dagger Hilt, MVP Moxy, Retrofit, Kotlin coroutine, Sealed class

Dostonjon 1 Nov 2, 2021
Item Helper For Kotlin

Item Helper For Kotlin

Blugon 2 Dec 3, 2021