[Snyk] Upgrade realm from 10.11.0 to 10.12.0 #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade realm from 10.11.0 to 10.12.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: realm
Notes
This release adds beta support for flexible sync. See the backend and SDK documentation for more information. Please report any issues with the beta through Github.
Please note the following API changes from the
10.12.0-beta.1
release of Flexible Sync:Realm.getSubscriptions()
is nowRealm.subscriptions
Subscriptions
has been renamed toSubscriptionSet
, andMutableSubscriptions
toMutableSubscriptionSet
SubscriptionSet.snaphot()
has been removed, in favour of allowing aSubscriptionSet
to be accessed as an arraySubscriptionSet.find()
has been renamed toSubscriptionSet.findByQuery()
to avoid a naming confict with theArray.find
methodSubscriptionSet.empty
has been renamed toSubscriptionSet.isEmpty
Realm.subscriptions.update
can beawait
ed to avoid a separate call towaitForSynchronization
SubscriptionState.Superceded
was corrected toSubscriptionState.Superseded
Enhancements
int
,float
,double
orDecimal128
). You can now say something like(age + 5) * 2 > child.age
.Realm.writeCopyTo()
now supports creating snapshots of synced Realms, thus allowing apps to be shipped with partially-populated synced databases. (#3782Fixed
Compatibility
deprecated-react-native-listview
from root package.jsonInternal
.dir-locals.el
. Please configure Emacs to useclang-format
e.g. https://github.com/SavchenkoValeriy/emacs-clang-format-plus.strictNullChecks
for integration tests[10.12.0-beta.1] Bump version
Enhancements
int
,float
,double
orDecimal128
). You can now say something like(age + 5) * 2 > child.age
.Fixed
Compatibility
deprecated-react-native-listview
from root package.jsonInternal
.dir-locals.el
. Please configure Emacs to useclang-format
e.g. https://github.com/SavchenkoValeriy/emacs-clang-format-plus.strictNullChecks
for integration tests[10.12.0-beta] bump version
Enhancements
discardLocal
for client reset has been introduced. The old behavior is supported (but deprecated) through themanual
mode. The new mode will discard any local changes, and a fresh copy of the Realm will be downloaded. An example of the configuration:Fixed
user
in a sync configuration was not aRealm.User
object could lead to a crash. (#1348, since v10.0.0)@ sum
and@ avg
queries on Dictionaries of floats or doubles used too much precision for intermediates, resulting in incorrect rounding. (since v10.3.0-rc.1)link.collection.@ sum = 0
wherelink
isnull
matched whencollection
was a List or Set, but not a Dictionary (realm/realm-core#5080, since v10.5.0)collection-methods.js
no longer throwRealm not defined
errors in some environments (#4029, #3991, since v10.5.0)Realm.App.emailPasswordAuth.callResetPasswordFunction()
which could lead to the errorError: Error: resetDetails must be of type 'object', got ([email protected])
. (#4143, since v10.10.0)MongoDBCollection#watch
on React Native (#3494, since v10.0.0). To use this, you must install:fetch
,ReadableStream
andTextDecoder
: https://www.npmjs.com/package/react-native-polyfill-globalsCompatibility
Internal
.clang-format
file for formatting C++ code, formatted all existing code and added a lint check for C++.ghcr.io
react-native/android/build
directory from the NPM package.examples/ReactExample
app. See FindOurDevices for a modern example app.ListView
component exported viarealm/react-native
. See @ realm.io/react for a modern integration with React.4.5.2
.@ realm/metro-config
package to share this across any React Native app in our repo that reference other packages via symbolic links.Commit messages
Package name: realm
writeCopyTo
behavior on synced realms realm/realm-js#4231)deprecated-react-native-listview
from root package.json realm/realm-js#4179)Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs