Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for 12.14.1 #6966

Merged
merged 1 commit into from
Jan 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
## vNext (TBD)

### Deprecations
* None

### Enhancements
* None
## 12.14.1 (2025-01-28)

### Fixed
* Closing and opening a realm before a token refresh is completed, would result in two sync sessions both try to start synchronizing the realm when the refreshes do complete, leading to a crash with a MultipleSyncAgents exception. ([realm/realm-core#8064](https://github.com/realm/realm-core/issues/8064))
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/realm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "realm",
"version": "12.14.0",
"version": "12.14.1",
"description": "Realm by MongoDB is an offline-first mobile database: an alternative to SQLite and key-value stores",
"license": "apache-2.0",
"homepage": "https://www.mongodb.com/docs/realm/",

Unchanged files with check annotations Beta

// Other methods
// TODO: Implement this method
/**

Check warning on line 691 in packages/realm/src/OrderedCollection.ts

GitHub Actions / Lint

JSDoc @returns declaration present but return expression not available in function
* @returns A string describing the filters applied to this collection.
*/
description(): string {
/**
* Deletes a Realm model, including all of its objects.
* If called outside a migration function, {@link schema} and {@link schemaVersion} are updated.

Check warning on line 845 in packages/realm/src/Realm.ts

GitHub Actions / Lint

The type 'schemaVersion' is undefined
* @param name - The model name.
*/
deleteModel(name: string): void {
* Remove the listener {@link callback} for the specified event {@link eventName}.
* @param eventName - The event name.
* @param callback - Function that was previously added as a listener for this event through the {@link addListener} method.
* @throws an {@link Error} If an invalid event {@link eventName} is supplied, if Realm is closed or if {@link callback} is not a function.

Check warning on line 1007 in packages/realm/src/Realm.ts

GitHub Actions / Lint

The type 'addListener' is undefined
*/
removeListener(eventName: RealmEventName, callback: RealmListenerCallback): void {
assert.open(this);
}
/**
* Synchronously call the provided {@link callback} inside a write transaction. If an exception happens inside a transaction,

Check warning on line 1051 in packages/realm/src/Realm.ts

GitHub Actions / Lint

The type 'beginTransaction' is undefined

Check warning on line 1051 in packages/realm/src/Realm.ts

GitHub Actions / Lint

The type 'commitTransaction' is undefined

Check warning on line 1051 in packages/realm/src/Realm.ts

GitHub Actions / Lint

The type 'cancelTransaction' is undefined

Check warning on line 1051 in packages/realm/src/Realm.ts

GitHub Actions / Lint

The type 'commitTransaction' is undefined

Check warning on line 1051 in packages/realm/src/Realm.ts

GitHub Actions / Lint

The type 'write' is undefined

Check warning on line 1051 in packages/realm/src/Realm.ts

GitHub Actions / Lint

The type 'write' is undefined

Check warning on line 1051 in packages/realm/src/Realm.ts

GitHub Actions / Lint

The type 'write' is undefined
* you’ll lose the changes in that transaction, but the Realm itself won’t be affected (or corrupted).
* More precisely, {@link beginTransaction} and {@link commitTransaction} will be called
* automatically. If any exception is thrown during the transaction {@link cancelTransaction} will