Skip to content

Export sqlite3 open #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,36 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2024-09-03

### Changes

---

Packages with breaking changes:

- There are no breaking changes in this release.

Packages with other changes:

- [`sqlite_async` - `v0.9.0`](#sqlite_async---v090)
- [`drift_sqlite_async` - `v0.1.0-alpha.7`](#drift_sqlite_async---v010-alpha7)

Packages with dependency updates only:

> 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.

- `drift_sqlite_async` - `v0.1.0-alpha.7`

---

#### `sqlite_async` - `v0.9.0`

- Support the latest version of package:web and package:sqlite3_web

- Export sqlite3 `open` for packages that depend on `sqlite_async`


## 2024-08-21

### Changes
Expand Down
4 changes: 2 additions & 2 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ scripts:
description: Analyze Dart code in packages.
run: dart analyze packages --fatal-infos

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

Expand Down
4 changes: 4 additions & 0 deletions packages/drift_sqlite_async/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.1.0-alpha.7

- Update a dependency to the latest release.

## 0.1.0-alpha.6

- Update a dependency to the latest release.
Expand Down
4 changes: 2 additions & 2 deletions packages/drift_sqlite_async/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: drift_sqlite_async
version: 0.1.0-alpha.6
version: 0.1.0-alpha.7
homepage: https://github.com/powersync-ja/sqlite_async.dart
repository: https://github.com/powersync-ja/sqlite_async.dart
description: Use Drift with a sqlite_async database, allowing both to be used in the same application.
Expand All @@ -15,7 +15,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
drift: ">=2.15.0 <2.19.0"
sqlite_async: ^0.8.3
sqlite_async: ^0.9.0
dev_dependencies:
build_runner: ^2.4.8
drift_dev: ">=2.15.0 <2.19.0"
Expand Down
6 changes: 6 additions & 0 deletions packages/sqlite_async/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.9.0

- Support the latest version of package:web and package:sqlite3_web

- Export sqlite3 `open` for packages that depend on `sqlite_async`

## 0.8.3

- Updated web database implementation for get and getOptional. Fixed refreshSchema not working in web.
Expand Down
3 changes: 3 additions & 0 deletions packages/sqlite_async/lib/sqlite3_open.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Re-exports [sqlite3 open](https://pub.dev/packages/sqlite3) to expose sqlite3 open without
// adding it as a direct dependency.
export 'package:sqlite3/open.dart';
2 changes: 1 addition & 1 deletion packages/sqlite_async/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: sqlite_async
description: High-performance asynchronous interface for SQLite on Dart and Flutter.
version: 0.8.3
version: 0.9.0
repository: https://github.com/powersync-ja/sqlite_async.dart
environment:
sdk: ">=3.4.0 <4.0.0"
Expand Down
Loading