diff --git a/CHANGELOG.md b/CHANGELOG.md index 374470a0..60b72d2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## vNext (TBD) + +### Enhancements + +- None + +### Fixed + +- Restored ability to open a synchronized Realm with Studio. [#1644](https://github.com/realm/realm-studio/issues/1644) + +### Internals + +- None + + ## 15.0.0 (2024-03-26) ### Breaking Changes diff --git a/src/ui/reusable/RealmLoadingComponent/index.tsx b/src/ui/reusable/RealmLoadingComponent/index.tsx index 92d3f2c2..6c8fbe18 100644 --- a/src/ui/reusable/RealmLoadingComponent/index.tsx +++ b/src/ui/reusable/RealmLoadingComponent/index.tsx @@ -119,10 +119,12 @@ export abstract class RealmLoadingComponent< path: realm.path, encryptionKey: realm.encryptionKey, disableFormatUpgrade: realm.enableFormatUpgrade ? false : true, - sync: realm.sync as any, + openSyncedRealmLocally: realm.sync, schema, schemaVersion, - }); + } satisfies Realm.Configuration & { + openSyncedRealmLocally?: boolean; + } as any); } catch (error) { if ( error instanceof Error &&