Skip to content

Commit 7718221

Browse files
committed
Also update minimum version
1 parent 74d2043 commit 7718221

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/update_core.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ To update the version of the PowerSync core extension used in the Dart SDK, upda
66
4. `POWERSYNC_CORE_VERSION` in `sqlite3_wasm_build/build.sh`.
77

88
After updating, run `podfile:update` to update the podfile locks for demo projects.
9+
If you've updated the core version to use a new feature, also update the minimum
10+
version in `core_version.dart` to reflect that requirement.

packages/powersync_core/lib/src/database/core_version.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ extension type const PowerSyncCoreVersion((int, int, int) _tuple) {
6060
// Note: When updating this, also update the download URL in
6161
// scripts/init_powersync_core_binary.dart and the version ref in
6262
// packages/sqlite3_wasm_build/build.sh
63-
static const minimum = PowerSyncCoreVersion((0, 4, 0));
63+
static const minimum = PowerSyncCoreVersion((0, 4, 2));
6464

6565
/// The first version of the core extensions that this version of the Dart
6666
/// SDK doesn't support.

0 commit comments

Comments
 (0)