Skip to content

Commit 86316cb

Browse files
authored
Support new datatypes - update changelog with Core v11 entries. (#7447)
1 parent f06ad84 commit 86316cb

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

CHANGELOG.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,33 @@
1+
## 11.0.0 (YYYY-MM-DD)
2+
3+
### Enhancements
4+
* Allow UTF8 encoded characters in property names in string-based queries ([#4467](https://github.com/realm/realm-core/issues/4467))
5+
* The error message when the initial steps of opening a Realm file fails is now more descriptive.
6+
* Make conversion of Decimal128 to/from string work for numbers with more than 19 significant digits. ([#4548](https://github.com/realm/realm-core/issues/4548))
7+
* We now make a backup of the realm file prior to any file format upgrade. The backup is retained for 3 months.
8+
Backups from before a file format upgrade allows for better analysis of any upgrade failure. We also restore
9+
a backup, if a) an attempt is made to open a realm file with a "future" file format and b) a backup file exist
10+
that fits the current file format. ([#4166](https://github.com/realm/realm-core/pull/4166))
11+
* Remove type coercion on bool and ObjectId when doing queries.
12+
13+
### Fixed
14+
* Fix assertion failures such as "!m_notifier_skip_version.version" or "m_notifier_sg->get_version() + 1 == new_version.version" when performing writes inside change notification callbacks. Previously refreshing the Realm by beginning a write transaction would skip delivering notifications, leaving things in an inconsistent state. Notifications are now delivered recursively when needed instead. ([Cocoa #7165](https://github.com/realm/realm-cocoa/issues/7165)).
15+
* Fixed name aliasing not working in sort/distinct clauses when doing string-based queries. ([#4550](https://github.com/realm/realm-core/issues/4550), never before working).
16+
* Potential/unconfirmed fix for crashes associated with failure to memory map (low on memory, low on virtual address space). For example ([#4514](https://github.com/realm/realm-core/issues/4514)).
17+
* Syncing large Decimal128 values will cause "Assertion failed: cx.w[1] == 0" ([#4519](https://github.com/realm/realm-core/issues/4519), since v10.0.0)
18+
* Classes names "class_class_..." were not handled correctly when doing queries ([#4480](https://github.com/realm/realm-core/issues/4480))
19+
* Fix collection notification reporting for modifications. This could be observed by receiving the wrong indices of modifications on sorted or distinct results, or notification blocks sometimes not being called when only modifications have occurred. ([#4573](https://github.com/realm/realm-core/pull/4573) since v6).
20+
21+
### Breaking changes
22+
* Sync protocol version increased to 3. This version adds support for the new data types introduced in file format version 21.
23+
* File format version bumped to 21. In this version we support new basic datatypes `UUID` and `RealmAny`, as well as `RealmSet` and `RealmMap` collections with string-based keys (i.e. `RealmDictionary`).
24+
25+
### Internal
26+
* Updated to Realm Core commit: <TBD>.
27+
128
## 10.4.0 (2021-03-26)
229

3-
All releases from 10.4.0 and forward are now found on `mavenCentral()` instead of `jcenter()`.
30+
All releases from 10.4.0 and forward are now found on `mavenCentral()` instead of `jcenter()`.
431

532
A minimal supported setup will therefore now look like this:
633

@@ -52,7 +79,7 @@ for more information.
5279
* None.
5380

5481
### Fixes
55-
* RxJava Flowables/Observables and Coroutine Flows would crash if they were created from a `RealmList` and the parent object holding the list was deleted. Now, the stream is disposed/closed instead. (Issue [#7242](https://github.com/realm/realm-java/issues/7242))
82+
* RxJava Flowables/Observables and Coroutine Flows would crash if they were created from a `RealmList` and the parent object holding the list was deleted. Now, the stream is disposed/closed instead. (Issue [#7242](https://github.com/realm/realm-java/issues/7242))
5683
* Fixes Realm models default values containing objects with a PK might crash with a `RealmPrimaryKeyConstraintException`. (Issue [#7269] (https://github.com/realm/realm-java/issues/7269))
5784

5885
### Compatibility

0 commit comments

Comments
 (0)