Changelog History
Page 25
-
v0.93.1 Changes
May 29, 2015๐ Bugfixes
- ๐ Objects are no longer copied into standalone objects during object creation. This fixes an issue where nested objects with a primary key are sometimes duplicated rather than updated.
- Comparison predicates with a constant on the left of the operator and key path on the right now give correct results. An exception is now thrown for predicates that do not yet support this ordering.
- ๐ Fix some crashes in
index_string.cpp
with int primary keys or indexed int properties.
-
v0.93.0 Changes
May 27, 2015API breaking changes
- Schema versions are now represented as
uint64_t
(Objective-C) andUInt64
(Swift) so that they have the same representation on all architectures.
โจ Enhancements
- Swift:
Results
now conforms toCVarArgType
so it can now be passed as an argument toResults.filter(_:...)
andList.filter(_:...)
. - Swift: Made
SortDescriptor
conform to theEquatable
andStringLiteralConvertible
protocols. - Int primary keys are once again automatically indexed.
- ๐ Improve error reporting when attempting to mark a property of a type that cannot be indexed as indexed.
๐ Bugfixes
- Swift:
RealmSwift.framework
no longer embedsRealm.framework
, which now allows apps using it to pass iTunes Connect validation.
- Schema versions are now represented as
-
v0.92.4 Changes
May 22, 2015API breaking changes
- None.
โจ Enhancements
- Swift: Made
Object.init()
a required initializer. RLMObject
,RLMResults
,Object
andResults
can now be safely deallocated (but still not used) from any thread.- ๐ Improve performance of
-[RLMArray indexOfObjectWhere:]
and-[RLMArray indexOfObjectWithPredicate:]
, and implement them for standalone RLMArrays. - ๐ Improved performance of most simple queries.
๐ Bugfixes
- ๐ท The interprocess notification mechanism no longer uses dispatch worker threads, preventing it from starving other GCD clients of the opportunity to execute blocks when dozens of Realms are open at once.
-
v0.92.3 Changes
May 13, 2015API breaking changes
- Swift:
Results.average(_:)
now returns an optional, which isnil
if and only if the results set is empty.
โจ Enhancements
- Swift: Added
List.invalidated
, which returns if the givenList
is no longer safe to be accessed, and is analogous to-[RLMArray isInvalidated]
. - Assertion messages are automatically logged to Crashlytics if it's loaded into the current process to make it easier to diagnose crashes.
๐ Bugfixes
- Swift: Enumerating through a standalone
List
whose objects themselves have list properties won't crash. - Swift: Using a subclass of
RealmSwift.Object
in an aggregate operator of a predicate no longer throws a spurious type error. - ๐ Fix incorrect results for when using OR in a query on a
RLMArray
/List<>
. - ๐ Fix incorrect values from
[RLMResults count]
/Results.count
when using!=
on an int property with no other query conditions. - Lower the maximum doubling threshold for Realm file sizes from 128MB to 16MB to reduce the amount of wasted space.
- Swift:
-
v0.92.2 Changes
May 08, 2015API breaking changes
- None.
โจ Enhancements
- Exceptions raised when incorrect object types are used with predicates now contain more detailed information.
- โ Added
-[RLMMigration deleteDataForClassName:]
andMigration.deleteData(_:)
to enable cleaning up after removing object subclasses
๐ Bugfixes
- โช Prevent debugging of an application using an encrypted Realm to work around frequent LLDB hangs. Until the underlying issue is addressed you may set REALM_DISABLE_ENCRYPTION=YES in your application's environment variables to have requests to open an encrypted Realm treated as a request for an unencrypted Realm.
- ๐ Linked objects are properly updated in
createOrUpdateInRealm:withValue:
. - List properties on Objects are now properly initialized during fast enumeration.
-
v0.92.1 Changes
May 06, 2015API breaking changes
- None.
โจ Enhancements
-[RLMRealm inWriteTransaction]
is now public.- Realm Swift is now available on CoocaPods.
๐ Bugfixes
- ๐ฎ Force code re-signing after stripping architectures in
strip-frameworks.sh
.
-
v0.92.0 Changes
May 05, 2015API breaking changes
- Migration blocks are no longer called when a Realm file is first created.
- ๐ The following APIs have been deprecated in favor of newer method names:
๐ | Deprecated API | New API | |:-------------------------------------------------------|:------------------------------------------------------| |
-[RLMMigration createObject:withObject:]
|-[RLMMigration createObject:withValue:]
| |-[RLMObject initWithObject:]
|-[RLMObject initWithValue:]
| 0๏ธโฃ |+[RLMObject createInDefaultRealmWithObject:]
|+[RLMObject createInDefaultRealmWithValue:]
| |+[RLMObject createInRealm:withObject:]
|+[RLMObject createInRealm:withValue:]
| โก๏ธ |+[RLMObject createOrUpdateInDefaultRealmWithObject:]
|+[RLMObject createOrUpdateInDefaultRealmWithValue:]
| โก๏ธ |+[RLMObject createOrUpdateInRealm:withObject:]
|+[RLMObject createOrUpdateInRealm:withValue:]
|โจ Enhancements
Int8
properties defined in Swift are now treated as integers, rather than booleans.- ๐ NSPredicates created using
+predicateWithValue:
are now supported.
๐ Bugfixes
- Compound AND predicates with no subpredicates now correctly match all objects.
-
v0.91.5 Changes
April 28, 2015๐ Bugfixes
- ๐ Fix issues with removing search indexes and re-enable it.
-
v0.91.4 Changes
April 27, 2015๐ Bugfixes
- Temporarily disable removing indexes from existing columns due to bugs.
-
v0.91.3 Changes
April 17, 2015๐ Bugfixes
- ๐ Fix
Extra argument 'objectClassName' in call
errors when building via CocoaPods.
- ๐ Fix