-
Notifications
You must be signed in to change notification settings - Fork 579
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
Support the Hermes JS engine through JSI #4536
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137)
Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command
Adding changelog template Updated package-locks Copied up the change log
Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json
* Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix
As with #4435:
|
kraenhansen
added a commit
that referenced
this pull request
May 11, 2022
* [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge
kraenhansen
added a commit
that referenced
this pull request
May 18, 2022
* [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge
kraenhansen
added a commit
that referenced
this pull request
Jun 7, 2022
* [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge
kraenhansen
added a commit
that referenced
this pull request
Jun 7, 2022
* [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge
kraenhansen
added a commit
that referenced
this pull request
Jun 8, 2022
* [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge
kraenhansen
added a commit
that referenced
this pull request
Jun 9, 2022
* [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge
kraenhansen
added a commit
that referenced
this pull request
Jul 7, 2022
* [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge
kraenhansen
added a commit
that referenced
this pull request
Jul 12, 2022
* [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge
takameyer
pushed a commit
that referenced
this pull request
Jul 13, 2022
* [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge
11 tasks
kraenhansen
added a commit
that referenced
this pull request
Sep 7, 2022
Squashed commit of the following: commit a3747c1 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 14:19:18 2022 +0200 Fix TypeScript errors in @realm/react (#4847) Changes to class based models caused @realm/react to break. This addresses these changes. commit f75302f Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 11:54:08 2022 +0200 Quick lint fix (#4845) commit dcabed2 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Tue Aug 30 14:35:11 2022 +0200 Prepare CHANGELOG commit 0a366fb Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Sat Jul 16 08:58:05 2022 +0200 Small fix for RN integration test app commit 343d668 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:44:29 2022 +0200 [11.0.0-rc.1] Bump version commit 6d6a71a Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:39:09 2022 +0200 Upgraded JSI header to React Native 0.69.1 commit cd813a4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 12:16:52 2022 +0200 Adding changelog template commit 10682c2 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:51:25 2022 +0200 Removing realm-core and src sourcecode from the NPM bundle commit 399b5a1 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 09:32:14 2022 +0200 [11.0.0-rc.0] Bump version commit c984d1f Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:01:52 2022 +0200 Attempt fixing CI issue commit 8daa0b9 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 4 12:06:05 2022 +0200 Update README.md (#4645) commit f46c812 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:30:35 2022 +0200 Fixed CPP lint issues commit 0788430 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:12:11 2022 +0200 Fixed failing a test commit 5250743 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Add calls to flush_ui_queue for Hermes (#4579) Rearranged jsi_init Refactored flush of UI queue for JSI commit 2b9c8b4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:08:55 2022 +0200 Avoid copying args (#4629) commit e1adfc7 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue Jun 7 16:52:03 2022 +0200 Rebuild package-lock.json Updating package-lock Rebuild package-lock.json commit 2251bd8 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Rearranged jsi_init commit d3cdd3c Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Fri Apr 29 12:45:26 2022 +0200 Class-based Models types (#4537) * Improving ClassModel type * Fixed changelog commit f02ad56 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Apr 28 17:18:52 2022 +0200 Support the Hermes JS engine through JSI (#4536) * [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge commit 02d1149 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 30 16:28:08 2022 +0200 Class models: `Realm.Object#constructor` (#4427) * Adding a cast to Value operator on ReturnType * Adding integration tests of class constructors * Made the test reporter print stack * Implemented Realm.Object constructor * Added node implementation and fixed legacy tests * Read from this.constructor instead of new.target * Fixing JSC implementation * Updating types and tests * Fixed Person and Dog constructors * Updated @realm/react useObject + useQuery * Updated types to fix an issue * Dead code removal * Updated tests to use default values * Making the insertion types a bit more loose * Adding documentation * Renamed realm_object_object * Made the constructor "values" required * Renamed "RealmInsertionModel" to "Unmanged" * Adding a note to the changelog * Apply suggestions to docstrings Co-authored-by: Kenneth Geisshirt <k@zigzak.net> * Add docstring of set_internal and get_internal * Expect 2 arguments on the C++ code as well Co-authored-by: Kenneth Geisshirt <k@zigzak.net> commit 18146be Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 16 12:03:46 2022 +0100 Class models: Enforce `extends Realm.Object` (#4417) * Throw if constructors doesn't extend Realm.Object * Updating existing tests to the breaking change. * Adding a note to the changelog Attempt at fixing Android build Fixed broken Android merge
kraenhansen
added a commit
that referenced
this pull request
Sep 7, 2022
Squashed commit of the following: commit a3747c1 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 14:19:18 2022 +0200 Fix TypeScript errors in @realm/react (#4847) Changes to class based models caused @realm/react to break. This addresses these changes. commit f75302f Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 11:54:08 2022 +0200 Quick lint fix (#4845) commit dcabed2 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Tue Aug 30 14:35:11 2022 +0200 Prepare CHANGELOG commit 0a366fb Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Sat Jul 16 08:58:05 2022 +0200 Small fix for RN integration test app commit 343d668 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:44:29 2022 +0200 [11.0.0-rc.1] Bump version commit 6d6a71a Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:39:09 2022 +0200 Upgraded JSI header to React Native 0.69.1 commit cd813a4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 12:16:52 2022 +0200 Adding changelog template commit 10682c2 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:51:25 2022 +0200 Removing realm-core and src sourcecode from the NPM bundle commit 399b5a1 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 09:32:14 2022 +0200 [11.0.0-rc.0] Bump version commit c984d1f Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:01:52 2022 +0200 Attempt fixing CI issue commit 8daa0b9 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 4 12:06:05 2022 +0200 Update README.md (#4645) commit f46c812 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:30:35 2022 +0200 Fixed CPP lint issues commit 0788430 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:12:11 2022 +0200 Fixed failing a test commit 5250743 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Add calls to flush_ui_queue for Hermes (#4579) Rearranged jsi_init Refactored flush of UI queue for JSI commit 2b9c8b4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:08:55 2022 +0200 Avoid copying args (#4629) commit e1adfc7 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue Jun 7 16:52:03 2022 +0200 Rebuild package-lock.json Updating package-lock Rebuild package-lock.json commit 2251bd8 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Rearranged jsi_init commit d3cdd3c Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Fri Apr 29 12:45:26 2022 +0200 Class-based Models types (#4537) * Improving ClassModel type * Fixed changelog commit f02ad56 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Apr 28 17:18:52 2022 +0200 Support the Hermes JS engine through JSI (#4536) * [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge commit 02d1149 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 30 16:28:08 2022 +0200 Class models: `Realm.Object#constructor` (#4427) * Adding a cast to Value operator on ReturnType * Adding integration tests of class constructors * Made the test reporter print stack * Implemented Realm.Object constructor * Added node implementation and fixed legacy tests * Read from this.constructor instead of new.target * Fixing JSC implementation * Updating types and tests * Fixed Person and Dog constructors * Updated @realm/react useObject + useQuery * Updated types to fix an issue * Dead code removal * Updated tests to use default values * Making the insertion types a bit more loose * Adding documentation * Renamed realm_object_object * Made the constructor "values" required * Renamed "RealmInsertionModel" to "Unmanged" * Adding a note to the changelog * Apply suggestions to docstrings Co-authored-by: Kenneth Geisshirt <k@zigzak.net> * Add docstring of set_internal and get_internal * Expect 2 arguments on the C++ code as well Co-authored-by: Kenneth Geisshirt <k@zigzak.net> commit 18146be Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 16 12:03:46 2022 +0100 Class models: Enforce `extends Realm.Object` (#4417) * Throw if constructors doesn't extend Realm.Object * Updating existing tests to the breaking change. * Adding a note to the changelog Attempt at fixing Android build Fixed broken Android merge
kraenhansen
added a commit
that referenced
this pull request
Sep 9, 2022
Squashed commit of the following: commit a3747c1 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 14:19:18 2022 +0200 Fix TypeScript errors in @realm/react (#4847) Changes to class based models caused @realm/react to break. This addresses these changes. commit f75302f Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 11:54:08 2022 +0200 Quick lint fix (#4845) commit dcabed2 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Tue Aug 30 14:35:11 2022 +0200 Prepare CHANGELOG commit 0a366fb Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Sat Jul 16 08:58:05 2022 +0200 Small fix for RN integration test app commit 343d668 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:44:29 2022 +0200 [11.0.0-rc.1] Bump version commit 6d6a71a Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:39:09 2022 +0200 Upgraded JSI header to React Native 0.69.1 commit cd813a4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 12:16:52 2022 +0200 Adding changelog template commit 10682c2 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:51:25 2022 +0200 Removing realm-core and src sourcecode from the NPM bundle commit 399b5a1 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 09:32:14 2022 +0200 [11.0.0-rc.0] Bump version commit c984d1f Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:01:52 2022 +0200 Attempt fixing CI issue commit 8daa0b9 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 4 12:06:05 2022 +0200 Update README.md (#4645) commit f46c812 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:30:35 2022 +0200 Fixed CPP lint issues commit 0788430 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:12:11 2022 +0200 Fixed failing a test commit 5250743 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Add calls to flush_ui_queue for Hermes (#4579) Rearranged jsi_init Refactored flush of UI queue for JSI commit 2b9c8b4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:08:55 2022 +0200 Avoid copying args (#4629) commit e1adfc7 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue Jun 7 16:52:03 2022 +0200 Rebuild package-lock.json Updating package-lock Rebuild package-lock.json commit 2251bd8 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Rearranged jsi_init commit d3cdd3c Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Fri Apr 29 12:45:26 2022 +0200 Class-based Models types (#4537) * Improving ClassModel type * Fixed changelog commit f02ad56 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Apr 28 17:18:52 2022 +0200 Support the Hermes JS engine through JSI (#4536) * [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge commit 02d1149 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 30 16:28:08 2022 +0200 Class models: `Realm.Object#constructor` (#4427) * Adding a cast to Value operator on ReturnType * Adding integration tests of class constructors * Made the test reporter print stack * Implemented Realm.Object constructor * Added node implementation and fixed legacy tests * Read from this.constructor instead of new.target * Fixing JSC implementation * Updating types and tests * Fixed Person and Dog constructors * Updated @realm/react useObject + useQuery * Updated types to fix an issue * Dead code removal * Updated tests to use default values * Making the insertion types a bit more loose * Adding documentation * Renamed realm_object_object * Made the constructor "values" required * Renamed "RealmInsertionModel" to "Unmanged" * Adding a note to the changelog * Apply suggestions to docstrings Co-authored-by: Kenneth Geisshirt <k@zigzak.net> * Add docstring of set_internal and get_internal * Expect 2 arguments on the C++ code as well Co-authored-by: Kenneth Geisshirt <k@zigzak.net> commit 18146be Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 16 12:03:46 2022 +0100 Class models: Enforce `extends Realm.Object` (#4417) * Throw if constructors doesn't extend Realm.Object * Updating existing tests to the breaking change. * Adding a note to the changelog Attempt at fixing Android build Fixed broken Android merge
kraenhansen
added a commit
that referenced
this pull request
Sep 9, 2022
Squashed commit of the following: commit a3747c1 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 14:19:18 2022 +0200 Fix TypeScript errors in @realm/react (#4847) Changes to class based models caused @realm/react to break. This addresses these changes. commit f75302f Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 11:54:08 2022 +0200 Quick lint fix (#4845) commit dcabed2 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Tue Aug 30 14:35:11 2022 +0200 Prepare CHANGELOG commit 0a366fb Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Sat Jul 16 08:58:05 2022 +0200 Small fix for RN integration test app commit 343d668 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:44:29 2022 +0200 [11.0.0-rc.1] Bump version commit 6d6a71a Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:39:09 2022 +0200 Upgraded JSI header to React Native 0.69.1 commit cd813a4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 12:16:52 2022 +0200 Adding changelog template commit 10682c2 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:51:25 2022 +0200 Removing realm-core and src sourcecode from the NPM bundle commit 399b5a1 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 09:32:14 2022 +0200 [11.0.0-rc.0] Bump version commit c984d1f Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:01:52 2022 +0200 Attempt fixing CI issue commit 8daa0b9 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 4 12:06:05 2022 +0200 Update README.md (#4645) commit f46c812 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:30:35 2022 +0200 Fixed CPP lint issues commit 0788430 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:12:11 2022 +0200 Fixed failing a test commit 5250743 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Add calls to flush_ui_queue for Hermes (#4579) Rearranged jsi_init Refactored flush of UI queue for JSI commit 2b9c8b4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:08:55 2022 +0200 Avoid copying args (#4629) commit e1adfc7 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue Jun 7 16:52:03 2022 +0200 Rebuild package-lock.json Updating package-lock Rebuild package-lock.json commit 2251bd8 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Rearranged jsi_init commit d3cdd3c Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Fri Apr 29 12:45:26 2022 +0200 Class-based Models types (#4537) * Improving ClassModel type * Fixed changelog commit f02ad56 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Apr 28 17:18:52 2022 +0200 Support the Hermes JS engine through JSI (#4536) * [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge commit 02d1149 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 30 16:28:08 2022 +0200 Class models: `Realm.Object#constructor` (#4427) * Adding a cast to Value operator on ReturnType * Adding integration tests of class constructors * Made the test reporter print stack * Implemented Realm.Object constructor * Added node implementation and fixed legacy tests * Read from this.constructor instead of new.target * Fixing JSC implementation * Updating types and tests * Fixed Person and Dog constructors * Updated @realm/react useObject + useQuery * Updated types to fix an issue * Dead code removal * Updated tests to use default values * Making the insertion types a bit more loose * Adding documentation * Renamed realm_object_object * Made the constructor "values" required * Renamed "RealmInsertionModel" to "Unmanged" * Adding a note to the changelog * Apply suggestions to docstrings Co-authored-by: Kenneth Geisshirt <k@zigzak.net> * Add docstring of set_internal and get_internal * Expect 2 arguments on the C++ code as well Co-authored-by: Kenneth Geisshirt <k@zigzak.net> commit 18146be Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 16 12:03:46 2022 +0100 Class models: Enforce `extends Realm.Object` (#4417) * Throw if constructors doesn't extend Realm.Object * Updating existing tests to the breaking change. * Adding a note to the changelog Attempt at fixing Android build Fixed broken Android merge
kraenhansen
added a commit
that referenced
this pull request
Sep 9, 2022
Squashed commit of the following: commit a3747c1 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 14:19:18 2022 +0200 Fix TypeScript errors in @realm/react (#4847) Changes to class based models caused @realm/react to break. This addresses these changes. commit f75302f Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 11:54:08 2022 +0200 Quick lint fix (#4845) commit dcabed2 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Tue Aug 30 14:35:11 2022 +0200 Prepare CHANGELOG commit 0a366fb Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Sat Jul 16 08:58:05 2022 +0200 Small fix for RN integration test app commit 343d668 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:44:29 2022 +0200 [11.0.0-rc.1] Bump version commit 6d6a71a Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:39:09 2022 +0200 Upgraded JSI header to React Native 0.69.1 commit cd813a4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 12:16:52 2022 +0200 Adding changelog template commit 10682c2 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:51:25 2022 +0200 Removing realm-core and src sourcecode from the NPM bundle commit 399b5a1 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 09:32:14 2022 +0200 [11.0.0-rc.0] Bump version commit c984d1f Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:01:52 2022 +0200 Attempt fixing CI issue commit 8daa0b9 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 4 12:06:05 2022 +0200 Update README.md (#4645) commit f46c812 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:30:35 2022 +0200 Fixed CPP lint issues commit 0788430 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:12:11 2022 +0200 Fixed failing a test commit 5250743 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Add calls to flush_ui_queue for Hermes (#4579) Rearranged jsi_init Refactored flush of UI queue for JSI commit 2b9c8b4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:08:55 2022 +0200 Avoid copying args (#4629) commit e1adfc7 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue Jun 7 16:52:03 2022 +0200 Rebuild package-lock.json Updating package-lock Rebuild package-lock.json commit 2251bd8 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Rearranged jsi_init commit d3cdd3c Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Fri Apr 29 12:45:26 2022 +0200 Class-based Models types (#4537) * Improving ClassModel type * Fixed changelog commit f02ad56 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Apr 28 17:18:52 2022 +0200 Support the Hermes JS engine through JSI (#4536) * [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge commit 02d1149 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 30 16:28:08 2022 +0200 Class models: `Realm.Object#constructor` (#4427) * Adding a cast to Value operator on ReturnType * Adding integration tests of class constructors * Made the test reporter print stack * Implemented Realm.Object constructor * Added node implementation and fixed legacy tests * Read from this.constructor instead of new.target * Fixing JSC implementation * Updating types and tests * Fixed Person and Dog constructors * Updated @realm/react useObject + useQuery * Updated types to fix an issue * Dead code removal * Updated tests to use default values * Making the insertion types a bit more loose * Adding documentation * Renamed realm_object_object * Made the constructor "values" required * Renamed "RealmInsertionModel" to "Unmanged" * Adding a note to the changelog * Apply suggestions to docstrings Co-authored-by: Kenneth Geisshirt <k@zigzak.net> * Add docstring of set_internal and get_internal * Expect 2 arguments on the C++ code as well Co-authored-by: Kenneth Geisshirt <k@zigzak.net> commit 18146be Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 16 12:03:46 2022 +0100 Class models: Enforce `extends Realm.Object` (#4417) * Throw if constructors doesn't extend Realm.Object * Updating existing tests to the breaking change. * Adding a note to the changelog Attempt at fixing Android build Fixed broken Android merge
kraenhansen
added a commit
that referenced
this pull request
Sep 13, 2022
Squashed commit of the following: commit a3747c1 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 14:19:18 2022 +0200 Fix TypeScript errors in @realm/react (#4847) Changes to class based models caused @realm/react to break. This addresses these changes. commit f75302f Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 11:54:08 2022 +0200 Quick lint fix (#4845) commit dcabed2 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Tue Aug 30 14:35:11 2022 +0200 Prepare CHANGELOG commit 0a366fb Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Sat Jul 16 08:58:05 2022 +0200 Small fix for RN integration test app commit 343d668 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:44:29 2022 +0200 [11.0.0-rc.1] Bump version commit 6d6a71a Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:39:09 2022 +0200 Upgraded JSI header to React Native 0.69.1 commit cd813a4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 12:16:52 2022 +0200 Adding changelog template commit 10682c2 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:51:25 2022 +0200 Removing realm-core and src sourcecode from the NPM bundle commit 399b5a1 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 09:32:14 2022 +0200 [11.0.0-rc.0] Bump version commit c984d1f Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:01:52 2022 +0200 Attempt fixing CI issue commit 8daa0b9 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 4 12:06:05 2022 +0200 Update README.md (#4645) commit f46c812 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:30:35 2022 +0200 Fixed CPP lint issues commit 0788430 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:12:11 2022 +0200 Fixed failing a test commit 5250743 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Add calls to flush_ui_queue for Hermes (#4579) Rearranged jsi_init Refactored flush of UI queue for JSI commit 2b9c8b4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:08:55 2022 +0200 Avoid copying args (#4629) commit e1adfc7 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue Jun 7 16:52:03 2022 +0200 Rebuild package-lock.json Updating package-lock Rebuild package-lock.json commit 2251bd8 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Rearranged jsi_init commit d3cdd3c Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Fri Apr 29 12:45:26 2022 +0200 Class-based Models types (#4537) * Improving ClassModel type * Fixed changelog commit f02ad56 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Apr 28 17:18:52 2022 +0200 Support the Hermes JS engine through JSI (#4536) * [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge commit 02d1149 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 30 16:28:08 2022 +0200 Class models: `Realm.Object#constructor` (#4427) * Adding a cast to Value operator on ReturnType * Adding integration tests of class constructors * Made the test reporter print stack * Implemented Realm.Object constructor * Added node implementation and fixed legacy tests * Read from this.constructor instead of new.target * Fixing JSC implementation * Updating types and tests * Fixed Person and Dog constructors * Updated @realm/react useObject + useQuery * Updated types to fix an issue * Dead code removal * Updated tests to use default values * Making the insertion types a bit more loose * Adding documentation * Renamed realm_object_object * Made the constructor "values" required * Renamed "RealmInsertionModel" to "Unmanged" * Adding a note to the changelog * Apply suggestions to docstrings Co-authored-by: Kenneth Geisshirt <k@zigzak.net> * Add docstring of set_internal and get_internal * Expect 2 arguments on the C++ code as well Co-authored-by: Kenneth Geisshirt <k@zigzak.net> commit 18146be Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 16 12:03:46 2022 +0100 Class models: Enforce `extends Realm.Object` (#4417) * Throw if constructors doesn't extend Realm.Object * Updating existing tests to the breaking change. * Adding a note to the changelog Attempt at fixing Android build Fixed broken Android merge
kraenhansen
added a commit
that referenced
this pull request
Sep 15, 2022
Squashed commit of the following: commit a3747c1 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 14:19:18 2022 +0200 Fix TypeScript errors in @realm/react (#4847) Changes to class based models caused @realm/react to break. This addresses these changes. commit f75302f Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 11:54:08 2022 +0200 Quick lint fix (#4845) commit dcabed2 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Tue Aug 30 14:35:11 2022 +0200 Prepare CHANGELOG commit 0a366fb Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Sat Jul 16 08:58:05 2022 +0200 Small fix for RN integration test app commit 343d668 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:44:29 2022 +0200 [11.0.0-rc.1] Bump version commit 6d6a71a Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:39:09 2022 +0200 Upgraded JSI header to React Native 0.69.1 commit cd813a4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 12:16:52 2022 +0200 Adding changelog template commit 10682c2 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:51:25 2022 +0200 Removing realm-core and src sourcecode from the NPM bundle commit 399b5a1 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 09:32:14 2022 +0200 [11.0.0-rc.0] Bump version commit c984d1f Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:01:52 2022 +0200 Attempt fixing CI issue commit 8daa0b9 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 4 12:06:05 2022 +0200 Update README.md (#4645) commit f46c812 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:30:35 2022 +0200 Fixed CPP lint issues commit 0788430 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:12:11 2022 +0200 Fixed failing a test commit 5250743 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Add calls to flush_ui_queue for Hermes (#4579) Rearranged jsi_init Refactored flush of UI queue for JSI commit 2b9c8b4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:08:55 2022 +0200 Avoid copying args (#4629) commit e1adfc7 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue Jun 7 16:52:03 2022 +0200 Rebuild package-lock.json Updating package-lock Rebuild package-lock.json commit 2251bd8 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Rearranged jsi_init commit d3cdd3c Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Fri Apr 29 12:45:26 2022 +0200 Class-based Models types (#4537) * Improving ClassModel type * Fixed changelog commit f02ad56 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Apr 28 17:18:52 2022 +0200 Support the Hermes JS engine through JSI (#4536) * [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge commit 02d1149 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 30 16:28:08 2022 +0200 Class models: `Realm.Object#constructor` (#4427) * Adding a cast to Value operator on ReturnType * Adding integration tests of class constructors * Made the test reporter print stack * Implemented Realm.Object constructor * Added node implementation and fixed legacy tests * Read from this.constructor instead of new.target * Fixing JSC implementation * Updating types and tests * Fixed Person and Dog constructors * Updated @realm/react useObject + useQuery * Updated types to fix an issue * Dead code removal * Updated tests to use default values * Making the insertion types a bit more loose * Adding documentation * Renamed realm_object_object * Made the constructor "values" required * Renamed "RealmInsertionModel" to "Unmanged" * Adding a note to the changelog * Apply suggestions to docstrings Co-authored-by: Kenneth Geisshirt <k@zigzak.net> * Add docstring of set_internal and get_internal * Expect 2 arguments on the C++ code as well Co-authored-by: Kenneth Geisshirt <k@zigzak.net> commit 18146be Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 16 12:03:46 2022 +0100 Class models: Enforce `extends Realm.Object` (#4417) * Throw if constructors doesn't extend Realm.Object * Updating existing tests to the breaking change. * Adding a note to the changelog Attempt at fixing Android build Fixed broken Android merge
takameyer
pushed a commit
that referenced
this pull request
Sep 15, 2022
Squashed commit of the following: commit a3747c1 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 14:19:18 2022 +0200 Fix TypeScript errors in @realm/react (#4847) Changes to class based models caused @realm/react to break. This addresses these changes. commit f75302f Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 11:54:08 2022 +0200 Quick lint fix (#4845) commit dcabed2 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Tue Aug 30 14:35:11 2022 +0200 Prepare CHANGELOG commit 0a366fb Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Sat Jul 16 08:58:05 2022 +0200 Small fix for RN integration test app commit 343d668 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:44:29 2022 +0200 [11.0.0-rc.1] Bump version commit 6d6a71a Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:39:09 2022 +0200 Upgraded JSI header to React Native 0.69.1 commit cd813a4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 12:16:52 2022 +0200 Adding changelog template commit 10682c2 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:51:25 2022 +0200 Removing realm-core and src sourcecode from the NPM bundle commit 399b5a1 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 09:32:14 2022 +0200 [11.0.0-rc.0] Bump version commit c984d1f Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:01:52 2022 +0200 Attempt fixing CI issue commit 8daa0b9 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 4 12:06:05 2022 +0200 Update README.md (#4645) commit f46c812 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:30:35 2022 +0200 Fixed CPP lint issues commit 0788430 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:12:11 2022 +0200 Fixed failing a test commit 5250743 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Add calls to flush_ui_queue for Hermes (#4579) Rearranged jsi_init Refactored flush of UI queue for JSI commit 2b9c8b4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:08:55 2022 +0200 Avoid copying args (#4629) commit e1adfc7 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue Jun 7 16:52:03 2022 +0200 Rebuild package-lock.json Updating package-lock Rebuild package-lock.json commit 2251bd8 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Rearranged jsi_init commit d3cdd3c Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Fri Apr 29 12:45:26 2022 +0200 Class-based Models types (#4537) * Improving ClassModel type * Fixed changelog commit f02ad56 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Apr 28 17:18:52 2022 +0200 Support the Hermes JS engine through JSI (#4536) * [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge commit 02d1149 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 30 16:28:08 2022 +0200 Class models: `Realm.Object#constructor` (#4427) * Adding a cast to Value operator on ReturnType * Adding integration tests of class constructors * Made the test reporter print stack * Implemented Realm.Object constructor * Added node implementation and fixed legacy tests * Read from this.constructor instead of new.target * Fixing JSC implementation * Updating types and tests * Fixed Person and Dog constructors * Updated @realm/react useObject + useQuery * Updated types to fix an issue * Dead code removal * Updated tests to use default values * Making the insertion types a bit more loose * Adding documentation * Renamed realm_object_object * Made the constructor "values" required * Renamed "RealmInsertionModel" to "Unmanged" * Adding a note to the changelog * Apply suggestions to docstrings Co-authored-by: Kenneth Geisshirt <k@zigzak.net> * Add docstring of set_internal and get_internal * Expect 2 arguments on the C++ code as well Co-authored-by: Kenneth Geisshirt <k@zigzak.net> commit 18146be Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 16 12:03:46 2022 +0100 Class models: Enforce `extends Realm.Object` (#4417) * Throw if constructors doesn't extend Realm.Object * Updating existing tests to the breaking change. * Adding a note to the changelog Attempt at fixing Android build Fixed broken Android merge
kraenhansen
added a commit
that referenced
this pull request
Oct 18, 2022
Squashed commit of the following: commit a3747c1 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 14:19:18 2022 +0200 Fix TypeScript errors in @realm/react (#4847) Changes to class based models caused @realm/react to break. This addresses these changes. commit f75302f Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Wed Aug 31 11:54:08 2022 +0200 Quick lint fix (#4845) commit dcabed2 Author: Andrew Meyer <andrew.meyer@mongodb.com> Date: Tue Aug 30 14:35:11 2022 +0200 Prepare CHANGELOG commit 0a366fb Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Sat Jul 16 08:58:05 2022 +0200 Small fix for RN integration test app commit 343d668 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:44:29 2022 +0200 [11.0.0-rc.1] Bump version commit 6d6a71a Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 11 16:39:09 2022 +0200 Upgraded JSI header to React Native 0.69.1 commit cd813a4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 12:16:52 2022 +0200 Adding changelog template commit 10682c2 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:51:25 2022 +0200 Removing realm-core and src sourcecode from the NPM bundle commit 399b5a1 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 09:32:14 2022 +0200 [11.0.0-rc.0] Bump version commit c984d1f Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Jul 7 11:01:52 2022 +0200 Attempt fixing CI issue commit 8daa0b9 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Mon Jul 4 12:06:05 2022 +0200 Update README.md (#4645) commit f46c812 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:30:35 2022 +0200 Fixed CPP lint issues commit 0788430 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:12:11 2022 +0200 Fixed failing a test commit 5250743 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Add calls to flush_ui_queue for Hermes (#4579) Rearranged jsi_init Refactored flush of UI queue for JSI commit 2b9c8b4 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Jun 8 16:08:55 2022 +0200 Avoid copying args (#4629) commit e1adfc7 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue Jun 7 16:52:03 2022 +0200 Rebuild package-lock.json Updating package-lock Rebuild package-lock.json commit 2251bd8 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Tue May 17 12:19:46 2022 +0200 Rearranged jsi_init commit d3cdd3c Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Fri Apr 29 12:45:26 2022 +0200 Class-based Models types (#4537) * Improving ClassModel type * Fixed changelog commit f02ad56 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Thu Apr 28 17:18:52 2022 +0200 Support the Hermes JS engine through JSI (#4536) * [10.20.0-alpha.0] PRE-RELEASE - DO NOT USE IN PRODUCTION * [10.20.0-alpha.1] Bump version * [10.20.0-alpha.2] Bump version Rename namespaces in the JSI codebase to reflect that it doesn't just support Hermes (#4079) Rework the namespace names in our Hermes/JSI layer to more accurately reflect that we support JSI, and to remove ambiguities and namespace clashes. This closes RJS-1337. Fixing C++ lint error * [10.20.0-beta.0] Bump version Hermes: Fixing a couple of breaking tests (#4120) * Relaxing error message asserting tests * Fixing testListSubscriptSetters Catching missing libjsi.so as librealm.so loads (#4123) Updated RN peer dependency version (#4124) Fix classes not extending `Realm.Object` (#4125) * Fixing custom classes not extending Realm.Object * Adding a note to the changelog * Update CHANGELOG.md Co-authored-by: FFranck <franck.franck@mongodb.com> Co-authored-by: FFranck <franck.franck@mongodb.com> Fixed throwing "Illegal constructor" (#4128) Clarifying the get_internal early return Refixed throwing "Illegal constructor" Various JSI fixes to greenlight more tests (#4129) Flipper doesnt support inlined sourcemaps Return an existing s_ctor Testing with Hermes on CI (#4106) * Adding hermes as target branch for the integration tests workflow * Reading environment variable when enabling Hermes * Adding test app to watchable directories * Adding a hermes variant when testing React Native * Making the ccache engine specific * Moved react-native entry point to fix lint error * Attempt at fixing ReactTestAppTests * Update Podfile to work around the Catalyst issue Fixes for type conversions and minor cleanups (#4137) * [10.20.0-beta.1] Bump version Clean up JavaScriptCore & legacy Chrome debugger RPC layer (#4203) * Removed 0xd3adc0d3 * Providing a "soft" landing for users running in legacy debugging mode * Simplified index.js as we have react-native/index.js * Removed some logging * Adding a note to the CHANGELOG * Stop integration testing in legacy debug mode * Incorporated feedback * Fixed the environment check 🤦♂️ * Removed all mentions of GCDWebServer Prevent dangling objects on JSCRuntime destruction (#4228) * WIP * Refactored to a separate js_notifications.hpp * Using the NotificationBucket throughout the codebase * Adding a note to the changelog * Fixed compiling on GCC * Trigger garbage collection after every test * Ensure s_tokens static gets initialized before use Removed a bash only prepare command * [10.20.0-beta.2] Bump version Adding changelog template Updated package-locks Copied up the change log * [10.20.0-beta.3] Bump version * [10.20.0-beta.4] Bump version Hermes: Adding an index.native.js (#4461) * Ading an index.native.js to help bundlers * Adding a note to the changelog Update CMakeLists.txt to resolve "react-native" (#4466) * Update CMakeLists.txt to resolve "react-native" This enables end-users to build the iOS XCFramework locally from our npm package, if they need it built with the same version of Xcode as they're using to build their app. * Update CHANGELOG.md * Updating package-lock.json * Adding changelog template * [10.20.0-beta.5] Bump version * Adding changelog template * Rolling up relevant notes in changelog * Class models: `Realm.Object#constructor` for JSI / Hermes (#4435) * Create prototyped object instead of constructor call Recreated package-lock * Ran lint fix Co-authored-by: Mathias Stearn <redbeard0531@gmail.com> Updated the merge commit 02d1149 Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 30 16:28:08 2022 +0200 Class models: `Realm.Object#constructor` (#4427) * Adding a cast to Value operator on ReturnType * Adding integration tests of class constructors * Made the test reporter print stack * Implemented Realm.Object constructor * Added node implementation and fixed legacy tests * Read from this.constructor instead of new.target * Fixing JSC implementation * Updating types and tests * Fixed Person and Dog constructors * Updated @realm/react useObject + useQuery * Updated types to fix an issue * Dead code removal * Updated tests to use default values * Making the insertion types a bit more loose * Adding documentation * Renamed realm_object_object * Made the constructor "values" required * Renamed "RealmInsertionModel" to "Unmanged" * Adding a note to the changelog * Apply suggestions to docstrings Co-authored-by: Kenneth Geisshirt <k@zigzak.net> * Add docstring of set_internal and get_internal * Expect 2 arguments on the C++ code as well Co-authored-by: Kenneth Geisshirt <k@zigzak.net> commit 18146be Author: Kræn Hansen <kraen.hansen@mongodb.com> Date: Wed Mar 16 12:03:46 2022 +0100 Class models: Enforce `extends Realm.Object` (#4417) * Throw if constructors doesn't extend Realm.Object * Updating existing tests to the breaking change. * Adding a note to the changelog Attempt at fixing Android build Fixed broken Android merge
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
What, How & Why?
This concludes our initial implementation towards JSI, enabling support for the Hermes JS engine.
☑️ ToDos
Compatibility
label is updated or copied from previous entryBreaking
label has been applied or is not necessary