Skip to content

Commit e9f099b

Browse files
realm-cinirinchev
andauthored
Prepare for 11.7.0 (#3507)
* Prepare for 11.7.0 * Fix docs build --------- Co-authored-by: nirinchev <nirinchev@users.noreply.github.com> Co-authored-by: Nikola Irinchev <irinchev@me.com>
1 parent b6a181b commit e9f099b

File tree

14 files changed

+30
-31
lines changed

14 files changed

+30
-31
lines changed

.github/templates/build-packages.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,19 @@
88
uses: #@ actionCache
99
with:
1010
path: 'C:\docfx'
11-
key: docfx-2.70.4
11+
key: docfx-2.75.2
1212
- name: Download docfx
1313
if: inputs.build-docs && steps.check-docfx-cache.outputs.cache-hit != 'true'
1414
run: |
15-
Invoke-WebRequest -Uri https://github.com/dotnet/docfx/releases/download/v2.70.4/docfx-win-x64-v2.70.4.zip -OutFile C:\docfx.zip
15+
Invoke-WebRequest -Uri https://github.com/dotnet/docfx/releases/download/v2.75.2/docfx-win-x64-v2.75.2.zip -OutFile C:\docfx.zip
1616
Expand-Archive -Path C:\docfx.zip -DestinationPath C:\docfx
1717
shell: powershell
18-
- _: #@ template.replace(setupDotnet("6.0.402", ifCondition = "inputs.build-docs"))
18+
- _: #@ template.replace(setupDotnet("7.0.x", ifCondition = "inputs.build-docs"))
1919
- name: Build docs
2020
if: inputs.build-docs
2121
env:
2222
DOCFX_SOURCE_BRANCH_NAME: ${{ github.head_ref }}
2323
run: |
24-
New-Item global.json
25-
Set-Content global.json '{ "sdk": { "version": "6.0.402" } }'
2624
C:\docfx\docfx Docs/docfx.json
2725
2826
#! the link generated by docfx is incorrect - it points to

.github/workflows/build-packages.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,25 +219,23 @@ jobs:
219219
uses: nirinchev/cache@29e8e4dd9148ea81f9e188480132072cb6cc92d8
220220
with:
221221
path: C:\docfx
222-
key: docfx-2.70.4
222+
key: docfx-2.75.2
223223
- name: Download docfx
224224
if: inputs.build-docs && steps.check-docfx-cache.outputs.cache-hit != 'true'
225225
run: |
226-
Invoke-WebRequest -Uri https://github.com/dotnet/docfx/releases/download/v2.70.4/docfx-win-x64-v2.70.4.zip -OutFile C:\docfx.zip
226+
Invoke-WebRequest -Uri https://github.com/dotnet/docfx/releases/download/v2.75.2/docfx-win-x64-v2.75.2.zip -OutFile C:\docfx.zip
227227
Expand-Archive -Path C:\docfx.zip -DestinationPath C:\docfx
228228
shell: powershell
229229
- name: Configure .NET
230230
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a
231231
if: inputs.build-docs
232232
with:
233-
dotnet-version: 6.0.402
233+
dotnet-version: 7.0.x
234234
- name: Build docs
235235
if: inputs.build-docs
236236
env:
237237
DOCFX_SOURCE_BRANCH_NAME: ${{ github.head_ref }}
238238
run: |
239-
New-Item global.json
240-
Set-Content global.json '{ "sdk": { "version": "6.0.402" } }'
241239
C:\docfx\docfx Docs/docfx.json
242240
- name: Update Improve this doc links
243241
run: |

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## vNext (TBD)
1+
## 11.7.0 (2024-02-05)
22

33
### Enhancements
44
* Automatic client reset recovery now does a better job of recovering changes when changesets were downloaded from the server after the unuploaded local changes were committed. If the local Realm happened to be fully up to date with the server prior to the client reset, automatic recovery should now always produce exactly the same state as if no client reset was involved. (Core 13.24.1)

Docs/docfx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"_appTitle": "Realm",
8080
"_appFaviconPath": "images/favicon.ico",
8181
"_appLogoPath": "images/logo.svg",
82-
"_appFooter": "Copyright © 2020-2023 <a href=\"https://realm.io\">Realm</a><br>Generated by <strong>DocFX</strong>",
82+
"_appFooter": "Copyright © 2020-2024 <a href=\"https://realm.io\">Realm</a><br>Generated by <strong>DocFX</strong>",
8383
"_gitContribute": {
8484
"repo": "https://github.com/realm/realm-dotnet.git",
8585
"branch": "main",

Realm/AssemblyInfo.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22
<PropertyGroup>
33
<Product Condition="'$(Product)' == ''">Realm .NET</Product>
4-
<VersionPrefix>11.6.1</VersionPrefix>
4+
<VersionPrefix>11.7.0</VersionPrefix>
55
<Description Condition="'$(Description)' == ''">Realm is a mobile database: a replacement for SQLite</Description>
66
<Company>Realm Inc.</Company>
77
<Copyright>Copyright © $([System.DateTime]::Now.ToString(yyyy)) Realm Inc.</Copyright>

Realm/Realm.Unity/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "io.realm.unity",
3-
"version": "11.6.1",
3+
"version": "11.7.0",
44
"displayName": "Realm",
55
"description": "Realm is an embedded, object-oriented database that lets you build real-time, always-on applications. With Realm, data is directly exposed as objects and queryable by code, removing the need for ORM's riddled with performance & maintenance issues. Additionally, objects and collections in Realm are always live, meaning that they always reflect the latest data stored in the database. You can subscribe to changes, letting you keep your UI consistently up to date.\nThe .NET Realm SDK also provide access to Atlas App Services, a secure backend that can sync data between devices, authenticate and manage users, and run serverless JavaScript functions.",
66
"unity": "2021.1",

Realm/Realm/Attributes/BacklinkAttribute.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,13 @@ namespace Realms
4747
/// }
4848
/// </code>
4949
/// </example>
50-
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
50+
[AttributeUsage(AttributeTargets.Property)]
5151
public sealed class BacklinkAttribute : Attribute
5252
{
53-
internal string Property { get; }
53+
/// <summary>
54+
/// Gets the property that is on the other end of the relationship.
55+
/// </summary>
56+
public string Property { get; }
5457

5558
/// <summary>
5659
/// Initializes a new instance of the <see cref="BacklinkAttribute"/> class.

Realm/Realm/DatabaseTypes/QueryArgument.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ private QueryArgument(RealmValue? realmValue = null, GeoShapeBase? geoValue = nu
300300
public static implicit operator QueryArgument(RealmObjectBase? value) => new(value);
301301

302302
/// <summary>
303-
/// Implicitly constructs a <see cref="QueryArgument"/> from <see cref="RealmValue" />.
303+
/// Implicitly constructs a <see cref="QueryArgument"/> from <see cref="Realms.RealmValue" />.
304304
/// </summary>
305305
/// <param name="value">The value to store in the <see cref="QueryArgument"/>.</param>
306306
/// <returns>A <see cref="QueryArgument"/> containing the supplied <paramref name="value"/>.</returns>

Realm/Realm/Exceptions/RealmDecryptionFailedException.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,19 @@
1616
//
1717
////////////////////////////////////////////////////////////////////////////
1818

19+
using Realms.Sync;
20+
1921
namespace Realms.Exceptions
2022
{
2123
/// <summary>
2224
/// An exception, raised when file decryption is unsuccessful, most likely due to invalid
23-
/// <see cref="RealmConfigurationBase.EncryptionKey"/>.
25+
/// <see cref="RealmConfiguration.EncryptionKey"/>.
26+
/// <see cref="SyncConfigurationBase.EncryptionKey"/>.
2427
/// </summary>
2528
public class RealmDecryptionFailedException : RealmFileAccessErrorException
2629
{
2730
internal RealmDecryptionFailedException(string message) : base(message)
2831
{
2932
}
3033
}
31-
}
34+
}

Realm/Realm/Extensions/CollectionExtensions.cs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public static void Move<T>(this IList<T> list, int from, int to)
260260
/// </summary>
261261
/// <param name="dictionary">The <see cref="IDictionary{String, T}"/> to observe for changes.</param>
262262
/// <typeparam name="T">Type of the elements in the dictionary.</typeparam>
263-
/// <seealso cref="IRealmCollection{TValue}.SubscribeForNotifications"/>
263+
/// <seealso cref="IRealmCollection{T}.SubscribeForNotifications"/>
264264
/// <returns>The collection, implementing <see cref="INotifyCollectionChanged"/>.</returns>
265265
public static IRealmCollection<KeyValuePair<string, T>> AsRealmCollection<T>(this IDictionary<string, T> dictionary)
266266
{
@@ -310,7 +310,7 @@ public static IQueryable<T> AsRealmQueryable<T>(this IDictionary<string, T?> dic
310310
/// </summary>
311311
/// <param name="dictionary">The <see cref="IDictionary{String, T}"/> to observe for changes.</param>
312312
/// <typeparam name="T">Type of the elements in the dictionary.</typeparam>
313-
/// <seealso cref="IRealmCollection{TValue}.SubscribeForNotifications"/>
313+
/// <seealso cref="IRealmCollection{T}.SubscribeForNotifications"/>
314314
/// <param name="callback">The callback to be invoked with the updated <see cref="IRealmCollection{T}"/>.</param>
315315
/// <returns>
316316
/// A subscription token. It must be kept alive for as long as you want to receive change notifications.
@@ -326,7 +326,7 @@ public static IDisposable SubscribeForNotifications<T>(this IDictionary<string,
326326
/// </summary>
327327
/// <param name="dictionary">The <see cref="IDictionary{String, T}"/> to observe for changes.</param>
328328
/// <typeparam name="T">Type of the elements in the dictionary.</typeparam>
329-
/// <seealso cref="IRealmCollection{TValue}.SubscribeForNotifications"/>
329+
/// <seealso cref="IRealmCollection{T}.SubscribeForNotifications"/>
330330
/// <param name="callback">The callback to be invoked with the updated <see cref="IRealmCollection{T}"/>.</param>
331331
/// <returns>
332332
/// A subscription token. It must be kept alive for as long as you want to receive change notifications.
@@ -403,10 +403,7 @@ public static IQueryable<T> Filter<T>(this IQueryable<T> query, string predicate
403403
/// joe.dogs.Filter("Name BEGINSWITH $0", "R");
404404
/// </code>
405405
/// </example>
406-
/// <seealso href="https://docs.mongodb.com/realm/reference/realm-query-language/">
407-
/// Examples of the NSPredicate syntax
408-
/// </seealso>
409-
/// <seealso href="https://academy.realm.io/posts/nspredicate-cheatsheet/">NSPredicate Cheatsheet</seealso>
406+
/// <seealso href="https://docs.mongodb.com/realm/reference/realm-query-language/"/>
410407
public static IQueryable<T> Filter<T>(this IList<T> list, string predicate, params QueryArgument[] arguments)
411408
where T : IRealmObjectBase
412409
{
@@ -612,4 +609,4 @@ private static void PopulateCollectionCore<T>(ICollection<T>? source, ICollectio
612609
}
613610
}
614611
}
615-
}
612+
}

0 commit comments

Comments
 (0)