Skip to content

Commit

Permalink
Smaller fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kneth committed Feb 29, 2024
1 parent 09aea7d commit f560e0f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

NOTE: This version bumps the Realm file format to version 24. It is not possible to downgrade to earlier versions. Older files will automatically be upgraded to the new file format. Files created by Realm JavaScript prior to v6.0.0, might not be upgradeable. Only Realm Studio 15.0.0 or later will be able to open the new file format.


### Deprecations
* None

Expand Down
2 changes: 1 addition & 1 deletion packages/realm/src/Realm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export class Realm {
* Check if the Realm file format will be upgraded during opening the file.
* @param arg - The configuration for the Realm or the path to it.
* @returns `true` if the Realm file is using an older file format, otherwise `false`.
* @since 12.8.0
* @since 12.7.0
*/
public static needsFileFormatUpgrade(arg: Configuration | string = {}): boolean {
const config = typeof arg === "string" ? { path: arg } : arg;
Expand Down

0 comments on commit f560e0f

Please sign in to comment.