turecross321 / SoundShapesServer

A custom server for Sound Shapes
https://sound.ture.fish
GNU Affero General Public License v3.0
5 stars 1 forks source link

Bump Realm from 12.1.0 to 12.2.0 #259

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps Realm from 12.1.0 to 12.2.0.

Release notes

Sourced from Realm's releases.

12.2.0 (2024-05-22)

Enhancements

  • Added support for Migration.FindInNewRealm which is a helper that allows you to lookup the object in the post-migration Realm that corresponds to an object from the pre-migration Realm. (Issue #3600)

  • Added [System.Reflection.Obfuscation] on the generated RealmSchema field to improve compatibility with obfuscation tools that change field and property names of generated classes. (Issue #3574)

  • Added support for list and dictionaries of RealmValue (IList<RealmValue> and IDictionary<string, RealmValue>) to be contained in a RealmValue. Lists and dictionaries can contain an arbitrary number of collections themselves. It is possible to convert an existing collection to a RealmValue using the new static methods RealmValue.List and RealmValue.Dictionary or using the implicit operators if converting from common types like List, RealmValue[] or Dictionary. Finally, it is possible to obtain the contained collections by using the new conversion method AsList and AsDictionary. For example:

    var list = new List<RealmValue> { 1, true, "stringVal" };
    

    var rvo = realm.Write(() => { return realm.Add(new RealmValueObject { RealmValueProperty = list}); });

    var retrievedList = rvo.RealmValueProperty.AsList();

    (PR #3441)

Fixed

  • Accessing App.CurrentUser from within a User.Changed notification would deadlock. (Core 14.7.0)
  • Inserting the same link to the same key in a dictionary more than once would incorrectly create multiple backlinks to the object. This did not appear to cause any crashes later, but would have affected the value returned by RealmObject.BacklinksCount and queries involving backlinks counts. (Core 14.7.0)
  • Fixed an issue that would cause RealmObject.DynamicApi.GetList/Set/Dictionary to fail when the collection contains primitive values. (Issue #3597)

Compatibility

  • Realm Studio: 15.0.0 or later.

Internal

  • Using Core 14.7.0.
Changelog

Sourced from Realm's changelog.

12.2.0 (2024-05-22)

Enhancements

  • Added support for Migration.FindInNewRealm which is a helper that allows you to lookup the object in the post-migration Realm that corresponds to an object from the pre-migration Realm. (Issue #3600)

  • Added [System.Reflection.Obfuscation] on the generated RealmSchema field to improve compatibility with obfuscation tools that change field and property names of generated classes. (Issue #3574)

  • Added support for list and dictionaries of RealmValue (IList<RealmValue> and IDictionary<string, RealmValue>) to be contained in a RealmValue. Lists and dictionaries can contain an arbitrary number of collections themselves. It is possible to convert an existing collection to a RealmValue using the new static methods RealmValue.List and RealmValue.Dictionary or using the implicit operators if converting from common types like List, RealmValue[] or Dictionary. Finally, it is possible to obtain the contained collections by using the new conversion method AsList and AsDictionary. For example:

    var list = new List<RealmValue> { 1, true, "stringVal" };
    

    var rvo = realm.Write(() => { return realm.Add(new RealmValueObject { RealmValueProperty = list}); });

    var retrievedList = rvo.RealmValueProperty.AsList();

    (PR #3441)

Fixed

  • Accessing App.CurrentUser from within a User.Changed notification would deadlock. (Core 14.7.0)
  • Inserting the same link to the same key in a dictionary more than once would incorrectly create multiple backlinks to the object. This did not appear to cause any crashes later, but would have affected the value returned by RealmObject.BacklinksCount and queries involving backlinks counts. (Core 14.7.0)
  • Fixed an issue that would cause RealmObject.DynamicApi.GetList/Set/Dictionary to fail when the collection contains primitive values. (Issue #3597)

Compatibility

  • Realm Studio: 15.0.0 or later.

Internal

  • Using Core 14.7.0.
Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)