Skip to content
This repository was archived by the owner on May 13, 2023. It is now read-only.

Commit 2b7aa49

Browse files
authored
chore: publish v1.1.0 (#158)
* chore: publish v1.1.0 * update gotrue and postgrest
1 parent 8165b75 commit 2b7aa49

File tree

3 files changed

+31
-6
lines changed

3 files changed

+31
-6
lines changed

CHANGELOG.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,40 @@
1+
## [1.1.0]
2+
3+
- fix: stream filter other than eq is not properly applied. [(#156)](https://github.com/supabase-community/supabase-dart/pull/156)
4+
- fix: update examples [(#157)](https://github.com/supabase-community/supabase-dart/pull/157)
5+
- feat: update gotrue to v1.1.1
6+
- fail to getSessionFromUrl throws error on `onAuthStateChange`
7+
```dart
8+
supabase.onAuthStateChange.listen((data) {
9+
// handle auth state change here
10+
}, onError: (error) {
11+
// handle error here
12+
});
13+
```
14+
- feat: update postgrest to v1.1.0
15+
- feat: add generic types to `.select()`
16+
```dart
17+
// data is `List<Map<String, dynamic>>`
18+
final data = await supabase.from<List<Map<String, dynamic>>>('users').select();
19+
20+
// data is `Map<String, dynamic>`
21+
final data = await supabase.from<Map<String, dynamic>>('users').select().eq('id', myId).single();
22+
```
23+
24+
125
## [1.0.1]
226
327
- fix: update sample code on readme.md
28+
429
## [1.0.0]
530
631
- chore: v1.0.0 release 🚀
7-
- BREAKING: set minimum SDK of Dart at 2.15.0 ([150](https://github.com/supabase-community/supabase-dart/pull/150))
32+
- BREAKING: set minimum SDK of Dart at 2.15.0 [(#150)](https://github.com/supabase-community/supabase-dart/pull/150)
833
- BREAKING: `.stream()` now takes a named parameter `primaryKey` instead of a positional argument.
934
```dart
1035
supabase.from('my_table').stream(primaryKey: ['id']);
1136
```
12-
- feat: `.stream()` has 5 additional filters: `neq`, `gt`, `gte`, `lt`, `lte` ([148](https://github.com/supabase-community/supabase-dart/pull/148)
37+
- feat: `.stream()` has 5 additional filters: `neq`, `gt`, `gte`, `lt`, `lte` [(#148)](https://github.com/supabase-community/supabase-dart/pull/148)
1338
- chore: update postgrest to v1.0.0
1439
- chore: update realtime to v1.0.0
1540
- chore: update storage to v1.0.0

lib/src/version.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
const version = '1.0.1';
1+
const version = '1.1.0';

pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: supabase
22
description: A dart client for Supabase. This client makes it simple for developers to build secure and scalable products.
3-
version: 1.0.1
3+
version: 1.1.0
44
homepage: 'https://supabase.io'
55
repository: 'https://github.com/supabase/supabase-dart'
66

@@ -9,9 +9,9 @@ environment:
99

1010
dependencies:
1111
functions_client: ^1.0.0
12-
gotrue: ^1.0.0
12+
gotrue: ^1.1.1
1313
http: ^0.13.4
14-
postgrest: ^1.0.1
14+
postgrest: ^1.1.0
1515
realtime_client: ^1.0.0
1616
storage_client: ^1.0.0
1717
rxdart: ^0.27.5

0 commit comments

Comments
 (0)