Skip to content

Commit 3d4d968

Browse files
authored
chore(publish): prepare for v2.4.0 (#38)
* chore(publish): prepare for v2.4.0 * chore(publish): prepare for v2.4.0 * chore(publish): prepare for v2.4.0
1 parent 635b0f4 commit 3d4d968

11 files changed

Lines changed: 318 additions & 95 deletions

File tree

.github/workflows/build-example.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
channel: [ 'stable', 'beta' ]
16+
channel: [ 'stable' ]
1717
defaults:
1818
run:
1919
working-directory: ./example

.github/workflows/flutter.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
- name: Doctor
2727
run: flutter doctor
2828

29+
- name: Setup libsqlite3 and libsqlite3-dev
30+
run: sudo apt-get -y install libsqlite3-0 libsqlite3-dev
31+
2932
- name: Install dependencies
3033
run: flutter packages get
3134

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 2.4.0 - Oct 1, 2022
2+
3+
* Update dependencies
4+
* `sqflite: ^2.1.0`.
5+
6+
* Update `Dart SDK` constraint to `'>=2.18.0 <3.0.0'` and `Flutter` constraint to `'>=3.3.0'`.
7+
18
## 2.3.0 - Jul 31, 2022
29

310
* Update dependencies

example/lib/home_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class _MyHomePageState extends State<MyHomePage> {
6363
return Center(
6464
child: Text(
6565
'Error: ${state.error!.error}',
66-
style: Theme.of(context).textTheme.headline6,
66+
style: Theme.of(context).textTheme.titleLarge,
6767
textAlign: TextAlign.center,
6868
),
6969
);

example/pubspec.lock

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.8.2"
10+
version: "2.9.0"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -21,21 +21,14 @@ packages:
2121
name: characters
2222
url: "https://pub.dartlang.org"
2323
source: hosted
24-
version: "1.2.0"
25-
charcode:
26-
dependency: transitive
27-
description:
28-
name: charcode
29-
url: "https://pub.dartlang.org"
30-
source: hosted
31-
version: "1.3.1"
24+
version: "1.2.1"
3225
clock:
3326
dependency: transitive
3427
description:
3528
name: clock
3629
url: "https://pub.dartlang.org"
3730
source: hosted
38-
version: "1.1.0"
31+
version: "1.1.1"
3932
collection:
4033
dependency: "direct main"
4134
description:
@@ -56,7 +49,7 @@ packages:
5649
name: fake_async
5750
url: "https://pub.dartlang.org"
5851
source: hosted
59-
version: "1.3.0"
52+
version: "1.3.1"
6053
ffi:
6154
dependency: transitive
6255
description:
@@ -108,28 +101,28 @@ packages:
108101
name: matcher
109102
url: "https://pub.dartlang.org"
110103
source: hosted
111-
version: "0.12.11"
104+
version: "0.12.12"
112105
material_color_utilities:
113106
dependency: transitive
114107
description:
115108
name: material_color_utilities
116109
url: "https://pub.dartlang.org"
117110
source: hosted
118-
version: "0.1.4"
111+
version: "0.1.5"
119112
meta:
120113
dependency: transitive
121114
description:
122115
name: meta
123116
url: "https://pub.dartlang.org"
124117
source: hosted
125-
version: "1.7.0"
118+
version: "1.8.0"
126119
path:
127120
dependency: "direct main"
128121
description:
129122
name: path
130123
url: "https://pub.dartlang.org"
131124
source: hosted
132-
version: "1.8.1"
125+
version: "1.8.2"
133126
path_provider:
134127
dependency: "direct main"
135128
description:
@@ -225,28 +218,28 @@ packages:
225218
name: source_span
226219
url: "https://pub.dartlang.org"
227220
source: hosted
228-
version: "1.8.2"
221+
version: "1.9.0"
229222
sqflite:
230223
dependency: transitive
231224
description:
232225
name: sqflite
233226
url: "https://pub.dartlang.org"
234227
source: hosted
235-
version: "2.0.3"
228+
version: "2.1.0"
236229
sqflite_common:
237230
dependency: transitive
238231
description:
239232
name: sqflite_common
240233
url: "https://pub.dartlang.org"
241234
source: hosted
242-
version: "2.2.1+1"
235+
version: "2.3.0"
243236
sqlbrite:
244237
dependency: "direct main"
245238
description:
246239
path: ".."
247240
relative: true
248241
source: path
249-
version: "2.3.0"
242+
version: "2.4.0"
250243
stack_trace:
251244
dependency: transitive
252245
description:
@@ -267,7 +260,7 @@ packages:
267260
name: string_scanner
268261
url: "https://pub.dartlang.org"
269262
source: hosted
270-
version: "1.1.0"
263+
version: "1.1.1"
271264
synchronized:
272265
dependency: transitive
273266
description:
@@ -281,14 +274,14 @@ packages:
281274
name: term_glyph
282275
url: "https://pub.dartlang.org"
283276
source: hosted
284-
version: "1.2.0"
277+
version: "1.2.1"
285278
test_api:
286279
dependency: transitive
287280
description:
288281
name: test_api
289282
url: "https://pub.dartlang.org"
290283
source: hosted
291-
version: "0.4.9"
284+
version: "0.4.12"
292285
vector_math:
293286
dependency: transitive
294287
description:
@@ -311,5 +304,5 @@ packages:
311304
source: hosted
312305
version: "0.2.0"
313306
sdks:
314-
dart: ">=2.17.6 <3.0.0"
315-
flutter: ">=3.0.5"
307+
dart: ">=2.18.0 <3.0.0"
308+
flutter: ">=3.3.0"

example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version: 1.0.0+1
44
publish_to: none
55

66
environment:
7-
sdk: ">=2.17.6 <3.0.0"
8-
flutter: '>=3.0.5'
7+
sdk: '>=2.18.0 <3.0.0'
8+
flutter: '>=3.3.0'
99

1010
dependencies:
1111
flutter:

lib/src/brite_batch.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,4 +164,16 @@ class BriteBatch implements IBriteBatch {
164164
execute(sql, arguments);
165165
_tables.addAll(tables);
166166
}
167+
168+
@override
169+
Future<List<Object?>> apply({bool? noResult, bool? continueOnError}) async {
170+
final result = await _delegate.apply(
171+
noResult: noResult,
172+
continueOnError: continueOnError,
173+
);
174+
175+
_executor.sendTableTrigger(_tables);
176+
177+
return result;
178+
}
167179
}

pubspec.lock

Lines changed: 37 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ packages:
2828
name: async
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "2.8.2"
31+
version: "2.9.0"
3232
boolean_selector:
3333
dependency: transitive
3434
description:
@@ -98,7 +98,7 @@ packages:
9898
name: characters
9999
url: "https://pub.dartlang.org"
100100
source: hosted
101-
version: "1.2.0"
101+
version: "1.2.1"
102102
charcode:
103103
dependency: transitive
104104
description:
@@ -119,7 +119,7 @@ packages:
119119
name: clock
120120
url: "https://pub.dartlang.org"
121121
source: hosted
122-
version: "1.1.0"
122+
version: "1.1.1"
123123
code_builder:
124124
dependency: "direct dev"
125125
description:
@@ -161,7 +161,14 @@ packages:
161161
name: fake_async
162162
url: "https://pub.dartlang.org"
163163
source: hosted
164-
version: "1.3.0"
164+
version: "1.3.1"
165+
ffi:
166+
dependency: transitive
167+
description:
168+
name: ffi
169+
url: "https://pub.dartlang.org"
170+
source: hosted
171+
version: "1.2.1"
165172
file:
166173
dependency: transitive
167174
description:
@@ -269,21 +276,21 @@ packages:
269276
name: matcher
270277
url: "https://pub.dartlang.org"
271278
source: hosted
272-
version: "0.12.11"
279+
version: "0.12.12"
273280
material_color_utilities:
274281
dependency: transitive
275282
description:
276283
name: material_color_utilities
277284
url: "https://pub.dartlang.org"
278285
source: hosted
279-
version: "0.1.4"
286+
version: "0.1.5"
280287
meta:
281288
dependency: "direct main"
282289
description:
283290
name: meta
284291
url: "https://pub.dartlang.org"
285292
source: hosted
286-
version: "1.7.0"
293+
version: "1.8.0"
287294
mime:
288295
dependency: transitive
289296
description:
@@ -311,7 +318,7 @@ packages:
311318
name: path
312319
url: "https://pub.dartlang.org"
313320
source: hosted
314-
version: "1.8.1"
321+
version: "1.8.2"
315322
pedantic:
316323
dependency: transitive
317324
description:
@@ -386,21 +393,35 @@ packages:
386393
name: source_span
387394
url: "https://pub.dartlang.org"
388395
source: hosted
389-
version: "1.8.2"
396+
version: "1.9.0"
390397
sqflite:
391398
dependency: "direct main"
392399
description:
393400
name: sqflite
394401
url: "https://pub.dartlang.org"
395402
source: hosted
396-
version: "2.0.3"
403+
version: "2.1.0"
397404
sqflite_common:
398405
dependency: "direct dev"
399406
description:
400407
name: sqflite_common
401408
url: "https://pub.dartlang.org"
402409
source: hosted
403-
version: "2.2.1+1"
410+
version: "2.3.0"
411+
sqflite_common_ffi:
412+
dependency: "direct dev"
413+
description:
414+
name: sqflite_common_ffi
415+
url: "https://pub.dartlang.org"
416+
source: hosted
417+
version: "2.1.1+1"
418+
sqlite3:
419+
dependency: transitive
420+
description:
421+
name: sqlite3
422+
url: "https://pub.dartlang.org"
423+
source: hosted
424+
version: "1.5.1"
404425
stack_trace:
405426
dependency: transitive
406427
description:
@@ -428,7 +449,7 @@ packages:
428449
name: string_scanner
429450
url: "https://pub.dartlang.org"
430451
source: hosted
431-
version: "1.1.0"
452+
version: "1.1.1"
432453
synchronized:
433454
dependency: transitive
434455
description:
@@ -442,14 +463,14 @@ packages:
442463
name: term_glyph
443464
url: "https://pub.dartlang.org"
444465
source: hosted
445-
version: "1.2.0"
466+
version: "1.2.1"
446467
test_api:
447468
dependency: transitive
448469
description:
449470
name: test_api
450471
url: "https://pub.dartlang.org"
451472
source: hosted
452-
version: "0.4.9"
473+
version: "0.4.12"
453474
timing:
454475
dependency: transitive
455476
description:
@@ -493,5 +514,5 @@ packages:
493514
source: hosted
494515
version: "3.1.0"
495516
sdks:
496-
dart: ">=2.17.0 <3.0.0"
497-
flutter: ">=3.0.0"
517+
dart: ">=2.18.0 <3.0.0"
518+
flutter: ">=3.3.0"

pubspec.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
name: sqlbrite
22
description: RxDart Reactive stream sqflite(sqlite) for Flutter - Sqlbrite for flutter - A lightweight wrapper around sqflite which introduces reactive stream semantics to SQL operations.
3-
version: 2.3.0
3+
version: 2.4.0
44
homepage: https://github.com/hoc081098/sqlbrite.git
55
repository: https://github.com/hoc081098/sqlbrite.git
66
issue_tracker: https://github.com/hoc081098/sqlbrite/issues
77

88
environment:
9-
sdk: '>=2.16.0 <3.0.0'
10-
flutter: '>=3.0.0'
9+
sdk: '>=2.18.0 <3.0.0'
10+
flutter: '>=3.3.0'
1111

1212
dependencies:
1313
flutter:
1414
sdk: flutter
1515
rxdart_ext: ^0.2.5
16-
sqflite: ^2.0.3
16+
sqflite: ^2.1.0
1717
meta: ^1.7.0
1818

1919
dev_dependencies:
2020
flutter_test:
2121
sdk: flutter
22-
sqflite_common: ^2.2.1+1
22+
sqflite_common: ^2.3.0
23+
sqflite_common_ffi: ^2.1.1+1
2324
mockito: ^5.3.0
2425
flutter_lints: ^1.0.4
2526
build_runner: ^2.2.0

0 commit comments

Comments
 (0)