Realm v0.11.0 Release Notes

  • โšก๏ธ The Objective-C API has been updated and your code will break!

    API breaking changes

    • RLMTable objects can only be created with an RLMRealm object.
    • ๐Ÿ“‡ Renamed RLMContext to RLMTransactionManager
    • ๐Ÿ“‡ Renamed RLMContextDidChangeNotification to RLMRealmDidChangeNotification
    • 0๏ธโƒฃ Renamed contextWithDefaultPersistence to managerForDefaultRealm
    • ๐Ÿ“‡ Renamed contextPersistedAtPath: to managerForRealmWithPath:
    • 0๏ธโƒฃ Renamed realmWithDefaultPersistence to defaultRealm
    • 0๏ธโƒฃ Renamed realmWithDefaultPersistenceAndInitBlock to defaultRealmWithInitBlock
    • ๐Ÿ“‡ Renamed find: to firstWhere:
    • ๐Ÿ“‡ Renamed where: to allWhere:
    • ๐Ÿ“‡ Renamed where:orderBy: to allWhere:orderBy:

    โœจ Enhancements

    • โž• Added countWhere: on RLMTable
    • โž• Added sumOfColumn:where: on RLMTable
    • โž• Added averageOfColumn:where: on RLMTable
    • โž• Added minOfProperty:where: on RLMTable
    • โž• Added maxOfProperty:where: on RLMTable
    • โž• Added toJSONString on RLMRealm, RLMTable and RLMView
    • โž• Added support for NOT operator in predicates
    • โž• Added support for default values
    • โž• Added validation support in createInRealm:withObject:

    ๐Ÿ›  Bugfixes

    • None.