Upgrade to Pro — share decks privately, control downloads, hide ads and more …

realm version update summary

Realm
November 25, 2015

realm version update summary

Realm meetup Seoul
2015/11/20

Realm

November 25, 2015
Tweet

More Decks by Realm

Other Decks in Technology

Transcript

  1. Cocoa Java 0.2 2014. 3 Now 2015. 1 0.78 2014.

    8 2015. 6 2014. 5 2014. 10 2015. 4 2015. 8 0.70 Public beta Single Jar, @Index 0.71 0.75 Closeable, writeToCopyTo, compactRealmFile Proper support for encryption. 0.79 ARM 64, negate condition, @PrimaryKey 0.80.1 Improve performance and reliability. 0.80.3 Fix many bugs and improve exceptions. 0.81 RealmModules, defaultInstance,
 Kotlin (M12+) 0.83 0.82 @PrimaryKey are indexed automatically,
 in-memory Realm, @Index for many types. Box types, File format update, x86_64. 0.84 Async queries and transactions. 0.85 New encryption implementation. Many breaking changes. 0.96 Aggregate operations on List (min, max, sum,…)
 collection operators (@count, @min, @max, …)
 Null support 0.95 RLMObject - Key-Value Observing,
 improve performance 0.94 Nullability annotations ,Improve reliability,
 reduce the amount of memory used, fix bugs 0.93 Primary keys indexed, improve error reporting. 0.91 Sharing Realm files between processes. 0.90 [RLMRealm writeCopyToPath:encryptionKey:error:]
 comparing string columns to other string columns 0.89 support for encrypting Realm files
 Support using KVC-compliant objects 0.87 new migration API, cancelWriteTransaction
 support partial updates 0.84 IN operator, BETWEEN operator,
 multi-level link queries 0.82 autorefresh property,
 [RLMRealm defaultRealmPath] 0.20 API breaking changes: everything T.T
  2. Cocoa Java Now 2015. 8 0.83 0.82 @PrimaryKey are indexed

    automatically,
 in-memory Realm, @Index for many types. Box types, File format update, x86_64. 0.84 Async queries and transactions. 0.85 New encryption implementation. 0.96 0.95.1 RLMObject - Key-Value Observing,
 improve performance Aggregate operations on List (min, max, sum,…)
 collection operators (@count, @min, @max, …)
 Null support
  3. Java 0.82 Since all primary keys are now automatically indexed,

    your old primary keys of type short and int will need to be migrated to be indexed fields.
  4. Java 0.84 • Realm.isClosed():
 ೞࠗ੄ Realm ౵ੌ੉ ৈ੹൤ ৌ۰੓ח૑ ഛੋ೤פ׮.


    • Realm.isInTransaction():
 Realm౵ੌ੉ ৈ੹൤ ॳӝ ౟ے੥࣌ ࢚కੋ૑ ഛੋ೤פ׮.
 • RealmQuery.isValid(), RealmList.isValid(), RealmResults.isValid():
 ೞࠗ੄ Realm੉ ײഃ੓Ѣա ؘ੉ఠо ࢏ઁغ঻ח૑ ഛੋ೤פ׮.
  5. Java 0.85 • Realm.isEmpty():
 যڃ ؘ੉ఠܳ о૑Ҋ ੓ח૑ ഛੋ೤פ׮.
 •

    RealmEncryptionNotSupportedException ತӝ.
 • Realm.executeTransaction():
 RealmException ؀नী RuntimeExceptionਸ ૒੽ ؍૗.
 ৘৻о ߊࢤೞݶ ੗زਵ۽ ܀ߔ੉ ੉ܖয૓׮.
 • RealmQuery.isNull(), RealmQuery.isNotNull():
 RealmError ؀न IllegalArgumentExceptionਸ ؍૗.