0.9.0-beta-2
Pre-release
Pre-release
Changes
-
Add 'None' PropertyConversionMethod
-
Throw an error when
SERIAL_NAMEPropertyConversionMethod 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