Skip to content

Commit 71bf95a

Browse files
committed
Cleanup.
1 parent e629fa3 commit 71bf95a

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

PowerSync/PowerSync.Common/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# PowerSync.Common Changelog
22

33
## 0.0.6-alpha.1
4+
- Updated to the lastest version (0.4.10) of the core extension.
45
- Dropping support for the legacy C# sync implementation.
56
- Add `trackPreviousValues` option on `TableOptions` which sets `CrudEntry.PreviousValues` to previous values on updates.
67
- Add `trackMetadata` option on `TableOptions` which adds a `_metadata` column that can be used for updates. The configured metadata is available through `CrudEntry.Metadata`.
@@ -10,7 +11,7 @@
1011
- Report `PriorityStatusEntries` on `SyncStatus`.
1112

1213
## 0.0.5-alpha.1
13-
- Using the latest (0.4.9) version of the core extension, it introduces support for the Rust Sync implementation and also makes it the default - users can still opt out and use the legacy C# sync implementation as option when calling `connect()`.
14+
- Using the latest version (0.4.9) of the core extension, it introduces support for the Rust Sync implementation and also makes it the default - users can still opt out and use the legacy C# sync implementation as option when calling `connect()`.
1415

1516
## 0.0.4-alpha.1
1617
- Fixed MAUI issues related to extension loading when installing package outside of the monorepo.

PowerSync/PowerSync.Common/Client/PowerSyncDatabase.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,14 +241,14 @@ private async Task LoadVersion()
241241
catch (Exception e)
242242
{
243243
throw new Exception(
244-
$"Unsupported PowerSync extension version. Need >=0.4.10 <1.0.0, got: {sdkVersion}. Details: {e.Message}"
244+
$"Unsupported PowerSync extension version. Need >=0.4.5 <1.0.0, got: {sdkVersion}. Details: {e.Message}"
245245
);
246246
}
247247

248-
// Validate version is >= 0.4.10 and < 1.0.0
249-
if (versionInts[0] != 0 || versionInts[1] < 4 || (versionInts[1] == 4 && versionInts[2] < 10))
248+
// Validate version is >= 0.4.5 and < 1.0.0
249+
if (versionInts[0] != 0 || versionInts[1] < 4 || (versionInts[1] == 4 && versionInts[2] < 5))
250250
{
251-
throw new Exception($"Unsupported PowerSync extension version. Need >=0.4.10 <1.0.0, got: {sdkVersion}");
251+
throw new Exception($"Unsupported PowerSync extension version. Need >=0.4.5 <1.0.0, got: {sdkVersion}");
252252
}
253253
}
254254

Tests/PowerSync/PowerSync.Common.Tests/TestSchema.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static Schema GetSchemaWithCustomAssetOptions(TableOptions? assetOptions
4040
return new Schema(new Dictionary<string, Table>
4141
{
4242
{ "assets", customAssets },
43-
// { "customers", Customers }
43+
{ "customers", Customers }
4444
});
4545
}
4646
}

0 commit comments

Comments
 (0)