Skip to content

Commit eb144be

Browse files
authored
Export sqlite3 open (#60)
* chore: Export sqlite3_open * Update pana threshold * chore(release): publish packages - [email protected] - [email protected]
1 parent 9e4feb8 commit eb144be

File tree

7 files changed

+48
-5
lines changed

7 files changed

+48
-5
lines changed

Diff for: CHANGELOG.md

+30
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,36 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## 2024-09-03
7+
8+
### Changes
9+
10+
---
11+
12+
Packages with breaking changes:
13+
14+
- There are no breaking changes in this release.
15+
16+
Packages with other changes:
17+
18+
- [`sqlite_async` - `v0.9.0`](#sqlite_async---v090)
19+
- [`drift_sqlite_async` - `v0.1.0-alpha.7`](#drift_sqlite_async---v010-alpha7)
20+
21+
Packages with dependency updates only:
22+
23+
> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
24+
25+
- `drift_sqlite_async` - `v0.1.0-alpha.7`
26+
27+
---
28+
29+
#### `sqlite_async` - `v0.9.0`
30+
31+
- Support the latest version of package:web and package:sqlite3_web
32+
33+
- Export sqlite3 `open` for packages that depend on `sqlite_async`
34+
35+
636
## 2024-08-21
737

838
### Changes

Diff for: melos.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ scripts:
3232
description: Analyze Dart code in packages.
3333
run: dart analyze packages --fatal-infos
3434

35-
# TODO: Temporarily setting the exit-code-threshold to 10 until drift_sqlite_async dependencies are updated.
35+
# TODO: Temporarily setting the exit-code-threshold to 20 until drift_sqlite_async dependencies are updated.
3636
analyze:packages:pana:
3737
description: Analyze Dart packages with Pana
38-
exec: dart pub global run pana --no-warning --exit-code-threshold 10
38+
exec: dart pub global run pana --no-warning --exit-code-threshold 20
3939
packageFilters:
4040
noPrivate: true
4141

Diff for: packages/drift_sqlite_async/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.1.0-alpha.7
2+
3+
- Update a dependency to the latest release.
4+
15
## 0.1.0-alpha.6
26

37
- Update a dependency to the latest release.

Diff for: packages/drift_sqlite_async/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: drift_sqlite_async
2-
version: 0.1.0-alpha.6
2+
version: 0.1.0-alpha.7
33
homepage: https://github.com/powersync-ja/sqlite_async.dart
44
repository: https://github.com/powersync-ja/sqlite_async.dart
55
description: Use Drift with a sqlite_async database, allowing both to be used in the same application.
@@ -15,7 +15,7 @@ environment:
1515
sdk: ">=3.0.0 <4.0.0"
1616
dependencies:
1717
drift: ">=2.15.0 <2.19.0"
18-
sqlite_async: ^0.8.3
18+
sqlite_async: ^0.9.0
1919
dev_dependencies:
2020
build_runner: ^2.4.8
2121
drift_dev: ">=2.15.0 <2.19.0"

Diff for: packages/sqlite_async/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.9.0
2+
3+
- Support the latest version of package:web and package:sqlite3_web
4+
5+
- Export sqlite3 `open` for packages that depend on `sqlite_async`
6+
17
## 0.8.3
28

39
- Updated web database implementation for get and getOptional. Fixed refreshSchema not working in web.

Diff for: packages/sqlite_async/lib/sqlite3_open.dart

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Re-exports [sqlite3 open](https://pub.dev/packages/sqlite3) to expose sqlite3 open without
2+
// adding it as a direct dependency.
3+
export 'package:sqlite3/open.dart';

Diff for: packages/sqlite_async/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: sqlite_async
22
description: High-performance asynchronous interface for SQLite on Dart and Flutter.
3-
version: 0.8.3
3+
version: 0.9.0
44
repository: https://github.com/powersync-ja/sqlite_async.dart
55
environment:
66
sdk: ">=3.4.0 <4.0.0"

0 commit comments

Comments
 (0)