Realm v3.1.0 Release Notes

Release Date: 2018-01-16 // over 6 years ago
    • Prebuilt frameworks are now included for Swift 3.2.3 and 4.0.3.
    • Prebuilt frameworks are no longer included for Swift 3.0.x.
    • ๐Ÿ— Building from source with Xcode versions prior to Xcode 8.3 is no longer supported.

    โœจ Enhancements

    • โž• Add Results.distinct(by:) / -[RLMResults distinctResultsUsingKeyPaths:], which return a Results containing only objects with unique values at the given key paths.
    • ๐Ÿ‘Œ Improve performance of change checking for notifications in certain cases.
    • Realm Object Server errors not explicitly recognized by the client are now reported to the application regardless.
    • โž• Add support for JSON Web Token as a sync credential source.
    • โž• Add support for Nickname and Anonymous Auth as a sync credential source.
    • ๐Ÿ‘Œ Improve allocator performance when writing to a highly fragmented file. This should significantly improve performance when inserting large numbers of objects which have indexed properties.
    • ๐Ÿ‘Œ Improve write performance for complex object graphs involving many classes linking to each other.

    ๐Ÿ›  Bugfixes

    • โž• Add a missing check for a run loop in the permission API methods which require one.
    • ๐Ÿ›  Fix some cases where non-fatal sync errors were being treated as fatal errors.