Skip to content

Commit 056ed7b

Browse files
authored
Merge pull request #845 from supabase-community/release-3.1.0
3.1.0: Update AGP, changelog and deprecate image loader integration
2 parents 0694b70 + 40a36b3 commit 056ed7b

File tree

5 files changed

+50
-3
lines changed

5 files changed

+50
-3
lines changed

Diff for: CHANGELOG.md

+44
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,49 @@
11
# Changelog
22

3+
### 3.1.0 - January 31, 2025
4+
5+
### Auth
6+
7+
* Fix OAuth linking on JS/Wasm JS by @jan-tennert in https://github.com/supabase-community/supabase-kt/commit/d7dd01ab15995a360be91b28857a055eeb1e989d
8+
9+
### Realtime
10+
11+
* Improve behavior for realtime channel creation and improve docs by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/831
12+
If a channel with the same `channelId` exists, `Realtime#channel()` will return it instead of creating a new one. The channel will now also be saved after calling `Realtime#channel()` instead at subscribing.
13+
* Add pull token approach to realtime by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/807
14+
* Prevent sending expired tokens to realtime by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/808
15+
16+
### PostgREST
17+
18+
* Add custom exception for PostgREST API errors and include `HttpResponse` in `RestException`s by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/789
19+
- All PostgREST rest exceptions are a `PostgrestRestException`, which contain PostgREST fields like `hint`, `code`.
20+
- All `RestException`s now contain the full `HttpResponse` as a property.
21+
22+
### Storage
23+
24+
* Add support for file metadata, `info` and `exists` by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/694
25+
26+
### Docs
27+
28+
* Update `supabaseModule.kt` references by @emmanuel-ferdman in https://github.com/supabase-community/supabase-kt/pull/823
29+
30+
### Compose Auth
31+
32+
* Make the dialog type for the Native Google Sign In configurable by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/832
33+
New `type` parameter for `rememberSignInWithGoogle()`, only functional on Android.
34+
35+
### 3.0.3 - December 4, 2024
36+
37+
### Core
38+
39+
- Add support for Kotlin `2.1.0`
40+
- Fix build errors on certain targets like `wasm-js`
41+
42+
### Compose Auth & Auth
43+
44+
- Use `okio` for hashing instead of `krypto`
45+
Let me know if there are any issues!
46+
347
### 3.0.2 - November 11, 2024
448

549
### Core

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ __For versions below 3.0.0:__
121121
- [Compose Auth UI](/plugins/ComposeAuthUI) - Provides UI Components for Compose Multiplatform.
122122
- [Coil Integration](/plugins/CoilIntegration) - Provides a [Coil2](https://github.com/coil-kt/coil) Integration for displaying images stored in Supabase Storage. Only supports Android.
123123
- [Coil3 Integration](/plugins/Coil3Integration) - Provides a [Coil3](https://github.com/coil-kt/coil) Integration for displaying images stored in Supabase Storage. Supports all Compose Multiplatform targets.
124-
- [Compose-ImageLoader Integration](/plugins/ImageLoaderIntegration) - Provides a [Compose ImageLoader](https://github.com/qdsfdhvh/compose-imageloader) Integration for displaying images stored in Supabase Storage.
124+
- *[Compose-ImageLoader Integration](/plugins/ImageLoaderIntegration) - Deprecated. Use Coil 3 or create your own integration*
125125

126126
### Miscellaneous
127127
- [Supabase Edge Functions Kotlin](https://github.com/manriif/supabase-edge-functions-kt) - Build, serve and deploy Supabase Edge Functions with Kotlin and Gradle.

Diff for: gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ org.jetbrains.compose.experimental.uikit.enabled=true
1010
org.jetbrains.compose.experimental.jscanvas.enabled=true
1111
org.jetbrains.compose.experimental.wasm.enabled=true
1212

13-
supabase-version = 3.1.0-beta-2
13+
supabase-version = 3.1.0
1414
base-group = io.github.jan-tennert.supabase

Diff for: gradle/libs.versions.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ androidx-startup = "1.2.0"
1212
androidx-activity-compose = "1.10.0"
1313
multiplatform-settings = "1.3.0"
1414
complete-kotlin = "1.1.0"
15-
agp = "8.5.2"
15+
agp = "8.7.3"
1616
maven-publish = "0.30.0"
1717
apollo-kotlin = "4.1.1"
1818
korlibs = "6.0.0"

Diff for: plugins/ImageLoaderIntegration/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Supabase-kt Compose-ImageLoader Integration
22

3+
> [!WARNING]
4+
> Deprecated. Use Coil 3 or create your own integration. Last supported Image Loader version: 1.9.0
5+
36
Extends supabase-kt with a [Compose-ImageLoader](https://github.com/qdsfdhvh/compose-imageloader) integration for image loading.
47

58
Supported targets:

0 commit comments

Comments
 (0)