github supabase-community/supabase-kt 0.9.0-beta-2

latest releases: 3.7.0, 3.7.0-beta-1, 3.6.0...
pre-release3 years ago

Changes

  • Add 'None' PropertyConversionMethod

  • Throw an error when SERIAL_NAME PropertyConversionMethod is used on IOS/JS

  • Add new Storage LW7 features: (untested, see PR)
    More options when creating a bucket (& move public to builder): (Breaking if using public)

    client.storage.createBucket("test", "test")  {
       public = true
       fileSizeLimit = 1000000.kilobytes
       allowedMimeTypes("image/png", "image/jpeg")
    }

    Create presigned urls for upload images:

    val signedUrl = client.storage["test"].createUploadSignedUrl("test.txt")
    println(signedUrl.url)
    client.storage["test"].uploadToSignedUrl(
        path = "test.txt",
        token = signedUrl.token,
        data = File("mydata.txt").readBytes()
    )

    New image transformation options:

    client.storage["icons"].downloadPublic("icon.png") {
        width = 100
        height = 100
        format = "origin" //image format
        resize = ImageTransformation.Resize.FILL
        quality = 40 //image quality
    }
  • Add new Troubleshooting page in the Wiki

Don't miss a new supabase-kt release

NewReleases is sending notifications on new releases.