-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix integration tests type errors on bindgen #5479
Commits on Dec 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 78b36cc - Browse repository at this point
Copy the full SHA 78b36ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e12a3d - Browse repository at this point
Copy the full SHA 5e12a3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7ed12f - Browse repository at this point
Copy the full SHA d7ed12fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9915696 - Browse repository at this point
Copy the full SHA 9915696View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9ce475 - Browse repository at this point
Copy the full SHA e9ce475View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb3438d - Browse repository at this point
Copy the full SHA bb3438dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27d8b49 - Browse repository at this point
Copy the full SHA 27d8b49View commit details -
Configuration menu - View commit details
-
Copy full SHA for a32e529 - Browse repository at this point
Copy the full SHA a32e529View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2484349 - Browse repository at this point
Copy the full SHA 2484349View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92c7249 - Browse repository at this point
Copy the full SHA 92c7249View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed26405 - Browse repository at this point
Copy the full SHA ed26405View commit details -
Configuration menu - View commit details
-
Copy full SHA for b053b7d - Browse repository at this point
Copy the full SHA b053b7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8731e4e - Browse repository at this point
Copy the full SHA 8731e4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee85e4b - Browse repository at this point
Copy the full SHA ee85e4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4d0690 - Browse repository at this point
Copy the full SHA b4d0690View commit details -
Configuration menu - View commit details
-
Copy full SHA for f973bf0 - Browse repository at this point
Copy the full SHA f973bf0View commit details -
We're now relying 100% on the "bson" package.
Configuration menu - View commit details
-
Copy full SHA for 0fcc9b6 - Browse repository at this point
Copy the full SHA 0fcc9b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b82222 - Browse repository at this point
Copy the full SHA 2b82222View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd5691a - Browse repository at this point
Copy the full SHA fd5691aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7f47cd - Browse repository at this point
Copy the full SHA f7f47cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11f4e6c - Browse repository at this point
Copy the full SHA 11f4e6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fa58da - Browse repository at this point
Copy the full SHA 2fa58daView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1ea790 - Browse repository at this point
Copy the full SHA e1ea790View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6e128f - Browse repository at this point
Copy the full SHA d6e128fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b68784d - Browse repository at this point
Copy the full SHA b68784dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c806c58 - Browse repository at this point
Copy the full SHA c806c58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4224200 - Browse repository at this point
Copy the full SHA 4224200View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea9cd9d - Browse repository at this point
Copy the full SHA ea9cd9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b992639 - Browse repository at this point
Copy the full SHA b992639View commit details -
Configuration menu - View commit details
-
Copy full SHA for a966e09 - Browse repository at this point
Copy the full SHA a966e09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f2a36b - Browse repository at this point
Copy the full SHA 6f2a36bView commit details -
includes workaround for microsoft/TypeScript#51261.
Configuration menu - View commit details
-
Copy full SHA for b8e064e - Browse repository at this point
Copy the full SHA b8e064eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9f588e - Browse repository at this point
Copy the full SHA f9f588eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff5f507 - Browse repository at this point
Copy the full SHA ff5f507View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c07976 - Browse repository at this point
Copy the full SHA 8c07976View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31377a0 - Browse repository at this point
Copy the full SHA 31377a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5b6e17 - Browse repository at this point
Copy the full SHA b5b6e17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8381f58 - Browse repository at this point
Copy the full SHA 8381f58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69840be - Browse repository at this point
Copy the full SHA 69840beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88a6bea - Browse repository at this point
Copy the full SHA 88a6beaView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb32158 - Browse repository at this point
Copy the full SHA bb32158View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d26753 - Browse repository at this point
Copy the full SHA 5d26753View commit details -
Configuration menu - View commit details
-
Copy full SHA for a500f9a - Browse repository at this point
Copy the full SHA a500f9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bd6b12 - Browse repository at this point
Copy the full SHA 4bd6b12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2954601 - Browse repository at this point
Copy the full SHA 2954601View commit details -
Configuration menu - View commit details
-
Copy full SHA for beade7e - Browse repository at this point
Copy the full SHA beade7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b37080c - Browse repository at this point
Copy the full SHA b37080cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c38c8f - Browse repository at this point
Copy the full SHA 5c38c8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e639d5b - Browse repository at this point
Copy the full SHA e639d5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0bb003 - Browse repository at this point
Copy the full SHA a0bb003View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4729baa - Browse repository at this point
Copy the full SHA 4729baaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a736c6 - Browse repository at this point
Copy the full SHA 3a736c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ecb0fb - Browse repository at this point
Copy the full SHA 0ecb0fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7757c9f - Browse repository at this point
Copy the full SHA 7757c9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f99ef7 - Browse repository at this point
Copy the full SHA 2f99ef7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff1634d - Browse repository at this point
Copy the full SHA ff1634dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9ff6c5 - Browse repository at this point
Copy the full SHA e9ff6c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cfe1a7 - Browse repository at this point
Copy the full SHA 3cfe1a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 772d6ad - Browse repository at this point
Copy the full SHA 772d6adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 836e30b - Browse repository at this point
Copy the full SHA 836e30bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d424d3 - Browse repository at this point
Copy the full SHA 3d424d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a5eeee - Browse repository at this point
Copy the full SHA 9a5eeeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fe68ab - Browse repository at this point
Copy the full SHA 8fe68abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a7bf50 - Browse repository at this point
Copy the full SHA 1a7bf50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c71a73 - Browse repository at this point
Copy the full SHA 5c71a73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fc67a2 - Browse repository at this point
Copy the full SHA 9fc67a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d0c7a5 - Browse repository at this point
Copy the full SHA 6d0c7a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 964b01a - Browse repository at this point
Copy the full SHA 964b01aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f36e09 - Browse repository at this point
Copy the full SHA 9f36e09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 098c127 - Browse repository at this point
Copy the full SHA 098c127View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa4a400 - Browse repository at this point
Copy the full SHA fa4a400View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fb7c2e - Browse repository at this point
Copy the full SHA 6fb7c2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 431b9cd - Browse repository at this point
Copy the full SHA 431b9cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82a33d5 - Browse repository at this point
Copy the full SHA 82a33d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbabde4 - Browse repository at this point
Copy the full SHA dbabde4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d5d908 - Browse repository at this point
Copy the full SHA 9d5d908View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1461633 - Browse repository at this point
Copy the full SHA 1461633View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5364e1 - Browse repository at this point
Copy the full SHA f5364e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4e6ae3 - Browse repository at this point
Copy the full SHA e4e6ae3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b91f3a - Browse repository at this point
Copy the full SHA 5b91f3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c11d97 - Browse repository at this point
Copy the full SHA 5c11d97View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf48dfc - Browse repository at this point
Copy the full SHA cf48dfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e9800a - Browse repository at this point
Copy the full SHA 5e9800aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 222a583 - Browse repository at this point
Copy the full SHA 222a583View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91a9e78 - Browse repository at this point
Copy the full SHA 91a9e78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 166101e - Browse repository at this point
Copy the full SHA 166101eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b943cb - Browse repository at this point
Copy the full SHA 3b943cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for feef018 - Browse repository at this point
Copy the full SHA feef018View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23ca339 - Browse repository at this point
Copy the full SHA 23ca339View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba7db95 - Browse repository at this point
Copy the full SHA ba7db95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4698969 - Browse repository at this point
Copy the full SHA 4698969View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff601bc - Browse repository at this point
Copy the full SHA ff601bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bd6036 - Browse repository at this point
Copy the full SHA 4bd6036View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfb4f66 - Browse repository at this point
Copy the full SHA bfb4f66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 033e854 - Browse repository at this point
Copy the full SHA 033e854View commit details -
Configuration menu - View commit details
-
Copy full SHA for 625f161 - Browse repository at this point
Copy the full SHA 625f161View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2acd0d - Browse repository at this point
Copy the full SHA a2acd0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b28357a - Browse repository at this point
Copy the full SHA b28357aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50268d1 - Browse repository at this point
Copy the full SHA 50268d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d41f2bc - Browse repository at this point
Copy the full SHA d41f2bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b99d23 - Browse repository at this point
Copy the full SHA 7b99d23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 229bbf2 - Browse repository at this point
Copy the full SHA 229bbf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38c244b - Browse repository at this point
Copy the full SHA 38c244bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00f1e80 - Browse repository at this point
Copy the full SHA 00f1e80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a0f5da - Browse repository at this point
Copy the full SHA 4a0f5daView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2fbd9f - Browse repository at this point
Copy the full SHA f2fbd9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee78cec - Browse repository at this point
Copy the full SHA ee78cecView commit details -
Add support for delete results and lists
Configuration menu - View commit details
-
Copy full SHA for ff36d04 - Browse repository at this point
Copy the full SHA ff36d04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d47c39 - Browse repository at this point
Copy the full SHA 9d47c39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 322e1df - Browse repository at this point
Copy the full SHA 322e1dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94c42b9 - Browse repository at this point
Copy the full SHA 94c42b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8076f14 - Browse repository at this point
Copy the full SHA 8076f14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cef6e2 - Browse repository at this point
Copy the full SHA 6cef6e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e716ea - Browse repository at this point
Copy the full SHA 9e716eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6aaeb4d - Browse repository at this point
Copy the full SHA 6aaeb4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cf14c5 - Browse repository at this point
Copy the full SHA 1cf14c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae80b2e - Browse repository at this point
Copy the full SHA ae80b2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b398bf4 - Browse repository at this point
Copy the full SHA b398bf4View commit details -
Add better documentation for bindgen. (#5025)
* Add documentation for Realm * More documentation and changes. * Remove more links and add docs. * More format consistency. * Add documentation doc. * Minor corrections * Remove discuss * Minor improvements * Update packages/realm/src/OrderedCollection.ts Co-authored-by: Kræn Hansen <[email protected]> Co-authored-by: Kræn Hansen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a1826d - Browse repository at this point
Copy the full SHA 7a1826dView commit details -
Implement App/User Listener (#5080)
* Finish App Listener Used the `subscribe` and `unsubscribe` methods to finish the app listener implementation. * Implement user listeners
Configuration menu - View commit details
-
Copy full SHA for f3a8d72 - Browse repository at this point
Copy the full SHA f3a8d72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a8e6d0 - Browse repository at this point
Copy the full SHA 6a8e6d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4f49c5 - Browse repository at this point
Copy the full SHA e4f49c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1560912 - Browse repository at this point
Copy the full SHA 1560912View commit details -
Configuration menu - View commit details
-
Copy full SHA for 448e9f1 - Browse repository at this point
Copy the full SHA 448e9f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 721a6d8 - Browse repository at this point
Copy the full SHA 721a6d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45ad0f5 - Browse repository at this point
Copy the full SHA 45ad0f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51ee1e3 - Browse repository at this point
Copy the full SHA 51ee1e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for de87d21 - Browse repository at this point
Copy the full SHA de87d21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 713a46e - Browse repository at this point
Copy the full SHA 713a46eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 003d833 - Browse repository at this point
Copy the full SHA 003d833View commit details -
Configuration menu - View commit details
-
Copy full SHA for dec6bc9 - Browse repository at this point
Copy the full SHA dec6bc9View commit details -
Use Array<T> rather than T[] when generating .d.ts
This avoids issues when expanding `vector<Nullable<T>>` which used to be incorrectly rendered to `null | T[]` (parsed as `null | Array<T>`) and now is correctly rendered as `Array<null | T>`
Configuration menu - View commit details
-
Copy full SHA for f1a5558 - Browse repository at this point
Copy the full SHA f1a5558View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2651cef - Browse repository at this point
Copy the full SHA 2651cefView commit details -
Configuration menu - View commit details
-
Copy full SHA for b976884 - Browse repository at this point
Copy the full SHA b976884View commit details -
Configuration menu - View commit details
-
Copy full SHA for 818c609 - Browse repository at this point
Copy the full SHA 818c609View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7175934 - Browse repository at this point
Copy the full SHA 7175934View commit details -
Be more aggressive at clearing state between tests
This gets us closer to the behavior of the old C++ code.
Configuration menu - View commit details
-
Copy full SHA for 034a891 - Browse repository at this point
Copy the full SHA 034a891View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4e4fc7 - Browse repository at this point
Copy the full SHA c4e4fc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e31dd9 - Browse repository at this point
Copy the full SHA 7e31dd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44479a9 - Browse repository at this point
Copy the full SHA 44479a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a0eaff - Browse repository at this point
Copy the full SHA 7a0eaffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18d8fde - Browse repository at this point
Copy the full SHA 18d8fdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9c27ea - Browse repository at this point
Copy the full SHA c9c27eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ade796f - Browse repository at this point
Copy the full SHA ade796fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9e8ec3 - Browse repository at this point
Copy the full SHA f9e8ec3View commit details -
fix parsing of 'string<>' type
It used to think it was optional because it ends up being merged with 'mixed<>' which is implicitly optional, and we weren't explicitly setting optional=false.
Configuration menu - View commit details
-
Copy full SHA for 57013d8 - Browse repository at this point
Copy the full SHA 57013d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 756bf90 - Browse repository at this point
Copy the full SHA 756bf90View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccc3844 - Browse repository at this point
Copy the full SHA ccc3844View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fb5c35 - Browse repository at this point
Copy the full SHA 6fb5c35View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8592aa - Browse repository at this point
Copy the full SHA c8592aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3dcef7 - Browse repository at this point
Copy the full SHA e3dcef7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32f0a1d - Browse repository at this point
Copy the full SHA 32f0a1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for af2afea - Browse repository at this point
Copy the full SHA af2afeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9228e60 - Browse repository at this point
Copy the full SHA 9228e60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e8d8b9 - Browse repository at this point
Copy the full SHA 1e8d8b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8769784 - Browse repository at this point
Copy the full SHA 8769784View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bec000 - Browse repository at this point
Copy the full SHA 7bec000View commit details -
Add the _ prefix to SyncConfiguration._sessionStopPolicy since that i…
…s what our tests expect
Configuration menu - View commit details
-
Copy full SHA for 077286f - Browse repository at this point
Copy the full SHA 077286fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83d7767 - Browse repository at this point
Copy the full SHA 83d7767View commit details -
Configuration menu - View commit details
-
Copy full SHA for b132536 - Browse repository at this point
Copy the full SHA b132536View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83f252b - Browse repository at this point
Copy the full SHA 83f252bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9c5928 - Browse repository at this point
Copy the full SHA b9c5928View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35e46d8 - Browse repository at this point
Copy the full SHA 35e46d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e85218e - Browse repository at this point
Copy the full SHA e85218eView commit details -
Optimize Realm.Object accessor creation (#5184)
This contains a handful of changes primarily focused on optimizing the creation of instances derived from Realm.Object. Note that this is the binding of a JS object to an existing DB object, not just the DB insert path. There are also a handful of correctness changes in related areas in order to avoid the potential for conflicts with users' field names. This improves our link traversal integration test ("Car") by 3.5x over status quo and makes us now 2.5x faster than v11. This test has some noise, but on my machine I was seeing around {before: 200k ops/s, after: 700k, v11: 350k}. Changes: * The `realm` instance member is now a unique REALM symbol field bound into the synthetic prototype[1]. * `keys()` method changes: * Internal consumers now use symbol properties `this[KEY_ARRAY]` or `this[KEY_SET]` depending on whether they need O(1) membership checking. * Both new properties live on the synthetic prototype. * `keys()` is now a normal method on Realm.Object rather than being on the synthetic constructor. * `keys()` now returns a copy of the array to prevent caller mutation of the "true" list of keys. * We no longer use `Object.createProperty()` to mark our internal properties as not writable or enumerable. It is a very slow method at least on V8. Since we are already using a Proxy, we just modify the result returned by `getOwnPropertyDescriptor()` from the proxy handler instead. * We now lazily create the `ObjectListeners` for each object when the first listener is added. This avoids a rather expensive operation for objects that never have any listeners registered. * Use `declare` for internal properties we synthetically inject. This tells tsc not to generate a class field declaration when using a new enough target and has weird interactions with some of the techniques we are using. [1] This is for the synthetic constructor which we create in ClassMap to be the most-derived class for all instances of Realm.Object that we create. This is also where the get/set properties for user fields live. We create a unique synthetic constructor for each combination of user type + `Realm` instance.
Configuration menu - View commit details
-
Copy full SHA for b940dcb - Browse repository at this point
Copy the full SHA b940dcbView commit details -
Refactor React Native integration tests for NPM workspaces (#5194)
* Refactor React Native integration tests for NPM workspaces * This is inspired from the branch `kh/bindgen/react-native` @kraenhansen and the following article: https://www.callstack.com/blog/setting-up-react-native-monorepo-with-yarn-workspaces * Add the react-native environment to the workspaces, as well as any local dependency * Reconfigure the react-native project to find all react-native dependencies * Remove chrome debugger tests * Bench was causing strange issues. Temporarily disabling performance tests * Basic RN support * stub out platform specific parts * add rollup config for react-native
Configuration menu - View commit details
-
Copy full SHA for af90338 - Browse repository at this point
Copy the full SHA af90338View commit details -
Configuration menu - View commit details
-
Copy full SHA for a90fe57 - Browse repository at this point
Copy the full SHA a90fe57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78da26e - Browse repository at this point
Copy the full SHA 78da26eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 935cf5c - Browse repository at this point
Copy the full SHA 935cf5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1da0037 - Browse repository at this point
Copy the full SHA 1da0037View commit details -
* Update doc comments. * Convert grammar into TS types. * Throw when 'property' is set for non-linkingObjects. * Verify idempotence (already-normalized input is unchanged). * Test validation of empty objects. * Update error messages, var names, minor refactor. * Refactor validation functions to 'Configuration.ts'. * Refactor 'NAME' and clearly distinguish btwn realm/object/property schema variables. * Sanitize top-level object schema fields. * Minor updates. * Update error messages. * Fix bug from renaming property 'constructor' to 'ctor'. * Refactor and add docs to functions. * Add only defined props (not 'undefined' due to tests). * Add minor comments. * Revert back to original logic in 'from-binding'. * Refactor 'ensure' to use 'assert'. * Make minor performance improvements. * Error on nested collections and optional collections. * Sanitize user input. * Refactor to pass both object and property name. * Error when using shorthand in object notation. * Update nullability for list, set, dictionary, linkingObjects. * Refactor tests. * Remove the need to remove undefined fields. * Rename field from 'constructor' to 'ctor'. * Remove helper variable. * Minor updates. * Update comments. * Add normalization tests. * Rewrite normalization of property schema (1st draft). * Add temporary pseudo code for property schema normalization. * Add grammar for property schema.
Configuration menu - View commit details
-
Copy full SHA for fcfd72c - Browse repository at this point
Copy the full SHA fcfd72cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe7d770 - Browse repository at this point
Copy the full SHA fe7d770View commit details -
* Fix integration tests * Remove .rollup.cache (and add to .gitignore) * Update core
2Configuration menu - View commit details
-
Copy full SHA for 67f48a2 - Browse repository at this point
Copy the full SHA 67f48a2View commit details
Commits on Jan 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fa7098f - Browse repository at this point
Copy the full SHA fa7098fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb6d8ef - Browse repository at this point
Copy the full SHA fb6d8efView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccc36e0 - Browse repository at this point
Copy the full SHA ccc36e0View commit details
Commits on Jan 9, 2023
-
Moving platform specific tsconfigs back (#5234)
* Moving tsconfigs back into platform subdirectories * Cleaning up some debug leftover
Configuration menu - View commit details
-
Copy full SHA for 41f3028 - Browse repository at this point
Copy the full SHA 41f3028View commit details
Commits on Jan 11, 2023
-
* Assert the NDK relative to the Android SDK * Updating docs and NDK version used on CI
Configuration menu - View commit details
-
Copy full SHA for db6620c - Browse repository at this point
Copy the full SHA db6620cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32afdf4 - Browse repository at this point
Copy the full SHA 32afdf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cdf364 - Browse repository at this point
Copy the full SHA 6cdf364View commit details -
Node integration test enviroment (#5241)
* Adding mocha-reporter and node testenv to NPM WS * Making the Node tests and environment ESM friendly * Upgrading to the latest Mocha Remote * Cleaned up some console.logs
Configuration menu - View commit details
-
Copy full SHA for e354836 - Browse repository at this point
Copy the full SHA e354836View commit details -
Configuration menu - View commit details
-
Copy full SHA for e841427 - Browse repository at this point
Copy the full SHA e841427View commit details -
Configuration menu - View commit details
-
Copy full SHA for 559e374 - Browse repository at this point
Copy the full SHA 559e374View commit details
Commits on Jan 12, 2023
-
Bindgen RN fetch implementation (#5249)
* Adding @types/react-native as dep * Limiting json-schema includes * Refactored formatters to be provided by templates * Adding a RN network implementation * Use "@types/react-native" over "react-native" * Declare optional peer dependency on "react-native"
Configuration menu - View commit details
-
Copy full SHA for 363d119 - Browse repository at this point
Copy the full SHA 363d119View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee5cf7b - Browse repository at this point
Copy the full SHA ee5cf7bView commit details
Commits on Jan 18, 2023
-
Testing Bindgen SDK on React Native (#5258)
* support building for RN-android * use separate native.mjs files for node vs RN with different native module loading intros * Temporarily making FS APIs to async * Temporarily disabling jwt test * Temporarily disabling the use of WeakRef * Temporarily disable crashing test by disabling the failing float property * Fixed float crash * expose JsPlatformHelpers for FS ops * flush microtask queue after CPP->JS callbacks * Fixed jwt test, by using a pure JS package to sign * Revert "Temporarily making FS APIs to async" This reverts commit e3e2659. * Using binding's platform utils on RN * Commenting on the failing "beforenotify" test * Fixed "QueryArg" crash. * Revert "Temporarily disabling the use of WeakRef" This reverts commit 1d3e385. * Add WeakRef polyfill * Fixed removeRealmFilesFromDirectory on Node Co-authored-by: Mathias Stearn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 405e84d - Browse repository at this point
Copy the full SHA 405e84dView commit details
Commits on Jan 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8ab4df0 - Browse repository at this point
Copy the full SHA 8ab4df0View commit details
Commits on Jan 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 789a688 - Browse repository at this point
Copy the full SHA 789a688View commit details
Commits on Jan 27, 2023
-
* Adding a PROJECT_ROOT and NVM loader into .xcode.env As a workaround for facebook/react-native#35970. Adding nvm loader fixes xcode's inability to find node. * Applied Mathias' patch to bindgen's CMakeLists.txt * Updated Gemfile.lock * Update build-ios.sh to build into the SDK package. * Adding podspec to the SDK. Had to move podspec and the source-code referenced by it into the SDK. Also removed dead code from the iOS native module. * Removed listener APIs from header too
Configuration menu - View commit details
-
Copy full SHA for 4fda530 - Browse repository at this point
Copy the full SHA 4fda530View commit details -
Co-authored-by: Kræn Hansen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 75c35d8 - Browse repository at this point
Copy the full SHA 75c35d8View commit details
Commits on Feb 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cb5c8ea - Browse repository at this point
Copy the full SHA cb5c8eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f31af4 - Browse repository at this point
Copy the full SHA 2f31af4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17fade5 - Browse repository at this point
Copy the full SHA 17fade5View commit details
Commits on Feb 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d09273d - Browse repository at this point
Copy the full SHA d09273dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 97c06d0 - Browse repository at this point
Copy the full SHA 97c06d0View commit details -
Update integration-tests/tests/src/tests/dictionary.ts
Co-authored-by: Kræn Hansen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d1d92e1 - Browse repository at this point
Copy the full SHA d1d92e1View commit details -
Apply suggestions from code review
Co-authored-by: Kræn Hansen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 96a49dc - Browse repository at this point
Copy the full SHA 96a49dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68049f7 - Browse repository at this point
Copy the full SHA 68049f7View commit details
Commits on Feb 7, 2023
-
[bindgen] Refactor namespaces (#5376)
* WIP on improving the type-tests * Removed a stray comment start * Fixed missing @ts-expect-error in bundle.d.ts * Propagate local app name and version * Renamed AuthClients to Auth This is to avoid breaking the API just yet. * Refactored namespaces * Fixed namespaced Types export * Fixed InsertionModel types * Fixed a type-o * Ensuring named exports are correct * Updated unit tests to import from ../index * Fixed some exported types * Merged Dictionary interface and class * Reverting removal of `Realm.Credentials` * Reordered and exporting MutableSubscriptionSet * Updated AppConfiguration#baseUrl docs * Adding links to ClientResetError deprecation * Exporting types pr review * Adding "CanonicalObjectSchema" to Realm namespace * Export CanonicalPropertySchema And added a link to it on the CanonicalObjectSchemaProperty.
Configuration menu - View commit details
-
Copy full SHA for 712a277 - Browse repository at this point
Copy the full SHA 712a277View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9290ede - Browse repository at this point
Copy the full SHA 9290edeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 210ba56 - Browse repository at this point
Copy the full SHA 210ba56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bcb45e - Browse repository at this point
Copy the full SHA 1bcb45eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c54ae4 - Browse repository at this point
Copy the full SHA 2c54ae4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78846bd - Browse repository at this point
Copy the full SHA 78846bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5c28f6 - Browse repository at this point
Copy the full SHA d5c28f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 719dbfd - Browse repository at this point
Copy the full SHA 719dbfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for aaa1ce8 - Browse repository at this point
Copy the full SHA aaa1ce8View commit details
Commits on Feb 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a688f44 - Browse repository at this point
Copy the full SHA a688f44View commit details -
[bindgen] Global
Realm
(#5380)* Made SDK export a global Realm * Update packages/realm/src/safeGlobalThis.ts * Update safeGlobalThis.ts * Reacted to review * Exporting types for `Realm` global
Configuration menu - View commit details
-
Copy full SHA for 192bbe2 - Browse repository at this point
Copy the full SHA 192bbe2View commit details
Commits on Feb 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2d5d3e5 - Browse repository at this point
Copy the full SHA 2d5d3e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d21a29 - Browse repository at this point
Copy the full SHA 0d21a29View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc6c129 - Browse repository at this point
Copy the full SHA bc6c129View commit details
Commits on Feb 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b0f76bf - Browse repository at this point
Copy the full SHA b0f76bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bc08d6 - Browse repository at this point
Copy the full SHA 8bc08d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9b908d - Browse repository at this point
Copy the full SHA b9b908dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99ed8e7 - Browse repository at this point
Copy the full SHA 99ed8e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for efb4854 - Browse repository at this point
Copy the full SHA efb4854View commit details
Commits on Feb 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 271e5a3 - Browse repository at this point
Copy the full SHA 271e5a3View commit details -
Co-authored-by: Andrew Meyer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 752af36 - Browse repository at this point
Copy the full SHA 752af36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3864cc6 - Browse repository at this point
Copy the full SHA 3864cc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3227f95 - Browse repository at this point
Copy the full SHA 3227f95View commit details -
Configuration menu - View commit details
-
Copy full SHA for d64f7e3 - Browse repository at this point
Copy the full SHA d64f7e3View commit details -
[bindgen] Refactored network to rely on
@realm/network-transport
(#……5423) * WIP on using "node-fetch" * WIP using @realm/network-transport * Turned test runner into ESM This could actually be refactored to use --passthrough-arguments * Standardized bundle names and upgraded node-fetch to ESM * Updating rollup config * Removed a console.log * Exposing ReadableStream body * Extracted a toFetchRequest * Fixed iterable readable stream * Overloading network.fetch * Fixed a broken rollup config
Configuration menu - View commit details
-
Copy full SHA for a8ef5b5 - Browse repository at this point
Copy the full SHA a8ef5b5View commit details
Commits on Feb 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fe73f6b - Browse repository at this point
Copy the full SHA fe73f6bView commit details
Commits on Feb 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8004a44 - Browse repository at this point
Copy the full SHA 8004a44View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb86946 - Browse repository at this point
Copy the full SHA bb86946View commit details -
7
Configuration menu - View commit details
-
Copy full SHA for 6c59f95 - Browse repository at this point
Copy the full SHA 6c59f95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54bed8a - Browse repository at this point
Copy the full SHA 54bed8aView commit details -
Using @commander-js/extra-typings and updated spec option
It's the recommended way to import with commander from TS: https://www.npmjs.com/package/commander#typescript
Configuration menu - View commit details
-
Copy full SHA for d4248d8 - Browse repository at this point
Copy the full SHA d4248d8View commit details
Commits on Feb 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ab3f3d9 - Browse repository at this point
Copy the full SHA ab3f3d9View commit details
Commits on Feb 17, 2023
-
Support
MongoDBCollection.watch()
(#5417)Co-authored-by: Kræn Hansen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for edc1e31 - Browse repository at this point
Copy the full SHA edc1e31View commit details
Commits on Feb 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 783a999 - Browse repository at this point
Copy the full SHA 783a999View commit details -
merge interfaces into classes in the spec
The intended difference didn't end up working out and they were treated the same in the generators. Instead we use Helpers to turn structs with functions into C++ interface implementations. Will explore alternative approaches later, since we have other SDKs in other languages where that isn't a good fit. But for now, this simplifies the model and clears up syntactic space for future exploration.
Configuration menu - View commit details
-
Copy full SHA for d0f3ee2 - Browse repository at this point
Copy the full SHA d0f3ee2View commit details -
Remove special case for ObjectId construction
No longer needed as of realm/realm-core@4a7e5d2
Configuration menu - View commit details
-
Copy full SHA for 3cc09d0 - Browse repository at this point
Copy the full SHA 3cc09d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cf22b2 - Browse repository at this point
Copy the full SHA 6cf22b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 835270d - Browse repository at this point
Copy the full SHA 835270dView commit details
Commits on Feb 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0b23404 - Browse repository at this point
Copy the full SHA 0b23404View commit details -
[bindgen] SDK packaging (#5466)
* Moved Android SDK files * Enumerate files to include in package * Adding platform build npm scripts * Updated "exports" object * Removed check for "react-native" existence. * Updated `LIBRARY_OUTPUT_DIRECTORY`
Configuration menu - View commit details
-
Copy full SHA for e0db136 - Browse repository at this point
Copy the full SHA e0db136View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ecc8fe - Browse repository at this point
Copy the full SHA 7ecc8feView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2646b1 - Browse repository at this point
Copy the full SHA e2646b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8193f13 - Browse repository at this point
Copy the full SHA 8193f13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 046f43b - Browse repository at this point
Copy the full SHA 046f43bView commit details
Commits on Feb 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 616b48d - Browse repository at this point
Copy the full SHA 616b48dView commit details -
Configuration menu - View commit details
-
Copy full SHA for aeece99 - Browse repository at this point
Copy the full SHA aeece99View commit details -
Configuration menu - View commit details
-
Copy full SHA for adca6c8 - Browse repository at this point
Copy the full SHA adca6c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35ff9fe - Browse repository at this point
Copy the full SHA 35ff9feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c4f1cd - Browse repository at this point
Copy the full SHA 2c4f1cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e1e511 - Browse repository at this point
Copy the full SHA 2e1e511View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29f66cd - Browse repository at this point
Copy the full SHA 29f66cdView commit details
Commits on Feb 24, 2023
-
Apply suggestions from code review
Co-authored-by: Andrew Meyer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 96321b7 - Browse repository at this point
Copy the full SHA 96321b7View commit details