Realm 10.14.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Realm --version 10.14.0
NuGet\Install-Package Realm -Version 10.14.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Realm" Version="10.14.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Realm --version 10.14.0
#r "nuget: Realm, 10.14.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Realm as a Cake Addin
#addin nuget:?package=Realm&version=10.14.0

// Install Realm as a Cake Tool
#tool nuget:?package=Realm&version=10.14.0

Realm is a mobile database: a replacement for SQLite

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios is compatible. 
Xamarin.Mac xamarinmac is compatible. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (39)

Showing the top 5 NuGet packages that depend on Realm:

Package Downloads
ppy.osu.Game

Package Description

Iridium360.Connect.Framework

This framework allows you to bind your Android or iOS device with i360RockSTAR tracker

ItEnterprise.Common.CoreStandard

ItEnterprise Common.CoreStandard for Xamarin Forms

Arc4u.Standard.Diagnostics.Serilog.Sinks.RealmDb

Arc4u Diagnostics Serilog Sink to RealmDB

ItEnterprise.WmsStandard

ItEnterprise WmsStandard for Xamarin Forms

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on Realm:

Repository Stars
ppy/osu
rhythm is just a *click* away!
realm/realm-dotnet
Realm is a mobile database: a replacement for SQLite & ORMs
sgermosen/xReader
XML, NEWS, RSS & Scrapping Reader maked in Xamarin, for educational purpose.
realm/realm-draw
The official Realm Draw app used in promotional videos
dsa28s/windows-hangul-clock
Hangul Clock for Windows Desktop Widget
Version Downloads Last updated
12.0.0 1,364 4/17/2024
11.7.0 39,528 2/5/2024
11.6.1 55,929 11/17/2023
11.6.0 10,858 11/4/2023
11.5.0 154,469 9/16/2023
11.4.0 22,750 8/16/2023
11.3.0 30,699 7/26/2023
11.2.0 14,652 7/8/2023
11.1.2 95,016 6/20/2023
11.1.1 5,439 6/19/2023
11.1.0 2,563 6/17/2023
11.0.0 35,571 5/8/2023
10.21.1 31,992 4/21/2023
10.21.0 21,890 3/24/2023
10.20.0 85,657 2/10/2023
10.19.0 31,860 1/6/2023
10.18.0 122,552 11/2/2022
10.17.0 84,375 10/6/2022
10.16.0 12,478 10/3/2022
10.15.1 103,394 8/8/2022
10.15.0 5,497 8/5/2022
10.14.0 169,875 6/2/2022
10.13.0 26,674 5/18/2022
10.12.0 18,034 5/5/2022
10.11.2 34,537 4/21/2022
10.11.1 20,290 3/31/2022
10.11.0 5,313 3/28/2022
10.10.0 93,759 2/28/2022
10.9.0 72,490 1/21/2022
10.8.0 37,536 1/17/2022
10.7.1 101,440 11/20/2021
10.7.0 7,065 11/10/2021
10.6.0 157,260 9/30/2021
10.5.1 17,909 9/22/2021
10.5.0 30,416 9/9/2021
10.4.1 3,578 9/3/2021
10.4.0 11,187 8/31/2021
10.3.0 136,941 7/7/2021
10.2.1 26,619 7/1/2021
10.2.0 26,389 6/15/2021
10.2.0-beta.2 761 5/5/2021
10.2.0-beta.1 350 4/12/2021
10.1.4 18,998 5/12/2021
10.1.3 19,929 4/29/2021
10.1.2 29,232 3/19/2021
10.1.1 21,999 2/25/2021
10.1.0 12,855 2/9/2021
10.0.1 6,799 2/2/2021
10.0.0-beta.6 430 1/26/2021
10.0.0-beta.5 636 1/19/2021
10.0.0-beta.3 1,150 12/10/2020
10.0.0-beta.2 1,464 11/4/2020
10.0.0-beta.1 727 10/16/2020
10.0.0-alpha.43 360 10/9/2020
10.0.0-alpha.34 470 10/4/2020
5.1.3 24,653 2/10/2021
5.1.2 82,944 10/20/2020
5.1.1 27,144 10/2/2020
5.1.0 6,319 9/30/2020
5.0.1 10,667 9/9/2020
4.3.0 269,199 2/5/2020
4.2.0 69,538 10/8/2019
4.1.0 86,330 8/6/2019
4.0.1 19,841 6/27/2019
4.0.0 6,202 6/14/2019
3.4.0 100,877 1/9/2019
3.3.0 26,171 11/8/2018
3.2.1 43,774 9/27/2018
3.2.0 15,127 9/4/2018
3.1.0 32,335 7/4/2018
3.0.0 108,280 4/16/2018
2.2.0 12,626 3/22/2018
2.1.0 54,467 11/13/2017
2.0.0 18,246 10/17/2017
2.0.0-rc1 2,527 10/3/2017
1.6.0 35,348 8/15/2017
1.5.0 17,935 6/20/2017
1.4.0 14,842 5/19/2017
1.3.0 3,682 5/16/2017
1.2.1 7,904 5/1/2017
1.2.0 5,909 4/4/2017
1.1.1 7,459 3/15/2017
1.1.0 3,618 3/3/2017
1.0.4 4,831 2/21/2017
1.0.3 17,020 2/14/2017
0.82.1 18,430 1/27/2017
0.82.0 3,317 1/23/2017
0.81.0 5,396 12/15/2016
0.80.0 11,401 10/27/2016
0.78.1 20,551 9/15/2016
0.78.0 2,713 9/11/2016
0.77.2 5,583 8/11/2016
0.77.1 3,156 7/28/2016
0.76.1 6,037 6/15/2016
0.76.0 3,338 6/9/2016
0.75.0 3,148 6/3/2016
0.74.1 5,755 5/10/2016

## 10.14.0 (2022-06-02)

### Enhancements
* Added a more efficient replacement for `Realm.WriteAsync`. The previous API would start a background thread, open the Realm there and run a synchronous write transaction on the background thread. The new API will asynchronously acquire the write lock (begin transaction) and asynchronously commit the transaction, but the actual write block will execute on the original thread. This means that objects/queries captured before the block can be used inside the block without relying on threadsafe references. Importantly, you can mix and match async and sync calls. And when calling any `Realm.WriteAsync` on a background thread the call is just run synchronously, so you should use `Realm.Write` for readability sake. The new API is made of `Realm.WriteAsync<T>(Func<T> function, CancellationToken cancellationToken)`, `Realm.WriteAsync(Action action, CancellationToken cancellationToken)`, `Realm.BeginWriteAsync(CancellationToken cancellationToken)` and `Transaction.CommitAsync(CancellationToken cancellationToken)`. While the `Transaction.Rollback()` doesn't need an async counterpart. The deprecated API calls are `Realm.WriteAsync(Action<Realm> action)`, `Real.WriteAsync<T>(Func<Realm, IQueryable<T>> function)`, `Realm.WriteAsync<T>(Func<Realm, IList<T>> function)` and `Realm.WriteAsync<T>(Func<Realm, T> function)`. Here is an example of usage:
 ```csharp
 using Realms;

 var person = await _realm.WriteAsync(() =>
 {
   return _realm.Add(
     new Person
     {
       FirstName = "Marco"
     });
 });

 // you can use/modify person now
 // without the need of using ThreadSafeReference
 ```
 (PR [#2899](https://github.com/realm/realm-dotnet/pull/2899))
* Added the method `App.DeleteUserFromServerAsync` to delete a user from the server. It will also invalidate the user locally as well as remove all their local data. It will not remove any data the user has uploaded from the server. (Issue [#2675](https://github.com/realm/realm-dotnet/issues/2675))
* Added boolean property `ChangeSet.IsCleared` that is true when the collection gets cleared. Also Realm collections now raise `CollectionChanged` event with action `Reset` instead of `Remove` when the collections is cleared. Please note that this will work only with collection properties, such as `IList` and `ISet`. (Issue [#2856](https://github.com/realm/realm-dotnet/issues/2856))
* Added `PopulateInitialSubscriptions` to `FlexibleSyncConfiguration` - this is a callback that will be invoked the first time a Realm is opened. It allows you to create the initial subscriptions that will be added to the Realm before it is opened. (Issue [#2913](https://github.com/realm/realm-dotnet/issues/2913))
* Bump the SharedInfo version to 12. This requires update of any app accessing the file in a multiprocess scenario, including Realm Studio.
* The sync client will gracefully handle compensating write error messages from the server and pass detailed info to the SDK's sync error handler about which objects caused the compensating write to occur. ([#5528](https://github.com/realm/realm-core/pull/5528))

### Fixed
* Adding an object to a Set, deleting the parent object, and then deleting the previously mentioned object causes crash ([#5387](https://github.com/realm/realm-core/issues/5387))
* Flexible sync would not correctly resume syncing if a bootstrap was interrupted ([#5466](https://github.com/realm/realm-core/pull/5466))
* Flexible sync will now ensure that a bootstrap from the server will only be applied if the entire bootstrap is received - ensuring there are no orphaned objects as a result of changing the read snapshot on the server ([#5331](https://github.com/realm/realm-core/pull/5331))
* Partially fix a performance regression in write performance on Apple platforms. Committing an empty write transaction is ~10x faster than 10.13.0, but still slower than pre-10.7.1 due to using more crash-safe file synchronization (since v10.7.1). (Swift issue [#7740](https://github.com/realm/realm-swift/issues/7740)).

### Compatibility
* Realm Studio: 11.0.0 or later.

### Internal
* Using Core 12.1.0.