From 427ad1660f1ac3b2ce5648f6694abb16a5e2bb5a Mon Sep 17 00:00:00 2001 From: DominicGBauer Date: Fri, 23 Aug 2024 13:05:14 +0200 Subject: [PATCH 1/7] chore(release): publish packages - powersync@1.7.0 - powersync_attachments_helper@0.6.5+1 --- CHANGELOG.md | 28 +++++++++++++++++++ demos/django-todolist/pubspec.yaml | 2 +- demos/supabase-anonymous-auth/pubspec.yaml | 2 +- .../supabase-edge-function-auth/pubspec.yaml | 2 +- demos/supabase-simple-chat/pubspec.yaml | 2 +- demos/supabase-todolist-drift/pubspec.yaml | 4 +-- demos/supabase-todolist/pubspec.yaml | 4 +-- packages/powersync/CHANGELOG.md | 9 ++++++ packages/powersync/pubspec.yaml | 2 +- .../powersync_attachments_helper/CHANGELOG.md | 4 +++ .../powersync_attachments_helper/pubspec.yaml | 4 +-- 11 files changed, 52 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd99cc65..f14b42ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,34 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2024-08-23 + +### Changes + +--- + +Packages with breaking changes: + + - There are no breaking changes in this release. + +Packages with other changes: + + - [`powersync` - `v1.7.0`](#powersync---v170) + - [`powersync_attachments_helper` - `v0.6.5+1`](#powersync_attachments_helper---v0651) + +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. + + - `powersync_attachments_helper` - `v0.6.5+1` + +--- + +#### `powersync` - `v1.7.0` + + - - **CHORE**: Include schema validation check + + ## 2024-08-21 ### Changes diff --git a/demos/django-todolist/pubspec.yaml b/demos/django-todolist/pubspec.yaml index 14e5a754..8bbade37 100644 --- a/demos/django-todolist/pubspec.yaml +++ b/demos/django-todolist/pubspec.yaml @@ -10,7 +10,7 @@ environment: dependencies: flutter: sdk: flutter - powersync: ^1.6.7 + powersync: ^1.7.0 path_provider: ^2.1.1 path: ^1.8.3 logging: ^1.2.0 diff --git a/demos/supabase-anonymous-auth/pubspec.yaml b/demos/supabase-anonymous-auth/pubspec.yaml index 86de5407..c419cfe4 100644 --- a/demos/supabase-anonymous-auth/pubspec.yaml +++ b/demos/supabase-anonymous-auth/pubspec.yaml @@ -11,7 +11,7 @@ dependencies: flutter: sdk: flutter - powersync: ^1.6.7 + powersync: ^1.7.0 path_provider: ^2.1.1 supabase_flutter: ^2.0.2 path: ^1.8.3 diff --git a/demos/supabase-edge-function-auth/pubspec.yaml b/demos/supabase-edge-function-auth/pubspec.yaml index ed16c8c7..f3f98a7c 100644 --- a/demos/supabase-edge-function-auth/pubspec.yaml +++ b/demos/supabase-edge-function-auth/pubspec.yaml @@ -11,7 +11,7 @@ dependencies: flutter: sdk: flutter - powersync: ^1.6.7 + powersync: ^1.7.0 path_provider: ^2.1.1 supabase_flutter: ^2.0.2 path: ^1.8.3 diff --git a/demos/supabase-simple-chat/pubspec.yaml b/demos/supabase-simple-chat/pubspec.yaml index e880474d..48622278 100644 --- a/demos/supabase-simple-chat/pubspec.yaml +++ b/demos/supabase-simple-chat/pubspec.yaml @@ -37,7 +37,7 @@ dependencies: supabase_flutter: ^2.0.2 timeago: ^3.6.0 - powersync: ^1.6.7 + powersync: ^1.7.0 path_provider: ^2.1.1 path: ^1.8.3 logging: ^1.2.0 diff --git a/demos/supabase-todolist-drift/pubspec.yaml b/demos/supabase-todolist-drift/pubspec.yaml index 2ca974e6..56bff943 100644 --- a/demos/supabase-todolist-drift/pubspec.yaml +++ b/demos/supabase-todolist-drift/pubspec.yaml @@ -9,8 +9,8 @@ environment: dependencies: flutter: sdk: flutter - powersync_attachments_helper: ^0.6.5 - powersync: ^1.6.7 + powersync_attachments_helper: ^0.6.5+1 + powersync: ^1.7.0 path_provider: ^2.1.1 supabase_flutter: ^2.0.1 path: ^1.8.3 diff --git a/demos/supabase-todolist/pubspec.yaml b/demos/supabase-todolist/pubspec.yaml index 2988e52a..dd165b2e 100644 --- a/demos/supabase-todolist/pubspec.yaml +++ b/demos/supabase-todolist/pubspec.yaml @@ -10,8 +10,8 @@ environment: dependencies: flutter: sdk: flutter - powersync_attachments_helper: ^0.6.5 - powersync: ^1.6.7 + powersync_attachments_helper: ^0.6.5+1 + powersync: ^1.7.0 path_provider: ^2.1.1 supabase_flutter: ^2.0.1 path: ^1.8.3 diff --git a/packages/powersync/CHANGELOG.md b/packages/powersync/CHANGELOG.md index f31325cf..05d20ca9 100644 --- a/packages/powersync/CHANGELOG.md +++ b/packages/powersync/CHANGELOG.md @@ -1,3 +1,12 @@ +## 1.7.0 + + - - **CHORE**: Include schema validation check + +## 1.7.0 + + - **CHORE**: Include schema validation check + - **CHORE**: Include new table check for maximum number of columns allowed + ## 1.6.7 - **CHORE**: Update dependency powersync_flutter_libs diff --git a/packages/powersync/pubspec.yaml b/packages/powersync/pubspec.yaml index 958d833e..f5a9224c 100644 --- a/packages/powersync/pubspec.yaml +++ b/packages/powersync/pubspec.yaml @@ -1,5 +1,5 @@ name: powersync -version: 1.6.7 +version: 1.7.0 homepage: https://powersync.com repository: https://github.com/powersync-ja/powersync.dart description: PowerSync Flutter SDK - keep PostgreSQL databases in sync with on-device SQLite databases. diff --git a/packages/powersync_attachments_helper/CHANGELOG.md b/packages/powersync_attachments_helper/CHANGELOG.md index 07615d02..84be3436 100644 --- a/packages/powersync_attachments_helper/CHANGELOG.md +++ b/packages/powersync_attachments_helper/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.6.5+1 + + - Update a dependency to the latest release. + ## 0.6.5 - Update a dependency to the latest release. diff --git a/packages/powersync_attachments_helper/pubspec.yaml b/packages/powersync_attachments_helper/pubspec.yaml index a4c8da8e..60f67c0c 100644 --- a/packages/powersync_attachments_helper/pubspec.yaml +++ b/packages/powersync_attachments_helper/pubspec.yaml @@ -1,6 +1,6 @@ name: powersync_attachments_helper description: A helper library for handling attachments when using PowerSync. -version: 0.6.5 +version: 0.6.5+1 repository: https://github.com/powersync-ja/powersync.dart homepage: https://www.powersync.com/ environment: @@ -10,7 +10,7 @@ dependencies: flutter: sdk: flutter - powersync: ^1.6.7 + powersync: ^1.7.0 logging: ^1.2.0 sqlite_async: ^0.8.1 path_provider: ^2.0.13 From 9a1ea283987d5239f231cc82a776d63cbdeab9b3 Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Fri, 6 Sep 2024 09:51:03 +0200 Subject: [PATCH 2/7] Update pubspec.lock. --- demos/django-todolist/pubspec.lock | 2 +- demos/supabase-anonymous-auth/pubspec.lock | 2 +- demos/supabase-edge-function-auth/pubspec.lock | 2 +- demos/supabase-simple-chat/pubspec.lock | 2 +- demos/supabase-todolist-drift/pubspec.lock | 4 ++-- demos/supabase-todolist/pubspec.lock | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/demos/django-todolist/pubspec.lock b/demos/django-todolist/pubspec.lock index ab8807e7..ab337cb5 100644 --- a/demos/django-todolist/pubspec.lock +++ b/demos/django-todolist/pubspec.lock @@ -310,7 +310,7 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.6.7" + version: "1.7.0" powersync_flutter_libs: dependency: "direct overridden" description: diff --git a/demos/supabase-anonymous-auth/pubspec.lock b/demos/supabase-anonymous-auth/pubspec.lock index f11e5741..9655ce3e 100644 --- a/demos/supabase-anonymous-auth/pubspec.lock +++ b/demos/supabase-anonymous-auth/pubspec.lock @@ -366,7 +366,7 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.6.7" + version: "1.7.0" powersync_flutter_libs: dependency: "direct overridden" description: diff --git a/demos/supabase-edge-function-auth/pubspec.lock b/demos/supabase-edge-function-auth/pubspec.lock index cdf25d0a..4b029e45 100644 --- a/demos/supabase-edge-function-auth/pubspec.lock +++ b/demos/supabase-edge-function-auth/pubspec.lock @@ -390,7 +390,7 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.6.7" + version: "1.7.0" powersync_flutter_libs: dependency: "direct overridden" description: diff --git a/demos/supabase-simple-chat/pubspec.lock b/demos/supabase-simple-chat/pubspec.lock index 43de8716..76b638c4 100644 --- a/demos/supabase-simple-chat/pubspec.lock +++ b/demos/supabase-simple-chat/pubspec.lock @@ -406,7 +406,7 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.6.7" + version: "1.7.0" powersync_flutter_libs: dependency: "direct overridden" description: diff --git a/demos/supabase-todolist-drift/pubspec.lock b/demos/supabase-todolist-drift/pubspec.lock index 44ac759e..7600f9a1 100644 --- a/demos/supabase-todolist-drift/pubspec.lock +++ b/demos/supabase-todolist-drift/pubspec.lock @@ -686,14 +686,14 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.6.7" + version: "1.7.0" powersync_attachments_helper: dependency: "direct main" description: path: "../../packages/powersync_attachments_helper" relative: true source: path - version: "0.6.5" + version: "0.6.5+1" powersync_flutter_libs: dependency: "direct overridden" description: diff --git a/demos/supabase-todolist/pubspec.lock b/demos/supabase-todolist/pubspec.lock index edf3123c..b4ccc39e 100644 --- a/demos/supabase-todolist/pubspec.lock +++ b/demos/supabase-todolist/pubspec.lock @@ -470,14 +470,14 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.6.7" + version: "1.7.0" powersync_attachments_helper: dependency: "direct main" description: path: "../../packages/powersync_attachments_helper" relative: true source: path - version: "0.6.5" + version: "0.6.5+1" powersync_flutter_libs: dependency: "direct overridden" description: From 385e91135d998b81d4c293e871ea6aaa087ed38e Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Fri, 6 Sep 2024 09:55:33 +0200 Subject: [PATCH 3/7] v1.8.0 --- CHANGELOG.md | 28 +++++++++++++++++++ demos/django-todolist/pubspec.yaml | 2 +- demos/supabase-anonymous-auth/pubspec.yaml | 2 +- .../supabase-edge-function-auth/pubspec.yaml | 2 +- demos/supabase-simple-chat/pubspec.yaml | 2 +- demos/supabase-todolist-drift/pubspec.yaml | 2 +- demos/supabase-todolist/pubspec.yaml | 2 +- packages/powersync/CHANGELOG.md | 12 ++++++++ packages/powersync/lib/src/version.dart | 2 +- packages/powersync/pubspec.yaml | 2 +- .../powersync_attachments_helper/pubspec.yaml | 2 +- 11 files changed, 49 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34c629a0..f3314bfc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,34 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2024-09-06 + +### Changes + +--- + +Packages with breaking changes: + + - There are no breaking changes in this release. + +Packages with other changes: + + - [`powersync` - `v1.8.0`](#powersync---v180) + +--- + +#### `powersync` - `v1.8.0` + + - Use powersync-sqlite-core v0.2.1 + - Customize `User-Agent` header + - Add `client_id` parameter to sync requests + - Persist `lastSyncedAt` + - Emit update notifications on `disconnectAndClear()` + - Validate that the `powersync-sqlite-core` version number is in a compatible range of `^0.2.0` + - Always cast `target_op` (write checkpoints) to ensure it's an integer + - Sync optimizations for MOVE and REMOVE operations + + ## 2024-08-23 ### Changes diff --git a/demos/django-todolist/pubspec.yaml b/demos/django-todolist/pubspec.yaml index 8bbade37..0b6298a9 100644 --- a/demos/django-todolist/pubspec.yaml +++ b/demos/django-todolist/pubspec.yaml @@ -10,7 +10,7 @@ environment: dependencies: flutter: sdk: flutter - powersync: ^1.7.0 + powersync: ^1.8.0 path_provider: ^2.1.1 path: ^1.8.3 logging: ^1.2.0 diff --git a/demos/supabase-anonymous-auth/pubspec.yaml b/demos/supabase-anonymous-auth/pubspec.yaml index c419cfe4..4e8f7a11 100644 --- a/demos/supabase-anonymous-auth/pubspec.yaml +++ b/demos/supabase-anonymous-auth/pubspec.yaml @@ -11,7 +11,7 @@ dependencies: flutter: sdk: flutter - powersync: ^1.7.0 + powersync: ^1.8.0 path_provider: ^2.1.1 supabase_flutter: ^2.0.2 path: ^1.8.3 diff --git a/demos/supabase-edge-function-auth/pubspec.yaml b/demos/supabase-edge-function-auth/pubspec.yaml index f3f98a7c..199ab329 100644 --- a/demos/supabase-edge-function-auth/pubspec.yaml +++ b/demos/supabase-edge-function-auth/pubspec.yaml @@ -11,7 +11,7 @@ dependencies: flutter: sdk: flutter - powersync: ^1.7.0 + powersync: ^1.8.0 path_provider: ^2.1.1 supabase_flutter: ^2.0.2 path: ^1.8.3 diff --git a/demos/supabase-simple-chat/pubspec.yaml b/demos/supabase-simple-chat/pubspec.yaml index 48622278..0ae38e4d 100644 --- a/demos/supabase-simple-chat/pubspec.yaml +++ b/demos/supabase-simple-chat/pubspec.yaml @@ -37,7 +37,7 @@ dependencies: supabase_flutter: ^2.0.2 timeago: ^3.6.0 - powersync: ^1.7.0 + powersync: ^1.8.0 path_provider: ^2.1.1 path: ^1.8.3 logging: ^1.2.0 diff --git a/demos/supabase-todolist-drift/pubspec.yaml b/demos/supabase-todolist-drift/pubspec.yaml index 56bff943..f889533c 100644 --- a/demos/supabase-todolist-drift/pubspec.yaml +++ b/demos/supabase-todolist-drift/pubspec.yaml @@ -10,7 +10,7 @@ dependencies: flutter: sdk: flutter powersync_attachments_helper: ^0.6.5+1 - powersync: ^1.7.0 + powersync: ^1.8.0 path_provider: ^2.1.1 supabase_flutter: ^2.0.1 path: ^1.8.3 diff --git a/demos/supabase-todolist/pubspec.yaml b/demos/supabase-todolist/pubspec.yaml index dd165b2e..63807b3b 100644 --- a/demos/supabase-todolist/pubspec.yaml +++ b/demos/supabase-todolist/pubspec.yaml @@ -11,7 +11,7 @@ dependencies: flutter: sdk: flutter powersync_attachments_helper: ^0.6.5+1 - powersync: ^1.7.0 + powersync: ^1.8.0 path_provider: ^2.1.1 supabase_flutter: ^2.0.1 path: ^1.8.3 diff --git a/packages/powersync/CHANGELOG.md b/packages/powersync/CHANGELOG.md index c152e2fa..986270af 100644 --- a/packages/powersync/CHANGELOG.md +++ b/packages/powersync/CHANGELOG.md @@ -1,3 +1,15 @@ +## 1.8.0 + + - Use powersync-sqlite-core v0.2.1 + - Customize `User-Agent` header + - Add `client_id` parameter to sync requests + - Persist `lastSyncedAt` + - Emit update notifications on `disconnectAndClear()` + - Validate that the `powersync-sqlite-core` version number is in a compatible range of `^0.2.0` + - Always cast `target_op` (write checkpoints) to ensure it's an integer + - Sync optimizations for MOVE and REMOVE operations + + ## 1.7.0 - **FEAT**: Include schema validation check diff --git a/packages/powersync/lib/src/version.dart b/packages/powersync/lib/src/version.dart index afd23634..48de2711 100644 --- a/packages/powersync/lib/src/version.dart +++ b/packages/powersync/lib/src/version.dart @@ -1 +1 @@ -const String libraryVersion = '1.6.4'; +const String libraryVersion = '1.8.0'; diff --git a/packages/powersync/pubspec.yaml b/packages/powersync/pubspec.yaml index 39c9e388..b8e7ee97 100644 --- a/packages/powersync/pubspec.yaml +++ b/packages/powersync/pubspec.yaml @@ -1,5 +1,5 @@ name: powersync -version: 1.7.0 +version: 1.8.0 homepage: https://powersync.com repository: https://github.com/powersync-ja/powersync.dart description: PowerSync Flutter SDK - keep PostgreSQL databases in sync with on-device SQLite databases. diff --git a/packages/powersync_attachments_helper/pubspec.yaml b/packages/powersync_attachments_helper/pubspec.yaml index 60f67c0c..21968187 100644 --- a/packages/powersync_attachments_helper/pubspec.yaml +++ b/packages/powersync_attachments_helper/pubspec.yaml @@ -10,7 +10,7 @@ dependencies: flutter: sdk: flutter - powersync: ^1.7.0 + powersync: ^1.8.0 logging: ^1.2.0 sqlite_async: ^0.8.1 path_provider: ^2.0.13 From a761f044b34aa6ffaf4402009919b938dfb839e6 Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Fri, 6 Sep 2024 09:59:36 +0200 Subject: [PATCH 4/7] Add note on powersync-service image version. --- CHANGELOG.md | 1 + packages/powersync/CHANGELOG.md | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3314bfc..239afd8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ Packages with other changes: #### `powersync` - `v1.8.0` + - Requires `journeyapps/powersync-service` v0.5.0 or later when self-hosting - Use powersync-sqlite-core v0.2.1 - Customize `User-Agent` header - Add `client_id` parameter to sync requests diff --git a/packages/powersync/CHANGELOG.md b/packages/powersync/CHANGELOG.md index 986270af..a2672cae 100644 --- a/packages/powersync/CHANGELOG.md +++ b/packages/powersync/CHANGELOG.md @@ -1,5 +1,6 @@ ## 1.8.0 + - Requires `journeyapps/powersync-service` v0.5.0 or later when self-hosting - Use powersync-sqlite-core v0.2.1 - Customize `User-Agent` header - Add `client_id` parameter to sync requests From 4130a72f3328aa3bf048e72bb89a5971aa203c0d Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Fri, 6 Sep 2024 10:12:45 +0200 Subject: [PATCH 5/7] Revert powersync_attachments_helper change. --- packages/powersync_attachments_helper/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/powersync_attachments_helper/pubspec.yaml b/packages/powersync_attachments_helper/pubspec.yaml index 21968187..60f67c0c 100644 --- a/packages/powersync_attachments_helper/pubspec.yaml +++ b/packages/powersync_attachments_helper/pubspec.yaml @@ -10,7 +10,7 @@ dependencies: flutter: sdk: flutter - powersync: ^1.8.0 + powersync: ^1.7.0 logging: ^1.2.0 sqlite_async: ^0.8.1 path_provider: ^2.0.13 From 4265aa620f227fdff75c7cf568a0f4c9f8a8c8f7 Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Fri, 6 Sep 2024 15:08:59 +0200 Subject: [PATCH 6/7] Update user-agent format. --- packages/powersync/lib/src/user_agent/user_agent_native.dart | 2 +- packages/powersync/lib/src/user_agent/user_agent_web.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/powersync/lib/src/user_agent/user_agent_native.dart b/packages/powersync/lib/src/user_agent/user_agent_native.dart index 49771c54..018ddf87 100644 --- a/packages/powersync/lib/src/user_agent/user_agent_native.dart +++ b/packages/powersync/lib/src/user_agent/user_agent_native.dart @@ -10,7 +10,7 @@ String powerSyncUserAgent() { } // Ideally we'd get an OS version as well, but that's a little complex. // Platform.operatingSystemVersion is very verbose. - return 'powersync-dart/$libraryVersion ($dart; ${Platform.operatingSystem})'; + return 'powersync-dart/$libraryVersion $dart ${Platform.operatingSystem}'; } Map userAgentHeaders() { diff --git a/packages/powersync/lib/src/user_agent/user_agent_web.dart b/packages/powersync/lib/src/user_agent/user_agent_web.dart index 28dc7012..fb9a9d6c 100644 --- a/packages/powersync/lib/src/user_agent/user_agent_web.dart +++ b/packages/powersync/lib/src/user_agent/user_agent_web.dart @@ -1,7 +1,7 @@ import 'package:powersync/src/version.dart'; String powerSyncUserAgent() { - return 'powersync-dart/$libraryVersion (flutter-web)'; + return 'powersync-dart/$libraryVersion Dart (flutter-web)'; } Map userAgentHeaders() { From 720f87647e2268ce82f3b2229408956c913cd4f0 Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Fri, 6 Sep 2024 15:10:53 +0200 Subject: [PATCH 7/7] Tweak changelog. --- CHANGELOG.md | 2 +- packages/powersync/CHANGELOG.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 239afd8c..cd08c20f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,7 +26,7 @@ Packages with other changes: - Customize `User-Agent` header - Add `client_id` parameter to sync requests - Persist `lastSyncedAt` - - Emit update notifications on `disconnectAndClear()` + - Emit update notifications for watch queries on `disconnectAndClear()` - Validate that the `powersync-sqlite-core` version number is in a compatible range of `^0.2.0` - Always cast `target_op` (write checkpoints) to ensure it's an integer - Sync optimizations for MOVE and REMOVE operations diff --git a/packages/powersync/CHANGELOG.md b/packages/powersync/CHANGELOG.md index a2672cae..98d129b7 100644 --- a/packages/powersync/CHANGELOG.md +++ b/packages/powersync/CHANGELOG.md @@ -5,7 +5,7 @@ - Customize `User-Agent` header - Add `client_id` parameter to sync requests - Persist `lastSyncedAt` - - Emit update notifications on `disconnectAndClear()` + - Emit update notifications for watch queries on `disconnectAndClear()` - Validate that the `powersync-sqlite-core` version number is in a compatible range of `^0.2.0` - Always cast `target_op` (write checkpoints) to ensure it's an integer - Sync optimizations for MOVE and REMOVE operations