All Versions
285
Latest Version
Avg Release Cycle
11 days
Latest Release
917 days ago
Changelog History
Page 12
Changelog History
Page 12
-
v4.4.1 Changes
April 16, 2020β¨ Enhancements
- β¬οΈ Upgrade Xcode 11.4 binaries to Xcode 11.4.1.
π Fixed
- Fix a "previous <= m_schema_transaction_version_max" assertion failure caused
by a race condition that could occur after performing a migration. (Since 3.0.0).
Compatibility
- β¬οΈ File format: Generates Realms with format v9 (Reads and upgrades all previous formats)
- Realm Object Server: 3.21.0 or later.
- π Carthage release for Swift is built with Xcode 11.4.1.
-
v4.4.0 Changes
March 26, 2020π Swift 4.0 and Xcode 10.3 are now the minimum supported versions.
β¨ Enhancements
- π Allow setting the
fileUrl
for synchronized Realms. An appropriate local path based on the sync URL will still be used if it is not overridden. (PR #6454). - β Add Xcode 11.4 binaries to the release package.
π Fixed
- None.
Compatibility
- β¬οΈ File format: Generates Realms with format v9 (Reads and upgrades all previous formats)
- Realm Object Server: 3.21.0 or later.
- π Carthage release for Swift is built with Xcode 11.4.
- π Allow setting the
-
v4.3.2 Changes
February 06, 2020β¨ Enhancements
- π Similar to
autoreleasepool()
,realm.write()
now returns the value which the block passed to it returns. ReturningVoid
from the block is still allowed.
π Fixed
- π Fix a memory leak attributed to
property_copyAttributeList
the first time a Realm is opened when using Realm Swift. (#6409, since 4.0.0). - π Connecting to a
realms:
sync URL would crash at runtime on iOS 11 (and no other iOS versions) inside the SSL validation code. (Since 4.3.1).
Compatibility
- β¬οΈ File format: Generates Realms with format v9 (Reads and upgrades all previous formats)
- Realm Object Server: 3.21.0 or later.
- π Carthage release for Swift is built with Xcode 11.3.
Internal
- β¬οΈ Upgraded realm-sync from 4.9.4 to 4.9.5.
- π Similar to
-
v4.3.1 Changes
January 16, 2020β¨ Enhancements
- β¬οΈ Reduce the encrypted page reclaimer's impact on battery life when encryption is used. (Core #3461).
π Fixed
- π macOS binaries were built with the incorrect deployment target (10.14 rather than 10.9), resulting in linker warnings. (#6299, since 3.18.0).
- An internal datastructure for List properties could be double-deleted if the last reference was released from a thread other than the one which the List was created on at the wrong time. This would typically manifest as "pthread_mutex_destroy() failed", but could also result in other kinds of crashes. (#6333).
- Sorting on float or double properties containing NaN values had inconsistent results and would sometimes crash due to out-of-bounds memory accesses. (#6357).
- A NOT query on a
List<Object>
which happened to have the objects in a different order than the underlying table would sometimes include the object immediately before an object which matches the query. (#6289, since 0.90.0).
Compatibility
- β¬οΈ File format: Generates Realms with format v9 (Reads and upgrades all previous formats)
- Realm Object Server: 3.21.0 or later.
- π Carthage release for Swift is built with Xcode 11.3.
Internal
- β¬οΈ Upgraded realm-core from 5.23.6 to 5.23.8.
- β¬οΈ Upgraded realm-sync from 4.9.0 to 4.9.4.
-
v4.3.0 Changes
December 19, 2019β¨ Enhancements
- β Add the ability to set a custom logger function on
RLMSyncManager
which is called instead of the default NSLog-based logger. - π¦ Expose configuration options for the various types of sync connection
timeouts and heartbeat intervals on
RLMSyncManager
. - β Add an option to have
Realm.asyncOpen()
report an error if the connection times out rather than swallowing the error and attempting to reconnect until it succeeds.
π Fixed
- π Fix a crash when using value(forKey:) on a LinkingObjects property (including when doing so indirectly, such as by querying on that property). (#6366, since 4.0.0).
- Fix a rare crash in
ClientHistoryImpl::integrate_server_changesets()
which would only happen in Debug builds (since v3.0.0).
Compatibility
- β¬οΈ File format: Generates Realms with format v9 (Reads and upgrades all previous formats)
- Realm Object Server: 3.21.0 or later.
- π Carthage release for Swift is built with Xcode 11.3.
Internal
- β¬οΈ Upgraded realm-sync from 4.8.2 to 4.9.0.
- β Add the ability to set a custom logger function on
-
v4.2.0 Changes
December 16, 2019β¨ Enhancements
- β Add
-[RLMRealm fileExistsForConfiguration:]
/Realm.fileExists(for:)
,
π§ which checks if a local Realm file exists for the given configuration. - β Add
-[RLMRealm deleteFilesForConfiguration:]
/Realm.deleteFiles(for:)
π§ to delete the Realm file and all auxiliary files for the given configuration.
π Fixed
- None.
Compatibility
- β¬οΈ File format: Generates Realms with format v9 (Reads and upgrades all previous formats)
- Realm Object Server: 3.21.0 or later.
- π Carthage release for Swift is built with Xcode 11.3.
- β Add
-
v4.1.1 Changes
November 18, 2019π Fixed
- β‘οΈ The UpdatePolicy passed to
realm.add()
orrealm.create()
was not properly propagated when adding objects within aList
, which could result in spurious change notifications when using.modified
. (#6321, since v3.16.0) - π Fix a rare deadlock when a Realm collection or object was observed, then
refresh()
was explicitly called, and then the NotificationToken from the observation was destroyed on a different thread (since 0.98.0).
Compatibility
- β¬οΈ File format: Generates Realms with format v9 (Reads and upgrades all previous formats)
- Realm Object Server: 3.21.0 or later.
- π Carthage release for Swift is built with Xcode 11.2.
- β‘οΈ The UpdatePolicy passed to
-
v4.1.0 Changes
November 13, 2019β¨ Enhancements
- π Improve performance of queries over a link where the final target property has an index.
- βͺ Restore support for storing
@objc enum
properties on RealmSwift.Object subclasses (broken in 4.0.0), and add support for storing them in RealmOptional properties.
π Fixed
- π The sync client would fail to reconnect after failing to integrate a changeset. The bug would lead to further corruption of the clientβs Realm file. (RSYNC-48, since v3.2.0).
- β‘οΈ The UpdatePolicy passed to
realm.add()
orrealm.create()
was not properly propagated when adding objects within aList
, which could result in spurious change notifications when using.modified
. (#6321, since v3.16.0) - π Fix a rare deadlock when a Realm collection or object was observed, then
refresh()
was explicitly called, and then the NotificationToken from the observation was destroyed on a different thread (since 0.98.0).
Compatibility
- β¬οΈ File format: Generates Realms with format v9 (Reads and upgrades all previous formats)
- Realm Object Server: 3.21.0 or later.
- π Carthage release for Swift is built with Xcode 11.2.
Internal
- β¬οΈ Upgraded realm-core from 5.23.5 to 5.23.6.
- β¬οΈ Upgraded realm-sync from 4.7.11 to 4.8.2
-
v4.0.0 Changes
November 08, 2019π₯ Breaking Changes
- π All previously deprecated functionality has now been removed entirely.
- The schema discovery logic for RealmSwift.Object subclasses has been rewritten in Swift. This should not have any effect on valid class definitions, but there may be types of invalid definitions which previously worked by coincidence and no longer do.
- π
SyncSubscription
no longer has a generic type parameter, as the type was not actually used for anything. - The following Swift types have changed from
final class
tostruct
:- AnyRealmCollection
- LinkingObjects
- ObjectiveCSupport
- Realm
- Results
- SyncSubscription
- ThreadSafeReference There is no intended change in semantics from this, but certain edge cases may behave differently.
- The designated initializers defined by RLMObject and Object other than
zero-argument
init
have been replaced with convenience initializers. - The implementation of the path-based permissions API has been redesigned to
accomodate changes to the server. This should be mostly a transparent change,
with two main exceptions:
- SyncPermission objects are no longer live Realm objects, and retrieving permissions gives an Array rather than Results. Getting up-to-date permissions now requires calling retrievePermissions() again rather than observing the permissions.
- The error codes for permissions functions have changed. Rather than a separate error type and set of error codes, permission functions now produce SyncAuthErrors.
β¨ Enhancements
- π Improve performance of initializing Realm objects with List properties.
π Fixed
- None.
Compatibility
- β¬οΈ File format: Generates Realms with format v9 (Reads and upgrades all previous formats)
- Realm Object Server: 3.21.0 or later.
- π Carthage release for Swift is built with Xcode 11.2.
-
v3.21.0 Changes
November 04, 2019β¨ Enhancements
- β Add prebuilt binaries for Xcode 11.2.
Compatibility
- β¬οΈ File format: Generates Realms with format v9 (Reads and upgrades all previous formats)
- Realm Object Server: 3.21.0 or later.
- π Carthage release for Swift is built with Xcode 11.2.